Package org.apache.iotdb.mpp.rpc.thrift
Class TCreateDataRegionReq
- java.lang.Object
-
- org.apache.iotdb.mpp.rpc.thrift.TCreateDataRegionReq
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<TCreateDataRegionReq>,org.apache.thrift.TBase<TCreateDataRegionReq,TCreateDataRegionReq._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.1)", date="2023-12-27") public class TCreateDataRegionReq extends Object implements org.apache.thrift.TBase<TCreateDataRegionReq,TCreateDataRegionReq._Fields>, Serializable, Cloneable, Comparable<TCreateDataRegionReq>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTCreateDataRegionReq._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<TCreateDataRegionReq._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapTRegionReplicaSetregionReplicaSetStringstorageGrouplongttl
-
Constructor Summary
Constructors Constructor Description TCreateDataRegionReq()TCreateDataRegionReq(TRegionReplicaSet regionReplicaSet, String storageGroup)TCreateDataRegionReq(TCreateDataRegionReq other)Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()intcompareTo(TCreateDataRegionReq other)TCreateDataRegionReqdeepCopy()booleanequals(Object that)booleanequals(TCreateDataRegionReq that)TCreateDataRegionReq._FieldsfieldForId(int fieldId)ObjectgetFieldValue(TCreateDataRegionReq._Fields field)TRegionReplicaSetgetRegionReplicaSet()StringgetStorageGroup()longgetTtl()inthashCode()booleanisSet(TCreateDataRegionReq._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetRegionReplicaSet()Returns true if field regionReplicaSet is set (has been assigned a value) and false otherwisebooleanisSetStorageGroup()Returns true if field storageGroup is set (has been assigned a value) and false otherwisebooleanisSetTtl()Returns true if field ttl is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)voidsetFieldValue(TCreateDataRegionReq._Fields field, Object value)TCreateDataRegionReqsetRegionReplicaSet(TRegionReplicaSet regionReplicaSet)voidsetRegionReplicaSetIsSet(boolean value)TCreateDataRegionReqsetStorageGroup(String storageGroup)voidsetStorageGroupIsSet(boolean value)TCreateDataRegionReqsetTtl(long ttl)voidsetTtlIsSet(boolean value)StringtoString()voidunsetRegionReplicaSet()voidunsetStorageGroup()voidunsetTtl()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
regionReplicaSet
public TRegionReplicaSet regionReplicaSet
-
storageGroup
public String storageGroup
-
ttl
public long ttl
-
metaDataMap
public static final Map<TCreateDataRegionReq._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
TCreateDataRegionReq
public TCreateDataRegionReq()
-
TCreateDataRegionReq
public TCreateDataRegionReq(TRegionReplicaSet regionReplicaSet, String storageGroup)
-
TCreateDataRegionReq
public TCreateDataRegionReq(TCreateDataRegionReq other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public TCreateDataRegionReq deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<TCreateDataRegionReq,TCreateDataRegionReq._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.thrift.TBase<TCreateDataRegionReq,TCreateDataRegionReq._Fields>
-
getRegionReplicaSet
public TRegionReplicaSet getRegionReplicaSet()
-
setRegionReplicaSet
public TCreateDataRegionReq setRegionReplicaSet(TRegionReplicaSet regionReplicaSet)
-
unsetRegionReplicaSet
public void unsetRegionReplicaSet()
-
isSetRegionReplicaSet
public boolean isSetRegionReplicaSet()
Returns true if field regionReplicaSet is set (has been assigned a value) and false otherwise
-
setRegionReplicaSetIsSet
public void setRegionReplicaSetIsSet(boolean value)
-
getStorageGroup
public String getStorageGroup()
-
setStorageGroup
public TCreateDataRegionReq setStorageGroup(String storageGroup)
-
unsetStorageGroup
public void unsetStorageGroup()
-
isSetStorageGroup
public boolean isSetStorageGroup()
Returns true if field storageGroup is set (has been assigned a value) and false otherwise
-
setStorageGroupIsSet
public void setStorageGroupIsSet(boolean value)
-
getTtl
public long getTtl()
-
setTtl
public TCreateDataRegionReq setTtl(long ttl)
-
unsetTtl
public void unsetTtl()
-
isSetTtl
public boolean isSetTtl()
Returns true if field ttl is set (has been assigned a value) and false otherwise
-
setTtlIsSet
public void setTtlIsSet(boolean value)
-
setFieldValue
public void setFieldValue(TCreateDataRegionReq._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<TCreateDataRegionReq,TCreateDataRegionReq._Fields>
-
getFieldValue
public Object getFieldValue(TCreateDataRegionReq._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<TCreateDataRegionReq,TCreateDataRegionReq._Fields>
-
isSet
public boolean isSet(TCreateDataRegionReq._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<TCreateDataRegionReq,TCreateDataRegionReq._Fields>
-
equals
public boolean equals(TCreateDataRegionReq that)
-
compareTo
public int compareTo(TCreateDataRegionReq other)
- Specified by:
compareToin interfaceComparable<TCreateDataRegionReq>
-
fieldForId
public TCreateDataRegionReq._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<TCreateDataRegionReq,TCreateDataRegionReq._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
-
-