Package ai.heavy.thrift.server
Class TTableEpochInfo
- java.lang.Object
-
- ai.heavy.thrift.server.TTableEpochInfo
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<TTableEpochInfo>,org.apache.thrift.TBase<TTableEpochInfo,TTableEpochInfo._Fields>,org.apache.thrift.TSerializable
public class TTableEpochInfo extends Object implements org.apache.thrift.TBase<TTableEpochInfo,TTableEpochInfo._Fields>, Serializable, Cloneable, Comparable<TTableEpochInfo>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTTableEpochInfo._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Field Summary
Fields Modifier and Type Field Description intleaf_indexstatic Map<TTableEpochInfo._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapinttable_epochinttable_id
-
Constructor Summary
Constructors Constructor Description TTableEpochInfo()TTableEpochInfo(int table_id, int table_epoch, int leaf_index)TTableEpochInfo(TTableEpochInfo other)Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()intcompareTo(TTableEpochInfo other)TTableEpochInfodeepCopy()booleanequals(TTableEpochInfo that)booleanequals(Object that)TTableEpochInfo._FieldsfieldForId(int fieldId)ObjectgetFieldValue(TTableEpochInfo._Fields field)intgetLeaf_index()intgetTable_epoch()intgetTable_id()inthashCode()booleanisSet(TTableEpochInfo._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetLeaf_index()Returns true if field leaf_index is set (has been assigned a value) and false otherwisebooleanisSetTable_epoch()Returns true if field table_epoch is set (has been assigned a value) and false otherwisebooleanisSetTable_id()Returns true if field table_id is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)voidsetFieldValue(TTableEpochInfo._Fields field, Object value)TTableEpochInfosetLeaf_index(int leaf_index)voidsetLeaf_indexIsSet(boolean value)TTableEpochInfosetTable_epoch(int table_epoch)voidsetTable_epochIsSet(boolean value)TTableEpochInfosetTable_id(int table_id)voidsetTable_idIsSet(boolean value)StringtoString()voidunsetLeaf_index()voidunsetTable_epoch()voidunsetTable_id()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
table_id
public int table_id
-
table_epoch
public int table_epoch
-
leaf_index
public int leaf_index
-
metaDataMap
public static final Map<TTableEpochInfo._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
TTableEpochInfo
public TTableEpochInfo()
-
TTableEpochInfo
public TTableEpochInfo(int table_id, int table_epoch, int leaf_index)
-
TTableEpochInfo
public TTableEpochInfo(TTableEpochInfo other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public TTableEpochInfo deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<TTableEpochInfo,TTableEpochInfo._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.thrift.TBase<TTableEpochInfo,TTableEpochInfo._Fields>
-
getTable_id
public int getTable_id()
-
setTable_id
public TTableEpochInfo setTable_id(int table_id)
-
unsetTable_id
public void unsetTable_id()
-
isSetTable_id
public boolean isSetTable_id()
Returns true if field table_id is set (has been assigned a value) and false otherwise
-
setTable_idIsSet
public void setTable_idIsSet(boolean value)
-
getTable_epoch
public int getTable_epoch()
-
setTable_epoch
public TTableEpochInfo setTable_epoch(int table_epoch)
-
unsetTable_epoch
public void unsetTable_epoch()
-
isSetTable_epoch
public boolean isSetTable_epoch()
Returns true if field table_epoch is set (has been assigned a value) and false otherwise
-
setTable_epochIsSet
public void setTable_epochIsSet(boolean value)
-
getLeaf_index
public int getLeaf_index()
-
setLeaf_index
public TTableEpochInfo setLeaf_index(int leaf_index)
-
unsetLeaf_index
public void unsetLeaf_index()
-
isSetLeaf_index
public boolean isSetLeaf_index()
Returns true if field leaf_index is set (has been assigned a value) and false otherwise
-
setLeaf_indexIsSet
public void setLeaf_indexIsSet(boolean value)
-
setFieldValue
public void setFieldValue(TTableEpochInfo._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<TTableEpochInfo,TTableEpochInfo._Fields>
-
getFieldValue
public Object getFieldValue(TTableEpochInfo._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<TTableEpochInfo,TTableEpochInfo._Fields>
-
isSet
public boolean isSet(TTableEpochInfo._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise- Specified by:
isSetin interfaceorg.apache.thrift.TBase<TTableEpochInfo,TTableEpochInfo._Fields>
-
equals
public boolean equals(TTableEpochInfo that)
-
compareTo
public int compareTo(TTableEpochInfo other)
- Specified by:
compareToin interfaceComparable<TTableEpochInfo>
-
fieldForId
public TTableEpochInfo._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<TTableEpochInfo,TTableEpochInfo._Fields>
-
read
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException- Specified by:
readin interfaceorg.apache.thrift.TSerializable- Throws:
org.apache.thrift.TException
-
write
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException- Specified by:
writein interfaceorg.apache.thrift.TSerializable- Throws:
org.apache.thrift.TException
-
validate
public void validate() throws org.apache.thrift.TException- Throws:
org.apache.thrift.TException
-
-