Package org.apache.iotdb.mpp.rpc.thrift
Class TCreateSchemaRegionReq
- java.lang.Object
-
- org.apache.iotdb.mpp.rpc.thrift.TCreateSchemaRegionReq
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<TCreateSchemaRegionReq>,org.apache.thrift.TBase<TCreateSchemaRegionReq,TCreateSchemaRegionReq._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.1)", date="2023-12-27") public class TCreateSchemaRegionReq extends Object implements org.apache.thrift.TBase<TCreateSchemaRegionReq,TCreateSchemaRegionReq._Fields>, Serializable, Cloneable, Comparable<TCreateSchemaRegionReq>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTCreateSchemaRegionReq._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<TCreateSchemaRegionReq._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapTRegionReplicaSetregionReplicaSetStringstorageGroup
-
Constructor Summary
Constructors Constructor Description TCreateSchemaRegionReq()TCreateSchemaRegionReq(TRegionReplicaSet regionReplicaSet, String storageGroup)TCreateSchemaRegionReq(TCreateSchemaRegionReq other)Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()intcompareTo(TCreateSchemaRegionReq other)TCreateSchemaRegionReqdeepCopy()booleanequals(Object that)booleanequals(TCreateSchemaRegionReq that)TCreateSchemaRegionReq._FieldsfieldForId(int fieldId)ObjectgetFieldValue(TCreateSchemaRegionReq._Fields field)TRegionReplicaSetgetRegionReplicaSet()StringgetStorageGroup()inthashCode()booleanisSet(TCreateSchemaRegionReq._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 otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)voidsetFieldValue(TCreateSchemaRegionReq._Fields field, Object value)TCreateSchemaRegionReqsetRegionReplicaSet(TRegionReplicaSet regionReplicaSet)voidsetRegionReplicaSetIsSet(boolean value)TCreateSchemaRegionReqsetStorageGroup(String storageGroup)voidsetStorageGroupIsSet(boolean value)StringtoString()voidunsetRegionReplicaSet()voidunsetStorageGroup()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
regionReplicaSet
public TRegionReplicaSet regionReplicaSet
-
storageGroup
public String storageGroup
-
metaDataMap
public static final Map<TCreateSchemaRegionReq._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
TCreateSchemaRegionReq
public TCreateSchemaRegionReq()
-
TCreateSchemaRegionReq
public TCreateSchemaRegionReq(TRegionReplicaSet regionReplicaSet, String storageGroup)
-
TCreateSchemaRegionReq
public TCreateSchemaRegionReq(TCreateSchemaRegionReq other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public TCreateSchemaRegionReq deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<TCreateSchemaRegionReq,TCreateSchemaRegionReq._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.thrift.TBase<TCreateSchemaRegionReq,TCreateSchemaRegionReq._Fields>
-
getRegionReplicaSet
public TRegionReplicaSet getRegionReplicaSet()
-
setRegionReplicaSet
public TCreateSchemaRegionReq 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 TCreateSchemaRegionReq 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)
-
setFieldValue
public void setFieldValue(TCreateSchemaRegionReq._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<TCreateSchemaRegionReq,TCreateSchemaRegionReq._Fields>
-
getFieldValue
public Object getFieldValue(TCreateSchemaRegionReq._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<TCreateSchemaRegionReq,TCreateSchemaRegionReq._Fields>
-
isSet
public boolean isSet(TCreateSchemaRegionReq._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<TCreateSchemaRegionReq,TCreateSchemaRegionReq._Fields>
-
equals
public boolean equals(TCreateSchemaRegionReq that)
-
compareTo
public int compareTo(TCreateSchemaRegionReq other)
- Specified by:
compareToin interfaceComparable<TCreateSchemaRegionReq>
-
fieldForId
public TCreateSchemaRegionReq._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<TCreateSchemaRegionReq,TCreateSchemaRegionReq._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
-
-