public class SchemaProp extends Object implements com.facebook.thrift.TBase, Serializable, Cloneable, Comparable<SchemaProp>
| Modifier and Type | Class and Description |
|---|---|
static class |
SchemaProp.Builder |
| Modifier and Type | Field and Description |
|---|---|
byte[] |
comment |
static int |
COMMENT |
static Map<Integer,com.facebook.thrift.meta_data.FieldMetaData> |
metaDataMap |
byte[] |
ttl_col |
static int |
TTL_COL |
long |
ttl_duration |
static int |
TTL_DURATION |
| Constructor and Description |
|---|
SchemaProp() |
SchemaProp(long ttl_duration,
byte[] ttl_col,
byte[] comment) |
SchemaProp(SchemaProp other)
Performs a deep copy on other.
|
| Modifier and Type | Method and Description |
|---|---|
static SchemaProp.Builder |
builder() |
int |
compareTo(SchemaProp other) |
SchemaProp |
deepCopy()
Returns a copy of `this`.
|
boolean |
equals(Object _that) |
byte[] |
getComment() |
Object |
getFieldValue(int fieldID) |
byte[] |
getTtl_col() |
long |
getTtl_duration() |
int |
hashCode() |
boolean |
isSetComment() |
boolean |
isSetTtl_col() |
boolean |
isSetTtl_duration() |
void |
read(com.facebook.thrift.protocol.TProtocol iprot)
Reads the TObject from the given input protocol.
|
SchemaProp |
setComment(byte[] comment) |
void |
setCommentIsSet(boolean __value) |
void |
setFieldValue(int fieldID,
Object __value) |
SchemaProp |
setTtl_col(byte[] ttl_col) |
void |
setTtl_colIsSet(boolean __value) |
SchemaProp |
setTtl_duration(long ttl_duration) |
void |
setTtl_durationIsSet(boolean __value) |
String |
toString() |
String |
toString(int indent,
boolean prettyPrint)
Creates an indented String representation for pretty printing
|
void |
unsetComment() |
void |
unsetTtl_col() |
void |
unsetTtl_duration() |
void |
validate() |
void |
write(com.facebook.thrift.protocol.TProtocol oprot)
Writes the objects out to the protocol
|
public long ttl_duration
public byte[] ttl_col
public byte[] comment
public static final int TTL_DURATION
public static final int TTL_COL
public static final int COMMENT
public SchemaProp()
public SchemaProp(long ttl_duration,
byte[] ttl_col,
byte[] comment)
public SchemaProp(SchemaProp other)
public static SchemaProp.Builder builder()
public SchemaProp deepCopy()
com.facebook.thrift.TBasex.getClass() == x.deepCopy().getClass() should be true for any
TBase.deepCopy in interface com.facebook.thrift.TBasepublic long getTtl_duration()
public SchemaProp setTtl_duration(long ttl_duration)
public void unsetTtl_duration()
public boolean isSetTtl_duration()
public void setTtl_durationIsSet(boolean __value)
public byte[] getTtl_col()
public SchemaProp setTtl_col(byte[] ttl_col)
public void unsetTtl_col()
public boolean isSetTtl_col()
public void setTtl_colIsSet(boolean __value)
public byte[] getComment()
public SchemaProp setComment(byte[] comment)
public void unsetComment()
public boolean isSetComment()
public void setCommentIsSet(boolean __value)
public void setFieldValue(int fieldID,
Object __value)
public Object getFieldValue(int fieldID)
public int compareTo(SchemaProp other)
compareTo in interface Comparable<SchemaProp>public void read(com.facebook.thrift.protocol.TProtocol iprot)
throws com.facebook.thrift.TException
com.facebook.thrift.TBaseread in interface com.facebook.thrift.TBaseiprot - Input protocolcom.facebook.thrift.TExceptionpublic void write(com.facebook.thrift.protocol.TProtocol oprot)
throws com.facebook.thrift.TException
com.facebook.thrift.TBasewrite in interface com.facebook.thrift.TBaseoprot - Output protocolcom.facebook.thrift.TExceptionpublic String toString(int indent, boolean prettyPrint)
com.facebook.thrift.TBasetoString in interface com.facebook.thrift.TBaseindent - The level of indentation desiredprettyPrint - Set pretty printing on/offpublic void validate()
throws com.facebook.thrift.TException
com.facebook.thrift.TExceptionCopyright © 2022. All rights reserved.