Class TShowRegionReq
- java.lang.Object
-
- org.apache.iotdb.confignode.rpc.thrift.TShowRegionReq
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<TShowRegionReq>,org.apache.thrift.TBase<TShowRegionReq,TShowRegionReq._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.1)", date="2024-04-19") public class TShowRegionReq extends Object implements org.apache.thrift.TBase<TShowRegionReq,TShowRegionReq._Fields>, Serializable, Cloneable, Comparable<TShowRegionReq>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTShowRegionReq._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Field Summary
Fields Modifier and Type Field Description TConsensusGroupTypeconsensusGroupTypeList<String>databasesstatic Map<TShowRegionReq._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMap
-
Constructor Summary
Constructors Constructor Description TShowRegionReq()TShowRegionReq(TShowRegionReq other)Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddToDatabases(String elem)voidclear()intcompareTo(TShowRegionReq other)TShowRegionReqdeepCopy()booleanequals(Object that)booleanequals(TShowRegionReq that)TShowRegionReq._FieldsfieldForId(int fieldId)TConsensusGroupTypegetConsensusGroupType()List<String>getDatabases()Iterator<String>getDatabasesIterator()intgetDatabasesSize()ObjectgetFieldValue(TShowRegionReq._Fields field)inthashCode()booleanisSet(TShowRegionReq._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetConsensusGroupType()Returns true if field consensusGroupType is set (has been assigned a value) and false otherwisebooleanisSetDatabases()Returns true if field databases is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)TShowRegionReqsetConsensusGroupType(TConsensusGroupType consensusGroupType)voidsetConsensusGroupTypeIsSet(boolean value)TShowRegionReqsetDatabases(List<String> databases)voidsetDatabasesIsSet(boolean value)voidsetFieldValue(TShowRegionReq._Fields field, Object value)StringtoString()voidunsetConsensusGroupType()voidunsetDatabases()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
consensusGroupType
public TConsensusGroupType consensusGroupType
- See Also:
TConsensusGroupType
-
metaDataMap
public static final Map<TShowRegionReq._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
TShowRegionReq
public TShowRegionReq()
-
TShowRegionReq
public TShowRegionReq(TShowRegionReq other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public TShowRegionReq deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<TShowRegionReq,TShowRegionReq._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.thrift.TBase<TShowRegionReq,TShowRegionReq._Fields>
-
getConsensusGroupType
public TConsensusGroupType getConsensusGroupType()
- See Also:
TConsensusGroupType
-
setConsensusGroupType
public TShowRegionReq setConsensusGroupType(TConsensusGroupType consensusGroupType)
- See Also:
TConsensusGroupType
-
unsetConsensusGroupType
public void unsetConsensusGroupType()
-
isSetConsensusGroupType
public boolean isSetConsensusGroupType()
Returns true if field consensusGroupType is set (has been assigned a value) and false otherwise
-
setConsensusGroupTypeIsSet
public void setConsensusGroupTypeIsSet(boolean value)
-
getDatabasesSize
public int getDatabasesSize()
-
addToDatabases
public void addToDatabases(String elem)
-
setDatabases
public TShowRegionReq setDatabases(List<String> databases)
-
unsetDatabases
public void unsetDatabases()
-
isSetDatabases
public boolean isSetDatabases()
Returns true if field databases is set (has been assigned a value) and false otherwise
-
setDatabasesIsSet
public void setDatabasesIsSet(boolean value)
-
setFieldValue
public void setFieldValue(TShowRegionReq._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<TShowRegionReq,TShowRegionReq._Fields>
-
getFieldValue
public Object getFieldValue(TShowRegionReq._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<TShowRegionReq,TShowRegionReq._Fields>
-
isSet
public boolean isSet(TShowRegionReq._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<TShowRegionReq,TShowRegionReq._Fields>
-
equals
public boolean equals(TShowRegionReq that)
-
compareTo
public int compareTo(TShowRegionReq other)
- Specified by:
compareToin interfaceComparable<TShowRegionReq>
-
fieldForId
public TShowRegionReq._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<TShowRegionReq,TShowRegionReq._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
-
-