Package ai.heavy.thrift.server
Class TRow
- java.lang.Object
-
- ai.heavy.thrift.server.TRow
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<TRow>,org.apache.thrift.TBase<TRow,TRow._Fields>,org.apache.thrift.TSerializable
public class TRow extends Object implements org.apache.thrift.TBase<TRow,TRow._Fields>, Serializable, Cloneable, Comparable<TRow>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTRow._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Field Summary
Fields Modifier and Type Field Description List<TDatum>colsstatic Map<TRow._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMap
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddToCols(TDatum elem)voidclear()intcompareTo(TRow other)TRowdeepCopy()booleanequals(TRow that)booleanequals(Object that)TRow._FieldsfieldForId(int fieldId)List<TDatum>getCols()Iterator<TDatum>getColsIterator()intgetColsSize()ObjectgetFieldValue(TRow._Fields field)inthashCode()booleanisSet(TRow._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetCols()Returns true if field cols is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)TRowsetCols(List<TDatum> cols)voidsetColsIsSet(boolean value)voidsetFieldValue(TRow._Fields field, Object value)StringtoString()voidunsetCols()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
metaDataMap
public static final Map<TRow._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Method Detail
-
deepCopy
public TRow deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<TRow,TRow._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.thrift.TBase<TRow,TRow._Fields>
-
getColsSize
public int getColsSize()
-
addToCols
public void addToCols(TDatum elem)
-
unsetCols
public void unsetCols()
-
isSetCols
public boolean isSetCols()
Returns true if field cols is set (has been assigned a value) and false otherwise
-
setColsIsSet
public void setColsIsSet(boolean value)
-
setFieldValue
public void setFieldValue(TRow._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<TRow,TRow._Fields>
-
getFieldValue
public Object getFieldValue(TRow._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<TRow,TRow._Fields>
-
isSet
public boolean isSet(TRow._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<TRow,TRow._Fields>
-
equals
public boolean equals(TRow that)
-
compareTo
public int compareTo(TRow other)
- Specified by:
compareToin interfaceComparable<TRow>
-
fieldForId
public TRow._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<TRow,TRow._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
-
-