public static class ThriftHiveMetastore.grant_revoke_privileges_result extends Object implements org.apache.thrift.TBase<ThriftHiveMetastore.grant_revoke_privileges_result,ThriftHiveMetastore.grant_revoke_privileges_result._Fields>, Serializable, Cloneable
Modifier and Type | Class and Description |
---|---|
static class |
ThriftHiveMetastore.grant_revoke_privileges_result._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_revoke_privileges_result._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
ThriftHiveMetastore.grant_revoke_privileges_result() |
ThriftHiveMetastore.grant_revoke_privileges_result(GrantRevokePrivilegeResponse success,
MetaException o1) |
ThriftHiveMetastore.grant_revoke_privileges_result(ThriftHiveMetastore.grant_revoke_privileges_result other)
Performs a deep copy on other.
|
public static final Map<ThriftHiveMetastore.grant_revoke_privileges_result._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public ThriftHiveMetastore.grant_revoke_privileges_result()
public ThriftHiveMetastore.grant_revoke_privileges_result(GrantRevokePrivilegeResponse success, MetaException o1)
public ThriftHiveMetastore.grant_revoke_privileges_result(ThriftHiveMetastore.grant_revoke_privileges_result other)
public ThriftHiveMetastore.grant_revoke_privileges_result deepCopy()
deepCopy
in interface org.apache.thrift.TBase<ThriftHiveMetastore.grant_revoke_privileges_result,ThriftHiveMetastore.grant_revoke_privileges_result._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<ThriftHiveMetastore.grant_revoke_privileges_result,ThriftHiveMetastore.grant_revoke_privileges_result._Fields>
public GrantRevokePrivilegeResponse getSuccess()
public void setSuccess(GrantRevokePrivilegeResponse success)
public void unsetSuccess()
public boolean isSetSuccess()
public void setSuccessIsSet(boolean value)
public MetaException getO1()
public void setO1(MetaException o1)
public void unsetO1()
public boolean isSetO1()
public void setO1IsSet(boolean value)
public void setFieldValue(ThriftHiveMetastore.grant_revoke_privileges_result._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<ThriftHiveMetastore.grant_revoke_privileges_result,ThriftHiveMetastore.grant_revoke_privileges_result._Fields>
public Object getFieldValue(ThriftHiveMetastore.grant_revoke_privileges_result._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<ThriftHiveMetastore.grant_revoke_privileges_result,ThriftHiveMetastore.grant_revoke_privileges_result._Fields>
public boolean isSet(ThriftHiveMetastore.grant_revoke_privileges_result._Fields field)
isSet
in interface org.apache.thrift.TBase<ThriftHiveMetastore.grant_revoke_privileges_result,ThriftHiveMetastore.grant_revoke_privileges_result._Fields>
public boolean equals(ThriftHiveMetastore.grant_revoke_privileges_result that)
public int compareTo(ThriftHiveMetastore.grant_revoke_privileges_result other)
compareTo
in interface Comparable<ThriftHiveMetastore.grant_revoke_privileges_result>
public ThriftHiveMetastore.grant_revoke_privileges_result._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<ThriftHiveMetastore.grant_revoke_privileges_result,ThriftHiveMetastore.grant_revoke_privileges_result._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<ThriftHiveMetastore.grant_revoke_privileges_result,ThriftHiveMetastore.grant_revoke_privileges_result._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_revoke_privileges_result,ThriftHiveMetastore.grant_revoke_privileges_result._Fields>
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2017 The Apache Software Foundation. All rights reserved.