|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hadoop.hive.metastore.api.PrivilegeGrantInfo
public class PrivilegeGrantInfo
| Nested Class Summary | |
|---|---|
static class |
PrivilegeGrantInfo._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them. |
| Field Summary | |
|---|---|
static Map<PrivilegeGrantInfo._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap
|
| Constructor Summary | |
|---|---|
PrivilegeGrantInfo()
|
|
PrivilegeGrantInfo(PrivilegeGrantInfo other)
Performs a deep copy on other. |
|
PrivilegeGrantInfo(String privilege,
int createTime,
String grantor,
PrincipalType grantorType,
boolean grantOption)
|
|
| Method Summary | |
|---|---|
void |
clear()
|
int |
compareTo(PrivilegeGrantInfo other)
|
PrivilegeGrantInfo |
deepCopy()
|
boolean |
equals(Object that)
|
boolean |
equals(PrivilegeGrantInfo that)
|
PrivilegeGrantInfo._Fields |
fieldForId(int fieldId)
|
int |
getCreateTime()
|
Object |
getFieldValue(PrivilegeGrantInfo._Fields field)
|
String |
getGrantor()
|
PrincipalType |
getGrantorType()
|
String |
getPrivilege()
|
int |
hashCode()
|
boolean |
isGrantOption()
|
boolean |
isSet(PrivilegeGrantInfo._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise |
boolean |
isSetCreateTime()
Returns true if field createTime is set (has been assigned a value) and false otherwise |
boolean |
isSetGrantOption()
Returns true if field grantOption 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 |
isSetPrivilege()
Returns true if field privilege is set (has been assigned a value) and false otherwise |
void |
read(org.apache.thrift.protocol.TProtocol iprot)
|
void |
setCreateTime(int createTime)
|
void |
setCreateTimeIsSet(boolean value)
|
void |
setFieldValue(PrivilegeGrantInfo._Fields field,
Object value)
|
void |
setGrantOption(boolean grantOption)
|
void |
setGrantOptionIsSet(boolean value)
|
void |
setGrantor(String grantor)
|
void |
setGrantorIsSet(boolean value)
|
void |
setGrantorType(PrincipalType grantorType)
|
void |
setGrantorTypeIsSet(boolean value)
|
void |
setPrivilege(String privilege)
|
void |
setPrivilegeIsSet(boolean value)
|
String |
toString()
|
void |
unsetCreateTime()
|
void |
unsetGrantOption()
|
void |
unsetGrantor()
|
void |
unsetGrantorType()
|
void |
unsetPrivilege()
|
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<PrivilegeGrantInfo._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
| Constructor Detail |
|---|
public PrivilegeGrantInfo()
public PrivilegeGrantInfo(String privilege,
int createTime,
String grantor,
PrincipalType grantorType,
boolean grantOption)
public PrivilegeGrantInfo(PrivilegeGrantInfo other)
| Method Detail |
|---|
public PrivilegeGrantInfo deepCopy()
deepCopy in interface org.apache.thrift.TBase<PrivilegeGrantInfo,PrivilegeGrantInfo._Fields>public void clear()
clear in interface org.apache.thrift.TBase<PrivilegeGrantInfo,PrivilegeGrantInfo._Fields>public String getPrivilege()
public void setPrivilege(String privilege)
public void unsetPrivilege()
public boolean isSetPrivilege()
public void setPrivilegeIsSet(boolean value)
public int getCreateTime()
public void setCreateTime(int createTime)
public void unsetCreateTime()
public boolean isSetCreateTime()
public void setCreateTimeIsSet(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 isGrantOption()
public void setGrantOption(boolean grantOption)
public void unsetGrantOption()
public boolean isSetGrantOption()
public void setGrantOptionIsSet(boolean value)
public void setFieldValue(PrivilegeGrantInfo._Fields field,
Object value)
setFieldValue in interface org.apache.thrift.TBase<PrivilegeGrantInfo,PrivilegeGrantInfo._Fields>public Object getFieldValue(PrivilegeGrantInfo._Fields field)
getFieldValue in interface org.apache.thrift.TBase<PrivilegeGrantInfo,PrivilegeGrantInfo._Fields>public boolean isSet(PrivilegeGrantInfo._Fields field)
isSet in interface org.apache.thrift.TBase<PrivilegeGrantInfo,PrivilegeGrantInfo._Fields>public boolean equals(Object that)
equals in class Objectpublic boolean equals(PrivilegeGrantInfo that)
public int hashCode()
hashCode in class Objectpublic int compareTo(PrivilegeGrantInfo other)
compareTo in interface Comparable<PrivilegeGrantInfo>public PrivilegeGrantInfo._Fields fieldForId(int fieldId)
fieldForId in interface org.apache.thrift.TBase<PrivilegeGrantInfo,PrivilegeGrantInfo._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot)
throws org.apache.thrift.TException
read in interface org.apache.thrift.TBase<PrivilegeGrantInfo,PrivilegeGrantInfo._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<PrivilegeGrantInfo,PrivilegeGrantInfo._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 | |||||||||