Package org.apache.iotdb.mpp.rpc.thrift
Class TFragmentInstance
- java.lang.Object
-
- org.apache.iotdb.mpp.rpc.thrift.TFragmentInstance
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<TFragmentInstance>,org.apache.thrift.TBase<TFragmentInstance,TFragmentInstance._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.1)", date="2023-12-27") public class TFragmentInstance extends Object implements org.apache.thrift.TBase<TFragmentInstance,TFragmentInstance._Fields>, Serializable, Cloneable, Comparable<TFragmentInstance>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTFragmentInstance._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Field Summary
Fields Modifier and Type Field Description ByteBufferbodystatic Map<TFragmentInstance._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMap
-
Constructor Summary
Constructors Constructor Description TFragmentInstance()TFragmentInstance(ByteBuffer body)TFragmentInstance(TFragmentInstance other)Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ByteBufferbufferForBody()voidclear()intcompareTo(TFragmentInstance other)TFragmentInstancedeepCopy()booleanequals(Object that)booleanequals(TFragmentInstance that)TFragmentInstance._FieldsfieldForId(int fieldId)byte[]getBody()ObjectgetFieldValue(TFragmentInstance._Fields field)inthashCode()booleanisSet(TFragmentInstance._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetBody()Returns true if field body is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)TFragmentInstancesetBody(byte[] body)TFragmentInstancesetBody(ByteBuffer body)voidsetBodyIsSet(boolean value)voidsetFieldValue(TFragmentInstance._Fields field, Object value)StringtoString()voidunsetBody()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
body
public ByteBuffer body
-
metaDataMap
public static final Map<TFragmentInstance._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
TFragmentInstance
public TFragmentInstance()
-
TFragmentInstance
public TFragmentInstance(ByteBuffer body)
-
TFragmentInstance
public TFragmentInstance(TFragmentInstance other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public TFragmentInstance deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<TFragmentInstance,TFragmentInstance._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.thrift.TBase<TFragmentInstance,TFragmentInstance._Fields>
-
getBody
public byte[] getBody()
-
bufferForBody
public ByteBuffer bufferForBody()
-
setBody
public TFragmentInstance setBody(byte[] body)
-
setBody
public TFragmentInstance setBody(ByteBuffer body)
-
unsetBody
public void unsetBody()
-
isSetBody
public boolean isSetBody()
Returns true if field body is set (has been assigned a value) and false otherwise
-
setBodyIsSet
public void setBodyIsSet(boolean value)
-
setFieldValue
public void setFieldValue(TFragmentInstance._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<TFragmentInstance,TFragmentInstance._Fields>
-
getFieldValue
public Object getFieldValue(TFragmentInstance._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<TFragmentInstance,TFragmentInstance._Fields>
-
isSet
public boolean isSet(TFragmentInstance._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<TFragmentInstance,TFragmentInstance._Fields>
-
equals
public boolean equals(TFragmentInstance that)
-
compareTo
public int compareTo(TFragmentInstance other)
- Specified by:
compareToin interfaceComparable<TFragmentInstance>
-
fieldForId
public TFragmentInstance._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<TFragmentInstance,TFragmentInstance._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
-
-