public class TSentryPrivilegeMap extends Object implements org.apache.thrift.TBase<TSentryPrivilegeMap,TSentryPrivilegeMap._Fields>, Serializable, Cloneable
Modifier and Type | Class and Description |
---|---|
static class |
TSentryPrivilegeMap._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<TSentryPrivilegeMap._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
TSentryPrivilegeMap() |
TSentryPrivilegeMap(Map<String,Set<TSentryPrivilege>> privilegeMap) |
TSentryPrivilegeMap(TSentryPrivilegeMap other)
Performs a deep copy on other.
|
Modifier and Type | Method and Description |
---|---|
void |
clear() |
int |
compareTo(TSentryPrivilegeMap other) |
TSentryPrivilegeMap |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(TSentryPrivilegeMap that) |
TSentryPrivilegeMap._Fields |
fieldForId(int fieldId) |
Object |
getFieldValue(TSentryPrivilegeMap._Fields field) |
Map<String,Set<TSentryPrivilege>> |
getPrivilegeMap() |
int |
getPrivilegeMapSize() |
int |
hashCode() |
boolean |
isSet(TSentryPrivilegeMap._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetPrivilegeMap()
Returns true if field privilegeMap is set (has been assigned a value) and false otherwise
|
void |
putToPrivilegeMap(String key,
Set<TSentryPrivilege> val) |
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
setFieldValue(TSentryPrivilegeMap._Fields field,
Object value) |
void |
setPrivilegeMap(Map<String,Set<TSentryPrivilege>> privilegeMap) |
void |
setPrivilegeMapIsSet(boolean value) |
String |
toString() |
void |
unsetPrivilegeMap() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final Map<TSentryPrivilegeMap._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public TSentryPrivilegeMap()
public TSentryPrivilegeMap(Map<String,Set<TSentryPrivilege>> privilegeMap)
public TSentryPrivilegeMap(TSentryPrivilegeMap other)
public TSentryPrivilegeMap deepCopy()
deepCopy
in interface org.apache.thrift.TBase<TSentryPrivilegeMap,TSentryPrivilegeMap._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<TSentryPrivilegeMap,TSentryPrivilegeMap._Fields>
public int getPrivilegeMapSize()
public void putToPrivilegeMap(String key, Set<TSentryPrivilege> val)
public Map<String,Set<TSentryPrivilege>> getPrivilegeMap()
public void setPrivilegeMap(Map<String,Set<TSentryPrivilege>> privilegeMap)
public void unsetPrivilegeMap()
public boolean isSetPrivilegeMap()
public void setPrivilegeMapIsSet(boolean value)
public void setFieldValue(TSentryPrivilegeMap._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<TSentryPrivilegeMap,TSentryPrivilegeMap._Fields>
public Object getFieldValue(TSentryPrivilegeMap._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<TSentryPrivilegeMap,TSentryPrivilegeMap._Fields>
public boolean isSet(TSentryPrivilegeMap._Fields field)
isSet
in interface org.apache.thrift.TBase<TSentryPrivilegeMap,TSentryPrivilegeMap._Fields>
public boolean equals(TSentryPrivilegeMap that)
public int compareTo(TSentryPrivilegeMap other)
compareTo
in interface Comparable<TSentryPrivilegeMap>
public TSentryPrivilegeMap._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<TSentryPrivilegeMap,TSentryPrivilegeMap._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<TSentryPrivilegeMap,TSentryPrivilegeMap._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<TSentryPrivilegeMap,TSentryPrivilegeMap._Fields>
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2015 Cloudera. All rights reserved.