Class TGetDatabaseReq
- java.lang.Object
-
- org.apache.iotdb.confignode.rpc.thrift.TGetDatabaseReq
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<TGetDatabaseReq>,org.apache.thrift.TBase<TGetDatabaseReq,TGetDatabaseReq._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.1)", date="2024-04-19") public class TGetDatabaseReq extends Object implements org.apache.thrift.TBase<TGetDatabaseReq,TGetDatabaseReq._Fields>, Serializable, Cloneable, Comparable<TGetDatabaseReq>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTGetDatabaseReq._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Field Summary
Fields Modifier and Type Field Description List<String>databasePathPatternstatic Map<TGetDatabaseReq._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapByteBufferscopePatternTree
-
Constructor Summary
Constructors Constructor Description TGetDatabaseReq()TGetDatabaseReq(List<String> databasePathPattern, ByteBuffer scopePatternTree)TGetDatabaseReq(TGetDatabaseReq other)Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddToDatabasePathPattern(String elem)ByteBufferbufferForScopePatternTree()voidclear()intcompareTo(TGetDatabaseReq other)TGetDatabaseReqdeepCopy()booleanequals(Object that)booleanequals(TGetDatabaseReq that)TGetDatabaseReq._FieldsfieldForId(int fieldId)List<String>getDatabasePathPattern()Iterator<String>getDatabasePathPatternIterator()intgetDatabasePathPatternSize()ObjectgetFieldValue(TGetDatabaseReq._Fields field)byte[]getScopePatternTree()inthashCode()booleanisSet(TGetDatabaseReq._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetDatabasePathPattern()Returns true if field databasePathPattern is set (has been assigned a value) and false otherwisebooleanisSetScopePatternTree()Returns true if field scopePatternTree is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)TGetDatabaseReqsetDatabasePathPattern(List<String> databasePathPattern)voidsetDatabasePathPatternIsSet(boolean value)voidsetFieldValue(TGetDatabaseReq._Fields field, Object value)TGetDatabaseReqsetScopePatternTree(byte[] scopePatternTree)TGetDatabaseReqsetScopePatternTree(ByteBuffer scopePatternTree)voidsetScopePatternTreeIsSet(boolean value)StringtoString()voidunsetDatabasePathPattern()voidunsetScopePatternTree()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
scopePatternTree
public ByteBuffer scopePatternTree
-
metaDataMap
public static final Map<TGetDatabaseReq._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
TGetDatabaseReq
public TGetDatabaseReq()
-
TGetDatabaseReq
public TGetDatabaseReq(List<String> databasePathPattern, ByteBuffer scopePatternTree)
-
TGetDatabaseReq
public TGetDatabaseReq(TGetDatabaseReq other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public TGetDatabaseReq deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<TGetDatabaseReq,TGetDatabaseReq._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.thrift.TBase<TGetDatabaseReq,TGetDatabaseReq._Fields>
-
getDatabasePathPatternSize
public int getDatabasePathPatternSize()
-
addToDatabasePathPattern
public void addToDatabasePathPattern(String elem)
-
setDatabasePathPattern
public TGetDatabaseReq setDatabasePathPattern(List<String> databasePathPattern)
-
unsetDatabasePathPattern
public void unsetDatabasePathPattern()
-
isSetDatabasePathPattern
public boolean isSetDatabasePathPattern()
Returns true if field databasePathPattern is set (has been assigned a value) and false otherwise
-
setDatabasePathPatternIsSet
public void setDatabasePathPatternIsSet(boolean value)
-
getScopePatternTree
public byte[] getScopePatternTree()
-
bufferForScopePatternTree
public ByteBuffer bufferForScopePatternTree()
-
setScopePatternTree
public TGetDatabaseReq setScopePatternTree(byte[] scopePatternTree)
-
setScopePatternTree
public TGetDatabaseReq setScopePatternTree(ByteBuffer scopePatternTree)
-
unsetScopePatternTree
public void unsetScopePatternTree()
-
isSetScopePatternTree
public boolean isSetScopePatternTree()
Returns true if field scopePatternTree is set (has been assigned a value) and false otherwise
-
setScopePatternTreeIsSet
public void setScopePatternTreeIsSet(boolean value)
-
setFieldValue
public void setFieldValue(TGetDatabaseReq._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<TGetDatabaseReq,TGetDatabaseReq._Fields>
-
getFieldValue
public Object getFieldValue(TGetDatabaseReq._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<TGetDatabaseReq,TGetDatabaseReq._Fields>
-
isSet
public boolean isSet(TGetDatabaseReq._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<TGetDatabaseReq,TGetDatabaseReq._Fields>
-
equals
public boolean equals(TGetDatabaseReq that)
-
compareTo
public int compareTo(TGetDatabaseReq other)
- Specified by:
compareToin interfaceComparable<TGetDatabaseReq>
-
fieldForId
public TGetDatabaseReq._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<TGetDatabaseReq,TGetDatabaseReq._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
-
-