|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hadoop.hive.metastore.api.ThriftHiveMetastore.grant_role_args
public static class ThriftHiveMetastore.grant_role_args
| Nested Class Summary | |
|---|---|
static class |
ThriftHiveMetastore.grant_role_args._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them. |
| Field Summary | |
|---|---|
static Map<ThriftHiveMetastore.grant_role_args._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap
|
| Constructor Summary | |
|---|---|
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. |
|
| Method Summary | |
|---|---|
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)
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final Map<ThriftHiveMetastore.grant_role_args._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
| Constructor Detail |
|---|
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)
| Method Detail |
|---|
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(Object that)
equals in class Objectpublic boolean equals(ThriftHiveMetastore.grant_role_args that)
public int hashCode()
hashCode in class Objectpublic 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.TException
public 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 String toString()
toString in class Object
public void validate()
throws org.apache.thrift.TException
org.apache.thrift.TException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||