|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hadoop.hive.metastore.api.HiveObjectPrivilege
public class HiveObjectPrivilege
Nested Class Summary | |
---|---|
static class |
HiveObjectPrivilege._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them. |
Field Summary | |
---|---|
static Map<HiveObjectPrivilege._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap
|
Constructor Summary | |
---|---|
HiveObjectPrivilege()
|
|
HiveObjectPrivilege(HiveObjectPrivilege other)
Performs a deep copy on other. |
|
HiveObjectPrivilege(HiveObjectRef hiveObject,
String principalName,
PrincipalType principalType,
PrivilegeGrantInfo grantInfo)
|
Method Summary | |
---|---|
void |
clear()
|
int |
compareTo(HiveObjectPrivilege other)
|
HiveObjectPrivilege |
deepCopy()
|
boolean |
equals(HiveObjectPrivilege that)
|
boolean |
equals(Object that)
|
HiveObjectPrivilege._Fields |
fieldForId(int fieldId)
|
Object |
getFieldValue(HiveObjectPrivilege._Fields field)
|
PrivilegeGrantInfo |
getGrantInfo()
|
HiveObjectRef |
getHiveObject()
|
String |
getPrincipalName()
|
PrincipalType |
getPrincipalType()
|
int |
hashCode()
|
boolean |
isSet(HiveObjectPrivilege._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise |
boolean |
isSetGrantInfo()
Returns true if field grantInfo 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 |
isSetPrincipalName()
Returns true if field principalName is set (has been assigned a value) and false otherwise |
boolean |
isSetPrincipalType()
Returns true if field principalType is set (has been assigned a value) and false otherwise |
void |
read(org.apache.thrift.protocol.TProtocol iprot)
|
void |
setFieldValue(HiveObjectPrivilege._Fields field,
Object value)
|
void |
setGrantInfo(PrivilegeGrantInfo grantInfo)
|
void |
setGrantInfoIsSet(boolean value)
|
void |
setHiveObject(HiveObjectRef hiveObject)
|
void |
setHiveObjectIsSet(boolean value)
|
void |
setPrincipalName(String principalName)
|
void |
setPrincipalNameIsSet(boolean value)
|
void |
setPrincipalType(PrincipalType principalType)
|
void |
setPrincipalTypeIsSet(boolean value)
|
String |
toString()
|
void |
unsetGrantInfo()
|
void |
unsetHiveObject()
|
void |
unsetPrincipalName()
|
void |
unsetPrincipalType()
|
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<HiveObjectPrivilege._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
Constructor Detail |
---|
public HiveObjectPrivilege()
public HiveObjectPrivilege(HiveObjectRef hiveObject, String principalName, PrincipalType principalType, PrivilegeGrantInfo grantInfo)
public HiveObjectPrivilege(HiveObjectPrivilege other)
Method Detail |
---|
public HiveObjectPrivilege deepCopy()
deepCopy
in interface org.apache.thrift.TBase<HiveObjectPrivilege,HiveObjectPrivilege._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<HiveObjectPrivilege,HiveObjectPrivilege._Fields>
public HiveObjectRef getHiveObject()
public void setHiveObject(HiveObjectRef hiveObject)
public void unsetHiveObject()
public boolean isSetHiveObject()
public void setHiveObjectIsSet(boolean value)
public String getPrincipalName()
public void setPrincipalName(String principalName)
public void unsetPrincipalName()
public boolean isSetPrincipalName()
public void setPrincipalNameIsSet(boolean value)
public PrincipalType getPrincipalType()
PrincipalType
public void setPrincipalType(PrincipalType principalType)
PrincipalType
public void unsetPrincipalType()
public boolean isSetPrincipalType()
public void setPrincipalTypeIsSet(boolean value)
public PrivilegeGrantInfo getGrantInfo()
public void setGrantInfo(PrivilegeGrantInfo grantInfo)
public void unsetGrantInfo()
public boolean isSetGrantInfo()
public void setGrantInfoIsSet(boolean value)
public void setFieldValue(HiveObjectPrivilege._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<HiveObjectPrivilege,HiveObjectPrivilege._Fields>
public Object getFieldValue(HiveObjectPrivilege._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<HiveObjectPrivilege,HiveObjectPrivilege._Fields>
public boolean isSet(HiveObjectPrivilege._Fields field)
isSet
in interface org.apache.thrift.TBase<HiveObjectPrivilege,HiveObjectPrivilege._Fields>
public boolean equals(Object that)
equals
in class Object
public boolean equals(HiveObjectPrivilege that)
public int hashCode()
hashCode
in class Object
public int compareTo(HiveObjectPrivilege other)
compareTo
in interface Comparable<HiveObjectPrivilege>
public HiveObjectPrivilege._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<HiveObjectPrivilege,HiveObjectPrivilege._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<HiveObjectPrivilege,HiveObjectPrivilege._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<HiveObjectPrivilege,HiveObjectPrivilege._Fields>
org.apache.thrift.TException
public 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 |