Class TPathPrivilege
- java.lang.Object
-
- org.apache.iotdb.confignode.rpc.thrift.TPathPrivilege
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<TPathPrivilege>,org.apache.thrift.TBase<TPathPrivilege,TPathPrivilege._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.1)", date="2024-04-19") public class TPathPrivilege extends Object implements org.apache.thrift.TBase<TPathPrivilege,TPathPrivilege._Fields>, Serializable, Cloneable, Comparable<TPathPrivilege>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTPathPrivilege._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<TPathPrivilege._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapStringpathSet<Integer>priGrantOptSet<Integer>priSet
-
Constructor Summary
Constructors Constructor Description TPathPrivilege()TPathPrivilege(String path, Set<Integer> priSet, Set<Integer> priGrantOpt)TPathPrivilege(TPathPrivilege other)Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddToPriGrantOpt(int elem)voidaddToPriSet(int elem)voidclear()intcompareTo(TPathPrivilege other)TPathPrivilegedeepCopy()booleanequals(Object that)booleanequals(TPathPrivilege that)TPathPrivilege._FieldsfieldForId(int fieldId)ObjectgetFieldValue(TPathPrivilege._Fields field)StringgetPath()Set<Integer>getPriGrantOpt()Iterator<Integer>getPriGrantOptIterator()intgetPriGrantOptSize()Set<Integer>getPriSet()Iterator<Integer>getPriSetIterator()intgetPriSetSize()inthashCode()booleanisSet(TPathPrivilege._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetPath()Returns true if field path is set (has been assigned a value) and false otherwisebooleanisSetPriGrantOpt()Returns true if field priGrantOpt is set (has been assigned a value) and false otherwisebooleanisSetPriSet()Returns true if field priSet is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)voidsetFieldValue(TPathPrivilege._Fields field, Object value)TPathPrivilegesetPath(String path)voidsetPathIsSet(boolean value)TPathPrivilegesetPriGrantOpt(Set<Integer> priGrantOpt)voidsetPriGrantOptIsSet(boolean value)TPathPrivilegesetPriSet(Set<Integer> priSet)voidsetPriSetIsSet(boolean value)StringtoString()voidunsetPath()voidunsetPriGrantOpt()voidunsetPriSet()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Method Detail
-
deepCopy
public TPathPrivilege deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<TPathPrivilege,TPathPrivilege._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.thrift.TBase<TPathPrivilege,TPathPrivilege._Fields>
-
getPath
public String getPath()
-
setPath
public TPathPrivilege setPath(String path)
-
unsetPath
public void unsetPath()
-
isSetPath
public boolean isSetPath()
Returns true if field path is set (has been assigned a value) and false otherwise
-
setPathIsSet
public void setPathIsSet(boolean value)
-
getPriSetSize
public int getPriSetSize()
-
addToPriSet
public void addToPriSet(int elem)
-
setPriSet
public TPathPrivilege setPriSet(Set<Integer> priSet)
-
unsetPriSet
public void unsetPriSet()
-
isSetPriSet
public boolean isSetPriSet()
Returns true if field priSet is set (has been assigned a value) and false otherwise
-
setPriSetIsSet
public void setPriSetIsSet(boolean value)
-
getPriGrantOptSize
public int getPriGrantOptSize()
-
addToPriGrantOpt
public void addToPriGrantOpt(int elem)
-
setPriGrantOpt
public TPathPrivilege setPriGrantOpt(Set<Integer> priGrantOpt)
-
unsetPriGrantOpt
public void unsetPriGrantOpt()
-
isSetPriGrantOpt
public boolean isSetPriGrantOpt()
Returns true if field priGrantOpt is set (has been assigned a value) and false otherwise
-
setPriGrantOptIsSet
public void setPriGrantOptIsSet(boolean value)
-
setFieldValue
public void setFieldValue(TPathPrivilege._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<TPathPrivilege,TPathPrivilege._Fields>
-
getFieldValue
public Object getFieldValue(TPathPrivilege._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<TPathPrivilege,TPathPrivilege._Fields>
-
isSet
public boolean isSet(TPathPrivilege._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<TPathPrivilege,TPathPrivilege._Fields>
-
equals
public boolean equals(TPathPrivilege that)
-
compareTo
public int compareTo(TPathPrivilege other)
- Specified by:
compareToin interfaceComparable<TPathPrivilege>
-
fieldForId
public TPathPrivilege._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<TPathPrivilege,TPathPrivilege._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
-
-