Class TGetRegionIdReq
- java.lang.Object
-
- org.apache.iotdb.confignode.rpc.thrift.TGetRegionIdReq
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<TGetRegionIdReq>,org.apache.thrift.TBase<TGetRegionIdReq,TGetRegionIdReq._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.1)", date="2024-04-19") public class TGetRegionIdReq extends Object implements org.apache.thrift.TBase<TGetRegionIdReq,TGetRegionIdReq._Fields>, Serializable, Cloneable, Comparable<TGetRegionIdReq>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTGetRegionIdReq._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Field Summary
Fields Modifier and Type Field Description StringdatabaseStringdeviceTTimePartitionSlotendTimeSlotstatic Map<TGetRegionIdReq._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapTTimePartitionSlotstartTimeSlotTConsensusGroupTypetype
-
Constructor Summary
Constructors Constructor Description TGetRegionIdReq()TGetRegionIdReq(TConsensusGroupType type)TGetRegionIdReq(TGetRegionIdReq other)Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()intcompareTo(TGetRegionIdReq other)TGetRegionIdReqdeepCopy()booleanequals(Object that)booleanequals(TGetRegionIdReq that)TGetRegionIdReq._FieldsfieldForId(int fieldId)StringgetDatabase()StringgetDevice()TTimePartitionSlotgetEndTimeSlot()ObjectgetFieldValue(TGetRegionIdReq._Fields field)TTimePartitionSlotgetStartTimeSlot()TConsensusGroupTypegetType()inthashCode()booleanisSet(TGetRegionIdReq._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetDatabase()Returns true if field database is set (has been assigned a value) and false otherwisebooleanisSetDevice()Returns true if field device is set (has been assigned a value) and false otherwisebooleanisSetEndTimeSlot()Returns true if field endTimeSlot is set (has been assigned a value) and false otherwisebooleanisSetStartTimeSlot()Returns true if field startTimeSlot is set (has been assigned a value) and false otherwisebooleanisSetType()Returns true if field type is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)TGetRegionIdReqsetDatabase(String database)voidsetDatabaseIsSet(boolean value)TGetRegionIdReqsetDevice(String device)voidsetDeviceIsSet(boolean value)TGetRegionIdReqsetEndTimeSlot(TTimePartitionSlot endTimeSlot)voidsetEndTimeSlotIsSet(boolean value)voidsetFieldValue(TGetRegionIdReq._Fields field, Object value)TGetRegionIdReqsetStartTimeSlot(TTimePartitionSlot startTimeSlot)voidsetStartTimeSlotIsSet(boolean value)TGetRegionIdReqsetType(TConsensusGroupType type)voidsetTypeIsSet(boolean value)StringtoString()voidunsetDatabase()voidunsetDevice()voidunsetEndTimeSlot()voidunsetStartTimeSlot()voidunsetType()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
type
public TConsensusGroupType type
- See Also:
TConsensusGroupType
-
database
public String database
-
device
public String device
-
startTimeSlot
public TTimePartitionSlot startTimeSlot
-
endTimeSlot
public TTimePartitionSlot endTimeSlot
-
metaDataMap
public static final Map<TGetRegionIdReq._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
TGetRegionIdReq
public TGetRegionIdReq()
-
TGetRegionIdReq
public TGetRegionIdReq(TConsensusGroupType type)
-
TGetRegionIdReq
public TGetRegionIdReq(TGetRegionIdReq other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public TGetRegionIdReq deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<TGetRegionIdReq,TGetRegionIdReq._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.thrift.TBase<TGetRegionIdReq,TGetRegionIdReq._Fields>
-
getType
public TConsensusGroupType getType()
- See Also:
TConsensusGroupType
-
setType
public TGetRegionIdReq setType(TConsensusGroupType type)
- See Also:
TConsensusGroupType
-
unsetType
public void unsetType()
-
isSetType
public boolean isSetType()
Returns true if field type is set (has been assigned a value) and false otherwise
-
setTypeIsSet
public void setTypeIsSet(boolean value)
-
getDatabase
public String getDatabase()
-
setDatabase
public TGetRegionIdReq setDatabase(String database)
-
unsetDatabase
public void unsetDatabase()
-
isSetDatabase
public boolean isSetDatabase()
Returns true if field database is set (has been assigned a value) and false otherwise
-
setDatabaseIsSet
public void setDatabaseIsSet(boolean value)
-
getDevice
public String getDevice()
-
setDevice
public TGetRegionIdReq setDevice(String device)
-
unsetDevice
public void unsetDevice()
-
isSetDevice
public boolean isSetDevice()
Returns true if field device is set (has been assigned a value) and false otherwise
-
setDeviceIsSet
public void setDeviceIsSet(boolean value)
-
getStartTimeSlot
public TTimePartitionSlot getStartTimeSlot()
-
setStartTimeSlot
public TGetRegionIdReq setStartTimeSlot(TTimePartitionSlot startTimeSlot)
-
unsetStartTimeSlot
public void unsetStartTimeSlot()
-
isSetStartTimeSlot
public boolean isSetStartTimeSlot()
Returns true if field startTimeSlot is set (has been assigned a value) and false otherwise
-
setStartTimeSlotIsSet
public void setStartTimeSlotIsSet(boolean value)
-
getEndTimeSlot
public TTimePartitionSlot getEndTimeSlot()
-
setEndTimeSlot
public TGetRegionIdReq setEndTimeSlot(TTimePartitionSlot endTimeSlot)
-
unsetEndTimeSlot
public void unsetEndTimeSlot()
-
isSetEndTimeSlot
public boolean isSetEndTimeSlot()
Returns true if field endTimeSlot is set (has been assigned a value) and false otherwise
-
setEndTimeSlotIsSet
public void setEndTimeSlotIsSet(boolean value)
-
setFieldValue
public void setFieldValue(TGetRegionIdReq._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<TGetRegionIdReq,TGetRegionIdReq._Fields>
-
getFieldValue
public Object getFieldValue(TGetRegionIdReq._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<TGetRegionIdReq,TGetRegionIdReq._Fields>
-
isSet
public boolean isSet(TGetRegionIdReq._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<TGetRegionIdReq,TGetRegionIdReq._Fields>
-
equals
public boolean equals(TGetRegionIdReq that)
-
compareTo
public int compareTo(TGetRegionIdReq other)
- Specified by:
compareToin interfaceComparable<TGetRegionIdReq>
-
fieldForId
public TGetRegionIdReq._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<TGetRegionIdReq,TGetRegionIdReq._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
-
-