Package ai.heavy.thrift.server
Class TDatumVal
- java.lang.Object
-
- ai.heavy.thrift.server.TDatumVal
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<TDatumVal>,org.apache.thrift.TBase<TDatumVal,TDatumVal._Fields>,org.apache.thrift.TSerializable
public class TDatumVal extends Object implements org.apache.thrift.TBase<TDatumVal,TDatumVal._Fields>, Serializable, Cloneable, Comparable<TDatumVal>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTDatumVal._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>arr_vallongint_valstatic Map<TDatumVal._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapdoublereal_valStringstr_val
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddToArr_val(TDatum elem)voidclear()intcompareTo(TDatumVal other)TDatumValdeepCopy()booleanequals(TDatumVal that)booleanequals(Object that)TDatumVal._FieldsfieldForId(int fieldId)List<TDatum>getArr_val()Iterator<TDatum>getArr_valIterator()intgetArr_valSize()ObjectgetFieldValue(TDatumVal._Fields field)longgetInt_val()doublegetReal_val()StringgetStr_val()inthashCode()booleanisSet(TDatumVal._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetArr_val()Returns true if field arr_val is set (has been assigned a value) and false otherwisebooleanisSetInt_val()Returns true if field int_val is set (has been assigned a value) and false otherwisebooleanisSetReal_val()Returns true if field real_val is set (has been assigned a value) and false otherwisebooleanisSetStr_val()Returns true if field str_val is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)TDatumValsetArr_val(List<TDatum> arr_val)voidsetArr_valIsSet(boolean value)voidsetFieldValue(TDatumVal._Fields field, Object value)TDatumValsetInt_val(long int_val)voidsetInt_valIsSet(boolean value)TDatumValsetReal_val(double real_val)voidsetReal_valIsSet(boolean value)TDatumValsetStr_val(String str_val)voidsetStr_valIsSet(boolean value)StringtoString()voidunsetArr_val()voidunsetInt_val()voidunsetReal_val()voidunsetStr_val()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
int_val
public long int_val
-
real_val
public double real_val
-
str_val
public String str_val
-
metaDataMap
public static final Map<TDatumVal._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Method Detail
-
deepCopy
public TDatumVal deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<TDatumVal,TDatumVal._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.thrift.TBase<TDatumVal,TDatumVal._Fields>
-
getInt_val
public long getInt_val()
-
setInt_val
public TDatumVal setInt_val(long int_val)
-
unsetInt_val
public void unsetInt_val()
-
isSetInt_val
public boolean isSetInt_val()
Returns true if field int_val is set (has been assigned a value) and false otherwise
-
setInt_valIsSet
public void setInt_valIsSet(boolean value)
-
getReal_val
public double getReal_val()
-
setReal_val
public TDatumVal setReal_val(double real_val)
-
unsetReal_val
public void unsetReal_val()
-
isSetReal_val
public boolean isSetReal_val()
Returns true if field real_val is set (has been assigned a value) and false otherwise
-
setReal_valIsSet
public void setReal_valIsSet(boolean value)
-
getStr_val
public String getStr_val()
-
unsetStr_val
public void unsetStr_val()
-
isSetStr_val
public boolean isSetStr_val()
Returns true if field str_val is set (has been assigned a value) and false otherwise
-
setStr_valIsSet
public void setStr_valIsSet(boolean value)
-
getArr_valSize
public int getArr_valSize()
-
addToArr_val
public void addToArr_val(TDatum elem)
-
unsetArr_val
public void unsetArr_val()
-
isSetArr_val
public boolean isSetArr_val()
Returns true if field arr_val is set (has been assigned a value) and false otherwise
-
setArr_valIsSet
public void setArr_valIsSet(boolean value)
-
setFieldValue
public void setFieldValue(TDatumVal._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<TDatumVal,TDatumVal._Fields>
-
getFieldValue
public Object getFieldValue(TDatumVal._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<TDatumVal,TDatumVal._Fields>
-
isSet
public boolean isSet(TDatumVal._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<TDatumVal,TDatumVal._Fields>
-
equals
public boolean equals(TDatumVal that)
-
compareTo
public int compareTo(TDatumVal other)
- Specified by:
compareToin interfaceComparable<TDatumVal>
-
fieldForId
public TDatumVal._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<TDatumVal,TDatumVal._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
-
-