public class ClientRawTableInfo extends Object implements org.apache.thrift.TBase<ClientRawTableInfo,ClientRawTableInfo._Fields>, Serializable, Cloneable, Comparable<ClientRawTableInfo>
Modifier and Type | Class and Description |
---|---|
static class |
ClientRawTableInfo._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
Modifier and Type | Field and Description |
---|---|
int |
columns |
int |
id |
ByteBuffer |
metadata |
static Map<ClientRawTableInfo._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
String |
name |
String |
path |
Constructor and Description |
---|
ClientRawTableInfo() |
ClientRawTableInfo(ClientRawTableInfo other)
Performs a deep copy on other.
|
ClientRawTableInfo(int id,
String name,
String path,
int columns,
ByteBuffer metadata) |
Modifier and Type | Method and Description |
---|---|
ByteBuffer |
bufferForMetadata() |
void |
clear() |
int |
compareTo(ClientRawTableInfo other) |
ClientRawTableInfo |
deepCopy() |
boolean |
equals(ClientRawTableInfo that) |
boolean |
equals(Object that) |
ClientRawTableInfo._Fields |
fieldForId(int fieldId) |
int |
getColumns() |
Object |
getFieldValue(ClientRawTableInfo._Fields field) |
int |
getId() |
byte[] |
getMetadata() |
String |
getName() |
String |
getPath() |
int |
hashCode() |
boolean |
isSet(ClientRawTableInfo._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetColumns()
Returns true if field columns is set (has been assigned a value) and false otherwise
|
boolean |
isSetId()
Returns true if field id is set (has been assigned a value) and false otherwise
|
boolean |
isSetMetadata()
Returns true if field metadata is set (has been assigned a value) and false otherwise
|
boolean |
isSetName()
Returns true if field name is set (has been assigned a value) and false otherwise
|
boolean |
isSetPath()
Returns true if field path is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
ClientRawTableInfo |
setColumns(int columns) |
void |
setColumnsIsSet(boolean value) |
void |
setFieldValue(ClientRawTableInfo._Fields field,
Object value) |
ClientRawTableInfo |
setId(int id) |
void |
setIdIsSet(boolean value) |
ClientRawTableInfo |
setMetadata(byte[] metadata) |
ClientRawTableInfo |
setMetadata(ByteBuffer metadata) |
void |
setMetadataIsSet(boolean value) |
ClientRawTableInfo |
setName(String name) |
void |
setNameIsSet(boolean value) |
ClientRawTableInfo |
setPath(String path) |
void |
setPathIsSet(boolean value) |
String |
toString() |
void |
unsetColumns() |
void |
unsetId() |
void |
unsetMetadata() |
void |
unsetName() |
void |
unsetPath() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public int id
public String name
public String path
public int columns
public ByteBuffer metadata
public static final Map<ClientRawTableInfo._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public ClientRawTableInfo()
public ClientRawTableInfo(int id, String name, String path, int columns, ByteBuffer metadata)
public ClientRawTableInfo(ClientRawTableInfo other)
public ClientRawTableInfo deepCopy()
deepCopy
in interface org.apache.thrift.TBase<ClientRawTableInfo,ClientRawTableInfo._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<ClientRawTableInfo,ClientRawTableInfo._Fields>
public int getId()
public ClientRawTableInfo setId(int id)
public void unsetId()
public boolean isSetId()
public void setIdIsSet(boolean value)
public String getName()
public ClientRawTableInfo setName(String name)
public void unsetName()
public boolean isSetName()
public void setNameIsSet(boolean value)
public String getPath()
public ClientRawTableInfo setPath(String path)
public void unsetPath()
public boolean isSetPath()
public void setPathIsSet(boolean value)
public int getColumns()
public ClientRawTableInfo setColumns(int columns)
public void unsetColumns()
public boolean isSetColumns()
public void setColumnsIsSet(boolean value)
public byte[] getMetadata()
public ByteBuffer bufferForMetadata()
public ClientRawTableInfo setMetadata(byte[] metadata)
public ClientRawTableInfo setMetadata(ByteBuffer metadata)
public void unsetMetadata()
public boolean isSetMetadata()
public void setMetadataIsSet(boolean value)
public void setFieldValue(ClientRawTableInfo._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<ClientRawTableInfo,ClientRawTableInfo._Fields>
public Object getFieldValue(ClientRawTableInfo._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<ClientRawTableInfo,ClientRawTableInfo._Fields>
public boolean isSet(ClientRawTableInfo._Fields field)
isSet
in interface org.apache.thrift.TBase<ClientRawTableInfo,ClientRawTableInfo._Fields>
public boolean equals(ClientRawTableInfo that)
public int compareTo(ClientRawTableInfo other)
compareTo
in interface Comparable<ClientRawTableInfo>
public ClientRawTableInfo._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<ClientRawTableInfo,ClientRawTableInfo._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<ClientRawTableInfo,ClientRawTableInfo._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<ClientRawTableInfo,ClientRawTableInfo._Fields>
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2013. All rights reserved.