public static class ThriftHiveMetastore.grant_role_args extends Object implements org.apache.thrift.TBase<ThriftHiveMetastore.grant_role_args,ThriftHiveMetastore.grant_role_args._Fields>, Serializable, Cloneable
| Modifier and Type | Class and Description |
|---|---|
static class |
ThriftHiveMetastore.grant_role_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.grant_role_args._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
| Constructor and Description |
|---|
ThriftHiveMetastore.grant_role_args() |
ThriftHiveMetastore.grant_role_args(String role_name,
String principal_name,
PrincipalType principal_type,
String grantor,
PrincipalType grantorType,
boolean grant_option) |
ThriftHiveMetastore.grant_role_args(ThriftHiveMetastore.grant_role_args other)
Performs a deep copy on other.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
int |
compareTo(ThriftHiveMetastore.grant_role_args other) |
ThriftHiveMetastore.grant_role_args |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(ThriftHiveMetastore.grant_role_args that) |
ThriftHiveMetastore.grant_role_args._Fields |
fieldForId(int fieldId) |
Object |
getFieldValue(ThriftHiveMetastore.grant_role_args._Fields field) |
String |
getGrantor() |
PrincipalType |
getGrantorType() |
String |
getPrincipal_name() |
PrincipalType |
getPrincipal_type() |
String |
getRole_name() |
int |
hashCode() |
boolean |
isGrant_option() |
boolean |
isSet(ThriftHiveMetastore.grant_role_args._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetGrant_option()
Returns true if field grant_option is set (has been assigned a value) and false otherwise
|
boolean |
isSetGrantor()
Returns true if field grantor is set (has been assigned a value) and false otherwise
|
boolean |
isSetGrantorType()
Returns true if field grantorType 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
|
boolean |
isSetRole_name()
Returns true if field role_name is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
setFieldValue(ThriftHiveMetastore.grant_role_args._Fields field,
Object value) |
void |
setGrant_option(boolean grant_option) |
void |
setGrant_optionIsSet(boolean value) |
void |
setGrantor(String grantor) |
void |
setGrantorIsSet(boolean value) |
void |
setGrantorType(PrincipalType grantorType) |
void |
setGrantorTypeIsSet(boolean value) |
void |
setPrincipal_name(String principal_name) |
void |
setPrincipal_nameIsSet(boolean value) |
void |
setPrincipal_type(PrincipalType principal_type) |
void |
setPrincipal_typeIsSet(boolean value) |
void |
setRole_name(String role_name) |
void |
setRole_nameIsSet(boolean value) |
String |
toString() |
void |
unsetGrant_option() |
void |
unsetGrantor() |
void |
unsetGrantorType() |
void |
unsetPrincipal_name() |
void |
unsetPrincipal_type() |
void |
unsetRole_name() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final Map<ThriftHiveMetastore.grant_role_args._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public ThriftHiveMetastore.grant_role_args()
public ThriftHiveMetastore.grant_role_args(String role_name, String principal_name, PrincipalType principal_type, String grantor, PrincipalType grantorType, boolean grant_option)
public ThriftHiveMetastore.grant_role_args(ThriftHiveMetastore.grant_role_args other)
public ThriftHiveMetastore.grant_role_args deepCopy()
deepCopy in interface org.apache.thrift.TBase<ThriftHiveMetastore.grant_role_args,ThriftHiveMetastore.grant_role_args._Fields>public void clear()
clear in interface org.apache.thrift.TBase<ThriftHiveMetastore.grant_role_args,ThriftHiveMetastore.grant_role_args._Fields>public String getRole_name()
public void setRole_name(String role_name)
public void unsetRole_name()
public boolean isSetRole_name()
public void setRole_nameIsSet(boolean value)
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()
PrincipalTypepublic void setPrincipal_type(PrincipalType principal_type)
PrincipalTypepublic void unsetPrincipal_type()
public boolean isSetPrincipal_type()
public void setPrincipal_typeIsSet(boolean value)
public String getGrantor()
public void setGrantor(String grantor)
public void unsetGrantor()
public boolean isSetGrantor()
public void setGrantorIsSet(boolean value)
public PrincipalType getGrantorType()
PrincipalTypepublic void setGrantorType(PrincipalType grantorType)
PrincipalTypepublic void unsetGrantorType()
public boolean isSetGrantorType()
public void setGrantorTypeIsSet(boolean value)
public boolean isGrant_option()
public void setGrant_option(boolean grant_option)
public void unsetGrant_option()
public boolean isSetGrant_option()
public void setGrant_optionIsSet(boolean value)
public void setFieldValue(ThriftHiveMetastore.grant_role_args._Fields field, Object value)
setFieldValue in interface org.apache.thrift.TBase<ThriftHiveMetastore.grant_role_args,ThriftHiveMetastore.grant_role_args._Fields>public Object getFieldValue(ThriftHiveMetastore.grant_role_args._Fields field)
getFieldValue in interface org.apache.thrift.TBase<ThriftHiveMetastore.grant_role_args,ThriftHiveMetastore.grant_role_args._Fields>public boolean isSet(ThriftHiveMetastore.grant_role_args._Fields field)
isSet in interface org.apache.thrift.TBase<ThriftHiveMetastore.grant_role_args,ThriftHiveMetastore.grant_role_args._Fields>public boolean equals(ThriftHiveMetastore.grant_role_args that)
public int compareTo(ThriftHiveMetastore.grant_role_args other)
compareTo in interface Comparable<ThriftHiveMetastore.grant_role_args>public ThriftHiveMetastore.grant_role_args._Fields fieldForId(int fieldId)
fieldForId in interface org.apache.thrift.TBase<ThriftHiveMetastore.grant_role_args,ThriftHiveMetastore.grant_role_args._Fields>public void read(org.apache.thrift.protocol.TProtocol iprot)
throws org.apache.thrift.TException
read in interface org.apache.thrift.TBase<ThriftHiveMetastore.grant_role_args,ThriftHiveMetastore.grant_role_args._Fields>org.apache.thrift.TExceptionpublic void write(org.apache.thrift.protocol.TProtocol oprot)
throws org.apache.thrift.TException
write in interface org.apache.thrift.TBase<ThriftHiveMetastore.grant_role_args,ThriftHiveMetastore.grant_role_args._Fields>org.apache.thrift.TExceptionpublic void validate()
throws org.apache.thrift.TException
org.apache.thrift.TExceptionCopyright © 2017 The Apache Software Foundation. All rights reserved.