public class TListSentryPrivilegesByAuthResponse extends Object implements org.apache.thrift.TBase<TListSentryPrivilegesByAuthResponse,TListSentryPrivilegesByAuthResponse._Fields>, Serializable, Cloneable
Modifier and Type | Class and Description |
---|---|
static class |
TListSentryPrivilegesByAuthResponse._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<TListSentryPrivilegesByAuthResponse._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
TListSentryPrivilegesByAuthResponse() |
TListSentryPrivilegesByAuthResponse(TListSentryPrivilegesByAuthResponse other)
Performs a deep copy on other.
|
TListSentryPrivilegesByAuthResponse(TSentryResponseStatus status) |
public static final Map<TListSentryPrivilegesByAuthResponse._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public TListSentryPrivilegesByAuthResponse()
public TListSentryPrivilegesByAuthResponse(TSentryResponseStatus status)
public TListSentryPrivilegesByAuthResponse(TListSentryPrivilegesByAuthResponse other)
public TListSentryPrivilegesByAuthResponse deepCopy()
deepCopy
in interface org.apache.thrift.TBase<TListSentryPrivilegesByAuthResponse,TListSentryPrivilegesByAuthResponse._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<TListSentryPrivilegesByAuthResponse,TListSentryPrivilegesByAuthResponse._Fields>
public TSentryResponseStatus getStatus()
public void setStatus(TSentryResponseStatus status)
public void unsetStatus()
public boolean isSetStatus()
public void setStatusIsSet(boolean value)
public int getPrivilegesMapByAuthSize()
public void putToPrivilegesMapByAuth(TSentryAuthorizable key, TSentryPrivilegeMap val)
public Map<TSentryAuthorizable,TSentryPrivilegeMap> getPrivilegesMapByAuth()
public void setPrivilegesMapByAuth(Map<TSentryAuthorizable,TSentryPrivilegeMap> privilegesMapByAuth)
public void unsetPrivilegesMapByAuth()
public boolean isSetPrivilegesMapByAuth()
public void setPrivilegesMapByAuthIsSet(boolean value)
public void setFieldValue(TListSentryPrivilegesByAuthResponse._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<TListSentryPrivilegesByAuthResponse,TListSentryPrivilegesByAuthResponse._Fields>
public Object getFieldValue(TListSentryPrivilegesByAuthResponse._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<TListSentryPrivilegesByAuthResponse,TListSentryPrivilegesByAuthResponse._Fields>
public boolean isSet(TListSentryPrivilegesByAuthResponse._Fields field)
isSet
in interface org.apache.thrift.TBase<TListSentryPrivilegesByAuthResponse,TListSentryPrivilegesByAuthResponse._Fields>
public boolean equals(TListSentryPrivilegesByAuthResponse that)
public int compareTo(TListSentryPrivilegesByAuthResponse other)
compareTo
in interface Comparable<TListSentryPrivilegesByAuthResponse>
public TListSentryPrivilegesByAuthResponse._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<TListSentryPrivilegesByAuthResponse,TListSentryPrivilegesByAuthResponse._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<TListSentryPrivilegesByAuthResponse,TListSentryPrivilegesByAuthResponse._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<TListSentryPrivilegesByAuthResponse,TListSentryPrivilegesByAuthResponse._Fields>
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2015 Cloudera. All rights reserved.