Package org.apache.iotdb.mpp.rpc.thrift
Class TFragmentInstanceId
- java.lang.Object
-
- org.apache.iotdb.mpp.rpc.thrift.TFragmentInstanceId
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<TFragmentInstanceId>,org.apache.thrift.TBase<TFragmentInstanceId,TFragmentInstanceId._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.1)", date="2023-12-27") public class TFragmentInstanceId extends Object implements org.apache.thrift.TBase<TFragmentInstanceId,TFragmentInstanceId._Fields>, Serializable, Cloneable, Comparable<TFragmentInstanceId>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTFragmentInstanceId._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Field Summary
Fields Modifier and Type Field Description intfragmentIdStringinstanceIdstatic Map<TFragmentInstanceId._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapStringqueryId
-
Constructor Summary
Constructors Constructor Description TFragmentInstanceId()TFragmentInstanceId(String queryId, int fragmentId, String instanceId)TFragmentInstanceId(TFragmentInstanceId other)Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()intcompareTo(TFragmentInstanceId other)TFragmentInstanceIddeepCopy()booleanequals(Object that)booleanequals(TFragmentInstanceId that)TFragmentInstanceId._FieldsfieldForId(int fieldId)ObjectgetFieldValue(TFragmentInstanceId._Fields field)intgetFragmentId()StringgetInstanceId()StringgetQueryId()inthashCode()booleanisSet(TFragmentInstanceId._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetFragmentId()Returns true if field fragmentId is set (has been assigned a value) and false otherwisebooleanisSetInstanceId()Returns true if field instanceId is set (has been assigned a value) and false otherwisebooleanisSetQueryId()Returns true if field queryId is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)voidsetFieldValue(TFragmentInstanceId._Fields field, Object value)TFragmentInstanceIdsetFragmentId(int fragmentId)voidsetFragmentIdIsSet(boolean value)TFragmentInstanceIdsetInstanceId(String instanceId)voidsetInstanceIdIsSet(boolean value)TFragmentInstanceIdsetQueryId(String queryId)voidsetQueryIdIsSet(boolean value)StringtoString()voidunsetFragmentId()voidunsetInstanceId()voidunsetQueryId()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
queryId
public String queryId
-
fragmentId
public int fragmentId
-
instanceId
public String instanceId
-
metaDataMap
public static final Map<TFragmentInstanceId._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
TFragmentInstanceId
public TFragmentInstanceId()
-
TFragmentInstanceId
public TFragmentInstanceId(TFragmentInstanceId other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public TFragmentInstanceId deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<TFragmentInstanceId,TFragmentInstanceId._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.thrift.TBase<TFragmentInstanceId,TFragmentInstanceId._Fields>
-
getQueryId
public String getQueryId()
-
setQueryId
public TFragmentInstanceId setQueryId(String queryId)
-
unsetQueryId
public void unsetQueryId()
-
isSetQueryId
public boolean isSetQueryId()
Returns true if field queryId is set (has been assigned a value) and false otherwise
-
setQueryIdIsSet
public void setQueryIdIsSet(boolean value)
-
getFragmentId
public int getFragmentId()
-
setFragmentId
public TFragmentInstanceId setFragmentId(int fragmentId)
-
unsetFragmentId
public void unsetFragmentId()
-
isSetFragmentId
public boolean isSetFragmentId()
Returns true if field fragmentId is set (has been assigned a value) and false otherwise
-
setFragmentIdIsSet
public void setFragmentIdIsSet(boolean value)
-
getInstanceId
public String getInstanceId()
-
setInstanceId
public TFragmentInstanceId setInstanceId(String instanceId)
-
unsetInstanceId
public void unsetInstanceId()
-
isSetInstanceId
public boolean isSetInstanceId()
Returns true if field instanceId is set (has been assigned a value) and false otherwise
-
setInstanceIdIsSet
public void setInstanceIdIsSet(boolean value)
-
setFieldValue
public void setFieldValue(TFragmentInstanceId._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<TFragmentInstanceId,TFragmentInstanceId._Fields>
-
getFieldValue
public Object getFieldValue(TFragmentInstanceId._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<TFragmentInstanceId,TFragmentInstanceId._Fields>
-
isSet
public boolean isSet(TFragmentInstanceId._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<TFragmentInstanceId,TFragmentInstanceId._Fields>
-
equals
public boolean equals(TFragmentInstanceId that)
-
compareTo
public int compareTo(TFragmentInstanceId other)
- Specified by:
compareToin interfaceComparable<TFragmentInstanceId>
-
fieldForId
public TFragmentInstanceId._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<TFragmentInstanceId,TFragmentInstanceId._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
-
-