public class TListSentryPrivilegesResponse extends Object implements org.apache.thrift.TBase<TListSentryPrivilegesResponse,TListSentryPrivilegesResponse._Fields>, Serializable, Cloneable
Modifier and Type | Class and Description |
---|---|
static class |
TListSentryPrivilegesResponse._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<TListSentryPrivilegesResponse._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
TListSentryPrivilegesResponse() |
TListSentryPrivilegesResponse(TListSentryPrivilegesResponse other)
Performs a deep copy on other.
|
TListSentryPrivilegesResponse(TSentryResponseStatus status) |
Modifier and Type | Method and Description |
---|---|
void |
addToPrivileges(TSentryPrivilege elem) |
void |
clear() |
int |
compareTo(TListSentryPrivilegesResponse other) |
TListSentryPrivilegesResponse |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(TListSentryPrivilegesResponse that) |
TListSentryPrivilegesResponse._Fields |
fieldForId(int fieldId) |
Object |
getFieldValue(TListSentryPrivilegesResponse._Fields field) |
Set<TSentryPrivilege> |
getPrivileges() |
Iterator<TSentryPrivilege> |
getPrivilegesIterator() |
int |
getPrivilegesSize() |
TSentryResponseStatus |
getStatus() |
int |
hashCode() |
boolean |
isSet(TListSentryPrivilegesResponse._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetPrivileges()
Returns true if field privileges is set (has been assigned a value) and false otherwise
|
boolean |
isSetStatus()
Returns true if field status is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
setFieldValue(TListSentryPrivilegesResponse._Fields field,
Object value) |
void |
setPrivileges(Set<TSentryPrivilege> privileges) |
void |
setPrivilegesIsSet(boolean value) |
void |
setStatus(TSentryResponseStatus status) |
void |
setStatusIsSet(boolean value) |
String |
toString() |
void |
unsetPrivileges() |
void |
unsetStatus() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final Map<TListSentryPrivilegesResponse._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public TListSentryPrivilegesResponse()
public TListSentryPrivilegesResponse(TSentryResponseStatus status)
public TListSentryPrivilegesResponse(TListSentryPrivilegesResponse other)
public TListSentryPrivilegesResponse deepCopy()
deepCopy
in interface org.apache.thrift.TBase<TListSentryPrivilegesResponse,TListSentryPrivilegesResponse._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<TListSentryPrivilegesResponse,TListSentryPrivilegesResponse._Fields>
public TSentryResponseStatus getStatus()
public void setStatus(TSentryResponseStatus status)
public void unsetStatus()
public boolean isSetStatus()
public void setStatusIsSet(boolean value)
public int getPrivilegesSize()
public Iterator<TSentryPrivilege> getPrivilegesIterator()
public void addToPrivileges(TSentryPrivilege elem)
public Set<TSentryPrivilege> getPrivileges()
public void setPrivileges(Set<TSentryPrivilege> privileges)
public void unsetPrivileges()
public boolean isSetPrivileges()
public void setPrivilegesIsSet(boolean value)
public void setFieldValue(TListSentryPrivilegesResponse._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<TListSentryPrivilegesResponse,TListSentryPrivilegesResponse._Fields>
public Object getFieldValue(TListSentryPrivilegesResponse._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<TListSentryPrivilegesResponse,TListSentryPrivilegesResponse._Fields>
public boolean isSet(TListSentryPrivilegesResponse._Fields field)
isSet
in interface org.apache.thrift.TBase<TListSentryPrivilegesResponse,TListSentryPrivilegesResponse._Fields>
public boolean equals(TListSentryPrivilegesResponse that)
public int compareTo(TListSentryPrivilegesResponse other)
compareTo
in interface Comparable<TListSentryPrivilegesResponse>
public TListSentryPrivilegesResponse._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<TListSentryPrivilegesResponse,TListSentryPrivilegesResponse._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<TListSentryPrivilegesResponse,TListSentryPrivilegesResponse._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<TListSentryPrivilegesResponse,TListSentryPrivilegesResponse._Fields>
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2015 Cloudera. All rights reserved.