Package org.apache.iotdb.mpp.rpc.thrift
Class TUpdateTriggerLocationReq
- java.lang.Object
-
- org.apache.iotdb.mpp.rpc.thrift.TUpdateTriggerLocationReq
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<TUpdateTriggerLocationReq>,org.apache.thrift.TBase<TUpdateTriggerLocationReq,TUpdateTriggerLocationReq._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.1)", date="2023-12-27") public class TUpdateTriggerLocationReq extends Object implements org.apache.thrift.TBase<TUpdateTriggerLocationReq,TUpdateTriggerLocationReq._Fields>, Serializable, Cloneable, Comparable<TUpdateTriggerLocationReq>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTUpdateTriggerLocationReq._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<TUpdateTriggerLocationReq._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapTDataNodeLocationnewLocationStringtriggerName
-
Constructor Summary
Constructors Constructor Description TUpdateTriggerLocationReq()TUpdateTriggerLocationReq(String triggerName, TDataNodeLocation newLocation)TUpdateTriggerLocationReq(TUpdateTriggerLocationReq other)Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()intcompareTo(TUpdateTriggerLocationReq other)TUpdateTriggerLocationReqdeepCopy()booleanequals(Object that)booleanequals(TUpdateTriggerLocationReq that)TUpdateTriggerLocationReq._FieldsfieldForId(int fieldId)ObjectgetFieldValue(TUpdateTriggerLocationReq._Fields field)TDataNodeLocationgetNewLocation()StringgetTriggerName()inthashCode()booleanisSet(TUpdateTriggerLocationReq._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetNewLocation()Returns true if field newLocation is set (has been assigned a value) and false otherwisebooleanisSetTriggerName()Returns true if field triggerName is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)voidsetFieldValue(TUpdateTriggerLocationReq._Fields field, Object value)TUpdateTriggerLocationReqsetNewLocation(TDataNodeLocation newLocation)voidsetNewLocationIsSet(boolean value)TUpdateTriggerLocationReqsetTriggerName(String triggerName)voidsetTriggerNameIsSet(boolean value)StringtoString()voidunsetNewLocation()voidunsetTriggerName()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
triggerName
public String triggerName
-
newLocation
public TDataNodeLocation newLocation
-
metaDataMap
public static final Map<TUpdateTriggerLocationReq._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
TUpdateTriggerLocationReq
public TUpdateTriggerLocationReq()
-
TUpdateTriggerLocationReq
public TUpdateTriggerLocationReq(String triggerName, TDataNodeLocation newLocation)
-
TUpdateTriggerLocationReq
public TUpdateTriggerLocationReq(TUpdateTriggerLocationReq other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public TUpdateTriggerLocationReq deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<TUpdateTriggerLocationReq,TUpdateTriggerLocationReq._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.thrift.TBase<TUpdateTriggerLocationReq,TUpdateTriggerLocationReq._Fields>
-
getTriggerName
public String getTriggerName()
-
setTriggerName
public TUpdateTriggerLocationReq setTriggerName(String triggerName)
-
unsetTriggerName
public void unsetTriggerName()
-
isSetTriggerName
public boolean isSetTriggerName()
Returns true if field triggerName is set (has been assigned a value) and false otherwise
-
setTriggerNameIsSet
public void setTriggerNameIsSet(boolean value)
-
getNewLocation
public TDataNodeLocation getNewLocation()
-
setNewLocation
public TUpdateTriggerLocationReq setNewLocation(TDataNodeLocation newLocation)
-
unsetNewLocation
public void unsetNewLocation()
-
isSetNewLocation
public boolean isSetNewLocation()
Returns true if field newLocation is set (has been assigned a value) and false otherwise
-
setNewLocationIsSet
public void setNewLocationIsSet(boolean value)
-
setFieldValue
public void setFieldValue(TUpdateTriggerLocationReq._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<TUpdateTriggerLocationReq,TUpdateTriggerLocationReq._Fields>
-
getFieldValue
public Object getFieldValue(TUpdateTriggerLocationReq._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<TUpdateTriggerLocationReq,TUpdateTriggerLocationReq._Fields>
-
isSet
public boolean isSet(TUpdateTriggerLocationReq._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<TUpdateTriggerLocationReq,TUpdateTriggerLocationReq._Fields>
-
equals
public boolean equals(TUpdateTriggerLocationReq that)
-
compareTo
public int compareTo(TUpdateTriggerLocationReq other)
- Specified by:
compareToin interfaceComparable<TUpdateTriggerLocationReq>
-
fieldForId
public TUpdateTriggerLocationReq._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<TUpdateTriggerLocationReq,TUpdateTriggerLocationReq._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
-
-