Package ai.heavy.thrift.server
Class TColSlotContext
- java.lang.Object
-
- ai.heavy.thrift.server.TColSlotContext
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<TColSlotContext>,org.apache.thrift.TBase<TColSlotContext,TColSlotContext._Fields>,org.apache.thrift.TSerializable
public class TColSlotContext extends Object implements org.apache.thrift.TBase<TColSlotContext,TColSlotContext._Fields>, Serializable, Cloneable, Comparable<TColSlotContext>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTColSlotContext._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<List<Integer>>col_to_slot_mapstatic Map<TColSlotContext._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapList<TSlotSize>slot_sizes
-
Constructor Summary
Constructors Constructor Description TColSlotContext()TColSlotContext(TColSlotContext other)Performs a deep copy on other.TColSlotContext(List<TSlotSize> slot_sizes, List<List<Integer>> col_to_slot_map)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddToCol_to_slot_map(List<Integer> elem)voidaddToSlot_sizes(TSlotSize elem)voidclear()intcompareTo(TColSlotContext other)TColSlotContextdeepCopy()booleanequals(TColSlotContext that)booleanequals(Object that)TColSlotContext._FieldsfieldForId(int fieldId)List<List<Integer>>getCol_to_slot_map()Iterator<List<Integer>>getCol_to_slot_mapIterator()intgetCol_to_slot_mapSize()ObjectgetFieldValue(TColSlotContext._Fields field)List<TSlotSize>getSlot_sizes()Iterator<TSlotSize>getSlot_sizesIterator()intgetSlot_sizesSize()inthashCode()booleanisSet(TColSlotContext._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetCol_to_slot_map()Returns true if field col_to_slot_map is set (has been assigned a value) and false otherwisebooleanisSetSlot_sizes()Returns true if field slot_sizes is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)TColSlotContextsetCol_to_slot_map(List<List<Integer>> col_to_slot_map)voidsetCol_to_slot_mapIsSet(boolean value)voidsetFieldValue(TColSlotContext._Fields field, Object value)TColSlotContextsetSlot_sizes(List<TSlotSize> slot_sizes)voidsetSlot_sizesIsSet(boolean value)StringtoString()voidunsetCol_to_slot_map()voidunsetSlot_sizes()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Method Detail
-
deepCopy
public TColSlotContext deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<TColSlotContext,TColSlotContext._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.thrift.TBase<TColSlotContext,TColSlotContext._Fields>
-
getSlot_sizesSize
public int getSlot_sizesSize()
-
addToSlot_sizes
public void addToSlot_sizes(TSlotSize elem)
-
setSlot_sizes
public TColSlotContext setSlot_sizes(List<TSlotSize> slot_sizes)
-
unsetSlot_sizes
public void unsetSlot_sizes()
-
isSetSlot_sizes
public boolean isSetSlot_sizes()
Returns true if field slot_sizes is set (has been assigned a value) and false otherwise
-
setSlot_sizesIsSet
public void setSlot_sizesIsSet(boolean value)
-
getCol_to_slot_mapSize
public int getCol_to_slot_mapSize()
-
setCol_to_slot_map
public TColSlotContext setCol_to_slot_map(List<List<Integer>> col_to_slot_map)
-
unsetCol_to_slot_map
public void unsetCol_to_slot_map()
-
isSetCol_to_slot_map
public boolean isSetCol_to_slot_map()
Returns true if field col_to_slot_map is set (has been assigned a value) and false otherwise
-
setCol_to_slot_mapIsSet
public void setCol_to_slot_mapIsSet(boolean value)
-
setFieldValue
public void setFieldValue(TColSlotContext._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<TColSlotContext,TColSlotContext._Fields>
-
getFieldValue
public Object getFieldValue(TColSlotContext._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<TColSlotContext,TColSlotContext._Fields>
-
isSet
public boolean isSet(TColSlotContext._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<TColSlotContext,TColSlotContext._Fields>
-
equals
public boolean equals(TColSlotContext that)
-
compareTo
public int compareTo(TColSlotContext other)
- Specified by:
compareToin interfaceComparable<TColSlotContext>
-
fieldForId
public TColSlotContext._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<TColSlotContext,TColSlotContext._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
-
-