@InterfaceAudience.Public @InterfaceStability.Stable public static class ThriftHiveMetastore.refresh_privileges_args extends Object implements org.apache.thrift.TBase<ThriftHiveMetastore.refresh_privileges_args,ThriftHiveMetastore.refresh_privileges_args._Fields>, Serializable, Cloneable, Comparable<ThriftHiveMetastore.refresh_privileges_args>
| Modifier and Type | Class and Description |
|---|---|
static class |
ThriftHiveMetastore.refresh_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.refresh_privileges_args._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
| Constructor and Description |
|---|
refresh_privileges_args() |
refresh_privileges_args(HiveObjectRef objToRefresh,
String authorizer,
GrantRevokePrivilegeRequest grantRequest) |
refresh_privileges_args(ThriftHiveMetastore.refresh_privileges_args other)
Performs a deep copy on other.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
int |
compareTo(ThriftHiveMetastore.refresh_privileges_args other) |
ThriftHiveMetastore.refresh_privileges_args |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(ThriftHiveMetastore.refresh_privileges_args that) |
ThriftHiveMetastore.refresh_privileges_args._Fields |
fieldForId(int fieldId) |
String |
getAuthorizer() |
Object |
getFieldValue(ThriftHiveMetastore.refresh_privileges_args._Fields field) |
GrantRevokePrivilegeRequest |
getGrantRequest() |
HiveObjectRef |
getObjToRefresh() |
int |
hashCode() |
boolean |
isSet(ThriftHiveMetastore.refresh_privileges_args._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetAuthorizer()
Returns true if field authorizer is set (has been assigned a value) and false otherwise
|
boolean |
isSetGrantRequest()
Returns true if field grantRequest is set (has been assigned a value) and false otherwise
|
boolean |
isSetObjToRefresh()
Returns true if field objToRefresh is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
setAuthorizer(String authorizer) |
void |
setAuthorizerIsSet(boolean value) |
void |
setFieldValue(ThriftHiveMetastore.refresh_privileges_args._Fields field,
Object value) |
void |
setGrantRequest(GrantRevokePrivilegeRequest grantRequest) |
void |
setGrantRequestIsSet(boolean value) |
void |
setObjToRefresh(HiveObjectRef objToRefresh) |
void |
setObjToRefreshIsSet(boolean value) |
String |
toString() |
void |
unsetAuthorizer() |
void |
unsetGrantRequest() |
void |
unsetObjToRefresh() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final Map<ThriftHiveMetastore.refresh_privileges_args._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public refresh_privileges_args()
public refresh_privileges_args(HiveObjectRef objToRefresh, String authorizer, GrantRevokePrivilegeRequest grantRequest)
public refresh_privileges_args(ThriftHiveMetastore.refresh_privileges_args other)
public ThriftHiveMetastore.refresh_privileges_args deepCopy()
deepCopy in interface org.apache.thrift.TBase<ThriftHiveMetastore.refresh_privileges_args,ThriftHiveMetastore.refresh_privileges_args._Fields>public void clear()
clear in interface org.apache.thrift.TBase<ThriftHiveMetastore.refresh_privileges_args,ThriftHiveMetastore.refresh_privileges_args._Fields>public HiveObjectRef getObjToRefresh()
public void setObjToRefresh(HiveObjectRef objToRefresh)
public void unsetObjToRefresh()
public boolean isSetObjToRefresh()
public void setObjToRefreshIsSet(boolean value)
public String getAuthorizer()
public void setAuthorizer(String authorizer)
public void unsetAuthorizer()
public boolean isSetAuthorizer()
public void setAuthorizerIsSet(boolean value)
public GrantRevokePrivilegeRequest getGrantRequest()
public void setGrantRequest(GrantRevokePrivilegeRequest grantRequest)
public void unsetGrantRequest()
public boolean isSetGrantRequest()
public void setGrantRequestIsSet(boolean value)
public void setFieldValue(ThriftHiveMetastore.refresh_privileges_args._Fields field, Object value)
setFieldValue in interface org.apache.thrift.TBase<ThriftHiveMetastore.refresh_privileges_args,ThriftHiveMetastore.refresh_privileges_args._Fields>public Object getFieldValue(ThriftHiveMetastore.refresh_privileges_args._Fields field)
getFieldValue in interface org.apache.thrift.TBase<ThriftHiveMetastore.refresh_privileges_args,ThriftHiveMetastore.refresh_privileges_args._Fields>public boolean isSet(ThriftHiveMetastore.refresh_privileges_args._Fields field)
isSet in interface org.apache.thrift.TBase<ThriftHiveMetastore.refresh_privileges_args,ThriftHiveMetastore.refresh_privileges_args._Fields>public boolean equals(ThriftHiveMetastore.refresh_privileges_args that)
public int compareTo(ThriftHiveMetastore.refresh_privileges_args other)
compareTo in interface Comparable<ThriftHiveMetastore.refresh_privileges_args>public ThriftHiveMetastore.refresh_privileges_args._Fields fieldForId(int fieldId)
fieldForId in interface org.apache.thrift.TBase<ThriftHiveMetastore.refresh_privileges_args,ThriftHiveMetastore.refresh_privileges_args._Fields>public void read(org.apache.thrift.protocol.TProtocol iprot)
throws org.apache.thrift.TException
read in interface org.apache.thrift.TSerializableorg.apache.thrift.TExceptionpublic void write(org.apache.thrift.protocol.TProtocol oprot)
throws org.apache.thrift.TException
write in interface org.apache.thrift.TSerializableorg.apache.thrift.TExceptionpublic void validate()
throws org.apache.thrift.TException
org.apache.thrift.TExceptionCopyright © 2024 The Apache Software Foundation. All rights reserved.