public class TSentryAuthorizable extends Object implements org.apache.thrift.TBase<TSentryAuthorizable,TSentryAuthorizable._Fields>, Serializable, Cloneable
Modifier and Type | Class and Description |
---|---|
static class |
TSentryAuthorizable._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<TSentryAuthorizable._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
TSentryAuthorizable() |
TSentryAuthorizable(String server) |
TSentryAuthorizable(TSentryAuthorizable other)
Performs a deep copy on other.
|
Modifier and Type | Method and Description |
---|---|
void |
clear() |
int |
compareTo(TSentryAuthorizable other) |
TSentryAuthorizable |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(TSentryAuthorizable that) |
TSentryAuthorizable._Fields |
fieldForId(int fieldId) |
String |
getDb() |
Object |
getFieldValue(TSentryAuthorizable._Fields field) |
String |
getServer() |
String |
getTable() |
String |
getUri() |
int |
hashCode() |
boolean |
isSet(TSentryAuthorizable._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetDb()
Returns true if field db is set (has been assigned a value) and false otherwise
|
boolean |
isSetServer()
Returns true if field server is set (has been assigned a value) and false otherwise
|
boolean |
isSetTable()
Returns true if field table is set (has been assigned a value) and false otherwise
|
boolean |
isSetUri()
Returns true if field uri is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
setDb(String db) |
void |
setDbIsSet(boolean value) |
void |
setFieldValue(TSentryAuthorizable._Fields field,
Object value) |
void |
setServer(String server) |
void |
setServerIsSet(boolean value) |
void |
setTable(String table) |
void |
setTableIsSet(boolean value) |
void |
setUri(String uri) |
void |
setUriIsSet(boolean value) |
String |
toString() |
void |
unsetDb() |
void |
unsetServer() |
void |
unsetTable() |
void |
unsetUri() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final Map<TSentryAuthorizable._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public TSentryAuthorizable()
public TSentryAuthorizable(String server)
public TSentryAuthorizable(TSentryAuthorizable other)
public TSentryAuthorizable deepCopy()
deepCopy
in interface org.apache.thrift.TBase<TSentryAuthorizable,TSentryAuthorizable._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<TSentryAuthorizable,TSentryAuthorizable._Fields>
public String getServer()
public void setServer(String server)
public void unsetServer()
public boolean isSetServer()
public void setServerIsSet(boolean value)
public String getUri()
public void setUri(String uri)
public void unsetUri()
public boolean isSetUri()
public void setUriIsSet(boolean value)
public String getDb()
public void setDb(String db)
public void unsetDb()
public boolean isSetDb()
public void setDbIsSet(boolean value)
public String getTable()
public void setTable(String table)
public void unsetTable()
public boolean isSetTable()
public void setTableIsSet(boolean value)
public void setFieldValue(TSentryAuthorizable._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<TSentryAuthorizable,TSentryAuthorizable._Fields>
public Object getFieldValue(TSentryAuthorizable._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<TSentryAuthorizable,TSentryAuthorizable._Fields>
public boolean isSet(TSentryAuthorizable._Fields field)
isSet
in interface org.apache.thrift.TBase<TSentryAuthorizable,TSentryAuthorizable._Fields>
public boolean equals(TSentryAuthorizable that)
public int compareTo(TSentryAuthorizable other)
compareTo
in interface Comparable<TSentryAuthorizable>
public TSentryAuthorizable._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<TSentryAuthorizable,TSentryAuthorizable._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<TSentryAuthorizable,TSentryAuthorizable._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<TSentryAuthorizable,TSentryAuthorizable._Fields>
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2015 Cloudera. All rights reserved.