Package ai.heavy.thrift.server
Class TColumnData
- java.lang.Object
-
- ai.heavy.thrift.server.TColumnData
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<TColumnData>,org.apache.thrift.TBase<TColumnData,TColumnData._Fields>,org.apache.thrift.TSerializable
public class TColumnData extends Object implements org.apache.thrift.TBase<TColumnData,TColumnData._Fields>, Serializable, Cloneable, Comparable<TColumnData>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTColumnData._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Constructor Summary
Constructors Constructor Description TColumnData()TColumnData(TColumnData other)Performs a deep copy on other.TColumnData(List<Long> int_col, List<Double> real_col, List<String> str_col, List<TColumn> arr_col)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddToArr_col(TColumn elem)voidaddToInt_col(long elem)voidaddToReal_col(double elem)voidaddToStr_col(String elem)voidclear()intcompareTo(TColumnData other)TColumnDatadeepCopy()booleanequals(TColumnData that)booleanequals(Object that)TColumnData._FieldsfieldForId(int fieldId)List<TColumn>getArr_col()Iterator<TColumn>getArr_colIterator()intgetArr_colSize()ObjectgetFieldValue(TColumnData._Fields field)List<Long>getInt_col()Iterator<Long>getInt_colIterator()intgetInt_colSize()List<Double>getReal_col()Iterator<Double>getReal_colIterator()intgetReal_colSize()List<String>getStr_col()Iterator<String>getStr_colIterator()intgetStr_colSize()inthashCode()booleanisSet(TColumnData._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetArr_col()Returns true if field arr_col is set (has been assigned a value) and false otherwisebooleanisSetInt_col()Returns true if field int_col is set (has been assigned a value) and false otherwisebooleanisSetReal_col()Returns true if field real_col is set (has been assigned a value) and false otherwisebooleanisSetStr_col()Returns true if field str_col is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)TColumnDatasetArr_col(List<TColumn> arr_col)voidsetArr_colIsSet(boolean value)voidsetFieldValue(TColumnData._Fields field, Object value)TColumnDatasetInt_col(List<Long> int_col)voidsetInt_colIsSet(boolean value)TColumnDatasetReal_col(List<Double> real_col)voidsetReal_colIsSet(boolean value)TColumnDatasetStr_col(List<String> str_col)voidsetStr_colIsSet(boolean value)StringtoString()voidunsetArr_col()voidunsetInt_col()voidunsetReal_col()voidunsetStr_col()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Method Detail
-
deepCopy
public TColumnData deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<TColumnData,TColumnData._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.thrift.TBase<TColumnData,TColumnData._Fields>
-
getInt_colSize
public int getInt_colSize()
-
addToInt_col
public void addToInt_col(long elem)
-
setInt_col
public TColumnData setInt_col(List<Long> int_col)
-
unsetInt_col
public void unsetInt_col()
-
isSetInt_col
public boolean isSetInt_col()
Returns true if field int_col is set (has been assigned a value) and false otherwise
-
setInt_colIsSet
public void setInt_colIsSet(boolean value)
-
getReal_colSize
public int getReal_colSize()
-
addToReal_col
public void addToReal_col(double elem)
-
setReal_col
public TColumnData setReal_col(List<Double> real_col)
-
unsetReal_col
public void unsetReal_col()
-
isSetReal_col
public boolean isSetReal_col()
Returns true if field real_col is set (has been assigned a value) and false otherwise
-
setReal_colIsSet
public void setReal_colIsSet(boolean value)
-
getStr_colSize
public int getStr_colSize()
-
addToStr_col
public void addToStr_col(String elem)
-
setStr_col
public TColumnData setStr_col(List<String> str_col)
-
unsetStr_col
public void unsetStr_col()
-
isSetStr_col
public boolean isSetStr_col()
Returns true if field str_col is set (has been assigned a value) and false otherwise
-
setStr_colIsSet
public void setStr_colIsSet(boolean value)
-
getArr_colSize
public int getArr_colSize()
-
addToArr_col
public void addToArr_col(TColumn elem)
-
setArr_col
public TColumnData setArr_col(List<TColumn> arr_col)
-
unsetArr_col
public void unsetArr_col()
-
isSetArr_col
public boolean isSetArr_col()
Returns true if field arr_col is set (has been assigned a value) and false otherwise
-
setArr_colIsSet
public void setArr_colIsSet(boolean value)
-
setFieldValue
public void setFieldValue(TColumnData._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<TColumnData,TColumnData._Fields>
-
getFieldValue
public Object getFieldValue(TColumnData._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<TColumnData,TColumnData._Fields>
-
isSet
public boolean isSet(TColumnData._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<TColumnData,TColumnData._Fields>
-
equals
public boolean equals(TColumnData that)
-
compareTo
public int compareTo(TColumnData other)
- Specified by:
compareToin interfaceComparable<TColumnData>
-
fieldForId
public TColumnData._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<TColumnData,TColumnData._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
-
-