public static class ThriftHiveMetastore.list_privileges_args extends Object implements org.apache.thrift.TBase<ThriftHiveMetastore.list_privileges_args,ThriftHiveMetastore.list_privileges_args._Fields>, Serializable, Cloneable
Modifier and Type | Class and Description |
---|---|
static class |
ThriftHiveMetastore.list_privileges_args._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
Modifier and Type | Field and Description |
---|---|
static Map<ThriftHiveMetastore.list_privileges_args._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
ThriftHiveMetastore.list_privileges_args() |
ThriftHiveMetastore.list_privileges_args(String principal_name,
PrincipalType principal_type,
HiveObjectRef hiveObject) |
ThriftHiveMetastore.list_privileges_args(ThriftHiveMetastore.list_privileges_args other)
Performs a deep copy on other.
|
Modifier and Type | Method and Description |
---|---|
void |
clear() |
int |
compareTo(ThriftHiveMetastore.list_privileges_args other) |
ThriftHiveMetastore.list_privileges_args |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(ThriftHiveMetastore.list_privileges_args that) |
ThriftHiveMetastore.list_privileges_args._Fields |
fieldForId(int fieldId) |
Object |
getFieldValue(ThriftHiveMetastore.list_privileges_args._Fields field) |
HiveObjectRef |
getHiveObject() |
String |
getPrincipal_name() |
PrincipalType |
getPrincipal_type() |
int |
hashCode() |
boolean |
isSet(ThriftHiveMetastore.list_privileges_args._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetHiveObject()
Returns true if field hiveObject is set (has been assigned a value) and false otherwise
|
boolean |
isSetPrincipal_name()
Returns true if field principal_name is set (has been assigned a value) and false otherwise
|
boolean |
isSetPrincipal_type()
Returns true if field principal_type is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
setFieldValue(ThriftHiveMetastore.list_privileges_args._Fields field,
Object value) |
void |
setHiveObject(HiveObjectRef hiveObject) |
void |
setHiveObjectIsSet(boolean value) |
void |
setPrincipal_name(String principal_name) |
void |
setPrincipal_nameIsSet(boolean value) |
void |
setPrincipal_type(PrincipalType principal_type) |
void |
setPrincipal_typeIsSet(boolean value) |
String |
toString() |
void |
unsetHiveObject() |
void |
unsetPrincipal_name() |
void |
unsetPrincipal_type() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final Map<ThriftHiveMetastore.list_privileges_args._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public ThriftHiveMetastore.list_privileges_args()
public ThriftHiveMetastore.list_privileges_args(String principal_name, PrincipalType principal_type, HiveObjectRef hiveObject)
public ThriftHiveMetastore.list_privileges_args(ThriftHiveMetastore.list_privileges_args other)
public ThriftHiveMetastore.list_privileges_args deepCopy()
deepCopy
in interface org.apache.thrift.TBase<ThriftHiveMetastore.list_privileges_args,ThriftHiveMetastore.list_privileges_args._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<ThriftHiveMetastore.list_privileges_args,ThriftHiveMetastore.list_privileges_args._Fields>
public String getPrincipal_name()
public void setPrincipal_name(String principal_name)
public void unsetPrincipal_name()
public boolean isSetPrincipal_name()
public void setPrincipal_nameIsSet(boolean value)
public PrincipalType getPrincipal_type()
PrincipalType
public void setPrincipal_type(PrincipalType principal_type)
PrincipalType
public void unsetPrincipal_type()
public boolean isSetPrincipal_type()
public void setPrincipal_typeIsSet(boolean value)
public HiveObjectRef getHiveObject()
public void setHiveObject(HiveObjectRef hiveObject)
public void unsetHiveObject()
public boolean isSetHiveObject()
public void setHiveObjectIsSet(boolean value)
public void setFieldValue(ThriftHiveMetastore.list_privileges_args._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<ThriftHiveMetastore.list_privileges_args,ThriftHiveMetastore.list_privileges_args._Fields>
public Object getFieldValue(ThriftHiveMetastore.list_privileges_args._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<ThriftHiveMetastore.list_privileges_args,ThriftHiveMetastore.list_privileges_args._Fields>
public boolean isSet(ThriftHiveMetastore.list_privileges_args._Fields field)
isSet
in interface org.apache.thrift.TBase<ThriftHiveMetastore.list_privileges_args,ThriftHiveMetastore.list_privileges_args._Fields>
public boolean equals(ThriftHiveMetastore.list_privileges_args that)
public int compareTo(ThriftHiveMetastore.list_privileges_args other)
compareTo
in interface Comparable<ThriftHiveMetastore.list_privileges_args>
public ThriftHiveMetastore.list_privileges_args._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<ThriftHiveMetastore.list_privileges_args,ThriftHiveMetastore.list_privileges_args._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<ThriftHiveMetastore.list_privileges_args,ThriftHiveMetastore.list_privileges_args._Fields>
org.apache.thrift.TException
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
write
in interface org.apache.thrift.TBase<ThriftHiveMetastore.list_privileges_args,ThriftHiveMetastore.list_privileges_args._Fields>
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2017 The Apache Software Foundation. All rights reserved.