Package ai.heavy.thrift.server
Class TTableGeneration
- java.lang.Object
-
- ai.heavy.thrift.server.TTableGeneration
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<TTableGeneration>,org.apache.thrift.TBase<TTableGeneration,TTableGeneration._Fields>,org.apache.thrift.TSerializable
public class TTableGeneration extends Object implements org.apache.thrift.TBase<TTableGeneration,TTableGeneration._Fields>, Serializable, Cloneable, Comparable<TTableGeneration>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTTableGeneration._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Field Summary
Fields Modifier and Type Field Description static Map<TTableGeneration._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMaplongstart_rowidinttable_idlongtuple_count
-
Constructor Summary
Constructors Constructor Description TTableGeneration()TTableGeneration(int table_id, long tuple_count, long start_rowid)TTableGeneration(TTableGeneration other)Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()intcompareTo(TTableGeneration other)TTableGenerationdeepCopy()booleanequals(TTableGeneration that)booleanequals(Object that)TTableGeneration._FieldsfieldForId(int fieldId)ObjectgetFieldValue(TTableGeneration._Fields field)longgetStart_rowid()intgetTable_id()longgetTuple_count()inthashCode()booleanisSet(TTableGeneration._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetStart_rowid()Returns true if field start_rowid 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 otherwisebooleanisSetTuple_count()Returns true if field tuple_count is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)voidsetFieldValue(TTableGeneration._Fields field, Object value)TTableGenerationsetStart_rowid(long start_rowid)voidsetStart_rowidIsSet(boolean value)TTableGenerationsetTable_id(int table_id)voidsetTable_idIsSet(boolean value)TTableGenerationsetTuple_count(long tuple_count)voidsetTuple_countIsSet(boolean value)StringtoString()voidunsetStart_rowid()voidunsetTable_id()voidunsetTuple_count()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
table_id
public int table_id
-
tuple_count
public long tuple_count
-
start_rowid
public long start_rowid
-
metaDataMap
public static final Map<TTableGeneration._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
TTableGeneration
public TTableGeneration()
-
TTableGeneration
public TTableGeneration(int table_id, long tuple_count, long start_rowid)
-
TTableGeneration
public TTableGeneration(TTableGeneration other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public TTableGeneration deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<TTableGeneration,TTableGeneration._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.thrift.TBase<TTableGeneration,TTableGeneration._Fields>
-
getTable_id
public int getTable_id()
-
setTable_id
public TTableGeneration 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)
-
getTuple_count
public long getTuple_count()
-
setTuple_count
public TTableGeneration setTuple_count(long tuple_count)
-
unsetTuple_count
public void unsetTuple_count()
-
isSetTuple_count
public boolean isSetTuple_count()
Returns true if field tuple_count is set (has been assigned a value) and false otherwise
-
setTuple_countIsSet
public void setTuple_countIsSet(boolean value)
-
getStart_rowid
public long getStart_rowid()
-
setStart_rowid
public TTableGeneration setStart_rowid(long start_rowid)
-
unsetStart_rowid
public void unsetStart_rowid()
-
isSetStart_rowid
public boolean isSetStart_rowid()
Returns true if field start_rowid is set (has been assigned a value) and false otherwise
-
setStart_rowidIsSet
public void setStart_rowidIsSet(boolean value)
-
setFieldValue
public void setFieldValue(TTableGeneration._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<TTableGeneration,TTableGeneration._Fields>
-
getFieldValue
public Object getFieldValue(TTableGeneration._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<TTableGeneration,TTableGeneration._Fields>
-
isSet
public boolean isSet(TTableGeneration._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<TTableGeneration,TTableGeneration._Fields>
-
equals
public boolean equals(TTableGeneration that)
-
compareTo
public int compareTo(TTableGeneration other)
- Specified by:
compareToin interfaceComparable<TTableGeneration>
-
fieldForId
public TTableGeneration._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<TTableGeneration,TTableGeneration._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
-
-