Package io.trino.hive.thrift.metastore
Class ThriftHiveMetastore.get_privilege_set_args
java.lang.Object
io.trino.hive.thrift.metastore.ThriftHiveMetastore.get_privilege_set_args
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<ThriftHiveMetastore.get_privilege_set_args>,org.apache.thrift.TBase<ThriftHiveMetastore.get_privilege_set_args,,ThriftHiveMetastore.get_privilege_set_args._Fields> org.apache.thrift.TSerializable
- Enclosing class:
- ThriftHiveMetastore
public static class ThriftHiveMetastore.get_privilege_set_args
extends Object
implements org.apache.thrift.TBase<ThriftHiveMetastore.get_privilege_set_args,ThriftHiveMetastore.get_privilege_set_args._Fields>, Serializable, Cloneable, Comparable<ThriftHiveMetastore.get_privilege_set_args>
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Map<ThriftHiveMetastore.get_privilege_set_args._Fields,org.apache.thrift.meta_data.FieldMetaData> -
Constructor Summary
ConstructorsConstructorDescriptionget_privilege_set_args(HiveObjectRef hiveObject, String user_name, List<String> group_names) Performs a deep copy on other. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddToGroupNames(String elem) voidclear()intdeepCopy()booleanbooleanfieldForId(int fieldId) intinthashCode()booleanReturns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanReturns true if field group_names is set (has been assigned a value) and false otherwisebooleanReturns true if field hiveObject is set (has been assigned a value) and false otherwisebooleanReturns true if field user_name is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot) voidsetGroupNames(List<String> group_names) voidsetGroupNamesIsSet(boolean value) setHiveObject(HiveObjectRef hiveObject) voidsetHiveObjectIsSet(boolean value) setUserName(String user_name) voidsetUserNameIsSet(boolean value) toString()voidvoidvoidvoidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
metaDataMap
public static final Map<ThriftHiveMetastore.get_privilege_set_args._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
get_privilege_set_args
public get_privilege_set_args() -
get_privilege_set_args
-
get_privilege_set_args
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<ThriftHiveMetastore.get_privilege_set_args,ThriftHiveMetastore.get_privilege_set_args._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<ThriftHiveMetastore.get_privilege_set_args,ThriftHiveMetastore.get_privilege_set_args._Fields>
-
getHiveObject
-
setHiveObject
-
unsetHiveObject
public void unsetHiveObject() -
isSetHiveObject
public boolean isSetHiveObject()Returns true if field hiveObject is set (has been assigned a value) and false otherwise -
setHiveObjectIsSet
public void setHiveObjectIsSet(boolean value) -
getUserName
-
setUserName
-
unsetUserName
public void unsetUserName() -
isSetUserName
public boolean isSetUserName()Returns true if field user_name is set (has been assigned a value) and false otherwise -
setUserNameIsSet
public void setUserNameIsSet(boolean value) -
getGroupNamesSize
public int getGroupNamesSize() -
getGroupNamesIterator
-
addToGroupNames
-
getGroupNames
-
setGroupNames
-
unsetGroupNames
public void unsetGroupNames() -
isSetGroupNames
public boolean isSetGroupNames()Returns true if field group_names is set (has been assigned a value) and false otherwise -
setGroupNamesIsSet
public void setGroupNamesIsSet(boolean value) -
setFieldValue
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<ThriftHiveMetastore.get_privilege_set_args,ThriftHiveMetastore.get_privilege_set_args._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<ThriftHiveMetastore.get_privilege_set_args,ThriftHiveMetastore.get_privilege_set_args._Fields>
-
isSet
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise- Specified by:
isSetin interfaceorg.apache.thrift.TBase<ThriftHiveMetastore.get_privilege_set_args,ThriftHiveMetastore.get_privilege_set_args._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<ThriftHiveMetastore.get_privilege_set_args>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<ThriftHiveMetastore.get_privilege_set_args,ThriftHiveMetastore.get_privilege_set_args._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
-
toString
-
validate
public void validate() throws org.apache.thrift.TException- Throws:
org.apache.thrift.TException
-