Package org.apache.iotdb.mpp.rpc.thrift
Class TGetDataBlockResponse
- java.lang.Object
-
- org.apache.iotdb.mpp.rpc.thrift.TGetDataBlockResponse
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<TGetDataBlockResponse>,org.apache.thrift.TBase<TGetDataBlockResponse,TGetDataBlockResponse._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.1)", date="2023-12-27") public class TGetDataBlockResponse extends Object implements org.apache.thrift.TBase<TGetDataBlockResponse,TGetDataBlockResponse._Fields>, Serializable, Cloneable, Comparable<TGetDataBlockResponse>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTGetDataBlockResponse._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<TGetDataBlockResponse._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapList<ByteBuffer>tsBlocks
-
Constructor Summary
Constructors Constructor Description TGetDataBlockResponse()TGetDataBlockResponse(List<ByteBuffer> tsBlocks)TGetDataBlockResponse(TGetDataBlockResponse other)Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddToTsBlocks(ByteBuffer elem)voidclear()intcompareTo(TGetDataBlockResponse other)TGetDataBlockResponsedeepCopy()booleanequals(Object that)booleanequals(TGetDataBlockResponse that)TGetDataBlockResponse._FieldsfieldForId(int fieldId)ObjectgetFieldValue(TGetDataBlockResponse._Fields field)List<ByteBuffer>getTsBlocks()Iterator<ByteBuffer>getTsBlocksIterator()intgetTsBlocksSize()inthashCode()booleanisSet(TGetDataBlockResponse._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetTsBlocks()Returns true if field tsBlocks is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)voidsetFieldValue(TGetDataBlockResponse._Fields field, Object value)TGetDataBlockResponsesetTsBlocks(List<ByteBuffer> tsBlocks)voidsetTsBlocksIsSet(boolean value)StringtoString()voidunsetTsBlocks()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
tsBlocks
public List<ByteBuffer> tsBlocks
-
metaDataMap
public static final Map<TGetDataBlockResponse._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
TGetDataBlockResponse
public TGetDataBlockResponse()
-
TGetDataBlockResponse
public TGetDataBlockResponse(List<ByteBuffer> tsBlocks)
-
TGetDataBlockResponse
public TGetDataBlockResponse(TGetDataBlockResponse other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public TGetDataBlockResponse deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<TGetDataBlockResponse,TGetDataBlockResponse._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.thrift.TBase<TGetDataBlockResponse,TGetDataBlockResponse._Fields>
-
getTsBlocksSize
public int getTsBlocksSize()
-
getTsBlocksIterator
public Iterator<ByteBuffer> getTsBlocksIterator()
-
addToTsBlocks
public void addToTsBlocks(ByteBuffer elem)
-
getTsBlocks
public List<ByteBuffer> getTsBlocks()
-
setTsBlocks
public TGetDataBlockResponse setTsBlocks(List<ByteBuffer> tsBlocks)
-
unsetTsBlocks
public void unsetTsBlocks()
-
isSetTsBlocks
public boolean isSetTsBlocks()
Returns true if field tsBlocks is set (has been assigned a value) and false otherwise
-
setTsBlocksIsSet
public void setTsBlocksIsSet(boolean value)
-
setFieldValue
public void setFieldValue(TGetDataBlockResponse._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<TGetDataBlockResponse,TGetDataBlockResponse._Fields>
-
getFieldValue
public Object getFieldValue(TGetDataBlockResponse._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<TGetDataBlockResponse,TGetDataBlockResponse._Fields>
-
isSet
public boolean isSet(TGetDataBlockResponse._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<TGetDataBlockResponse,TGetDataBlockResponse._Fields>
-
equals
public boolean equals(TGetDataBlockResponse that)
-
compareTo
public int compareTo(TGetDataBlockResponse other)
- Specified by:
compareToin interfaceComparable<TGetDataBlockResponse>
-
fieldForId
public TGetDataBlockResponse._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<TGetDataBlockResponse,TGetDataBlockResponse._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
-
-