Class TGetLocationForTriggerResp
- java.lang.Object
-
- org.apache.iotdb.confignode.rpc.thrift.TGetLocationForTriggerResp
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<TGetLocationForTriggerResp>,org.apache.thrift.TBase<TGetLocationForTriggerResp,TGetLocationForTriggerResp._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.1)", date="2024-04-19") public class TGetLocationForTriggerResp extends Object implements org.apache.thrift.TBase<TGetLocationForTriggerResp,TGetLocationForTriggerResp._Fields>, Serializable, Cloneable, Comparable<TGetLocationForTriggerResp>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTGetLocationForTriggerResp._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Field Summary
Fields Modifier and Type Field Description TDataNodeLocationdataNodeLocationstatic Map<TGetLocationForTriggerResp._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapTSStatusstatus
-
Constructor Summary
Constructors Constructor Description TGetLocationForTriggerResp()TGetLocationForTriggerResp(TSStatus status)TGetLocationForTriggerResp(TGetLocationForTriggerResp other)Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()intcompareTo(TGetLocationForTriggerResp other)TGetLocationForTriggerRespdeepCopy()booleanequals(Object that)booleanequals(TGetLocationForTriggerResp that)TGetLocationForTriggerResp._FieldsfieldForId(int fieldId)TDataNodeLocationgetDataNodeLocation()ObjectgetFieldValue(TGetLocationForTriggerResp._Fields field)TSStatusgetStatus()inthashCode()booleanisSet(TGetLocationForTriggerResp._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetDataNodeLocation()Returns true if field dataNodeLocation is set (has been assigned a value) and false otherwisebooleanisSetStatus()Returns true if field status is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)TGetLocationForTriggerRespsetDataNodeLocation(TDataNodeLocation dataNodeLocation)voidsetDataNodeLocationIsSet(boolean value)voidsetFieldValue(TGetLocationForTriggerResp._Fields field, Object value)TGetLocationForTriggerRespsetStatus(TSStatus status)voidsetStatusIsSet(boolean value)StringtoString()voidunsetDataNodeLocation()voidunsetStatus()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
status
public TSStatus status
-
dataNodeLocation
public TDataNodeLocation dataNodeLocation
-
metaDataMap
public static final Map<TGetLocationForTriggerResp._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
TGetLocationForTriggerResp
public TGetLocationForTriggerResp()
-
TGetLocationForTriggerResp
public TGetLocationForTriggerResp(TSStatus status)
-
TGetLocationForTriggerResp
public TGetLocationForTriggerResp(TGetLocationForTriggerResp other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public TGetLocationForTriggerResp deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<TGetLocationForTriggerResp,TGetLocationForTriggerResp._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.thrift.TBase<TGetLocationForTriggerResp,TGetLocationForTriggerResp._Fields>
-
getStatus
public TSStatus getStatus()
-
setStatus
public TGetLocationForTriggerResp setStatus(TSStatus status)
-
unsetStatus
public void unsetStatus()
-
isSetStatus
public boolean isSetStatus()
Returns true if field status is set (has been assigned a value) and false otherwise
-
setStatusIsSet
public void setStatusIsSet(boolean value)
-
getDataNodeLocation
public TDataNodeLocation getDataNodeLocation()
-
setDataNodeLocation
public TGetLocationForTriggerResp setDataNodeLocation(TDataNodeLocation dataNodeLocation)
-
unsetDataNodeLocation
public void unsetDataNodeLocation()
-
isSetDataNodeLocation
public boolean isSetDataNodeLocation()
Returns true if field dataNodeLocation is set (has been assigned a value) and false otherwise
-
setDataNodeLocationIsSet
public void setDataNodeLocationIsSet(boolean value)
-
setFieldValue
public void setFieldValue(TGetLocationForTriggerResp._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<TGetLocationForTriggerResp,TGetLocationForTriggerResp._Fields>
-
getFieldValue
public Object getFieldValue(TGetLocationForTriggerResp._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<TGetLocationForTriggerResp,TGetLocationForTriggerResp._Fields>
-
isSet
public boolean isSet(TGetLocationForTriggerResp._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<TGetLocationForTriggerResp,TGetLocationForTriggerResp._Fields>
-
equals
public boolean equals(TGetLocationForTriggerResp that)
-
compareTo
public int compareTo(TGetLocationForTriggerResp other)
- Specified by:
compareToin interfaceComparable<TGetLocationForTriggerResp>
-
fieldForId
public TGetLocationForTriggerResp._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<TGetLocationForTriggerResp,TGetLocationForTriggerResp._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
-
-