@Generated(value="Autogenerated by Thrift Compiler (0.9.2)", date="2015-10-16") public class RawTableInfo extends Object implements org.apache.thrift.TBase<RawTableInfo,RawTableInfo._Fields>, Serializable, Cloneable, Comparable<RawTableInfo>
| Modifier and Type | Class and Description |
|---|---|
static class |
RawTableInfo._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 |
long |
id |
ByteBuffer |
metadata |
static Map<RawTableInfo._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
String |
name |
String |
path |
| Constructor and Description |
|---|
RawTableInfo() |
RawTableInfo(long id,
String name,
String path,
int columns,
ByteBuffer metadata) |
RawTableInfo(RawTableInfo other)
Performs a deep copy on other.
|
| Modifier and Type | Method and Description |
|---|---|
ByteBuffer |
bufferForMetadata() |
void |
clear() |
int |
compareTo(RawTableInfo other) |
RawTableInfo |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(RawTableInfo that) |
RawTableInfo._Fields |
fieldForId(int fieldId) |
int |
getColumns() |
Object |
getFieldValue(RawTableInfo._Fields field) |
long |
getId() |
byte[] |
getMetadata() |
String |
getName() |
String |
getPath() |
int |
hashCode() |
boolean |
isSet(RawTableInfo._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) |
RawTableInfo |
setColumns(int columns) |
void |
setColumnsIsSet(boolean value) |
void |
setFieldValue(RawTableInfo._Fields field,
Object value) |
RawTableInfo |
setId(long id) |
void |
setIdIsSet(boolean value) |
RawTableInfo |
setMetadata(byte[] metadata) |
RawTableInfo |
setMetadata(ByteBuffer metadata) |
void |
setMetadataIsSet(boolean value) |
RawTableInfo |
setName(String name) |
void |
setNameIsSet(boolean value) |
RawTableInfo |
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 long id
public String name
public String path
public int columns
public ByteBuffer metadata
public static final Map<RawTableInfo._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public RawTableInfo()
public RawTableInfo(long id,
String name,
String path,
int columns,
ByteBuffer metadata)
public RawTableInfo(RawTableInfo other)
public RawTableInfo deepCopy()
deepCopy in interface org.apache.thrift.TBase<RawTableInfo,RawTableInfo._Fields>public void clear()
clear in interface org.apache.thrift.TBase<RawTableInfo,RawTableInfo._Fields>public long getId()
public RawTableInfo setId(long id)
public void unsetId()
public boolean isSetId()
public void setIdIsSet(boolean value)
public String getName()
public RawTableInfo setName(String name)
public void unsetName()
public boolean isSetName()
public void setNameIsSet(boolean value)
public String getPath()
public RawTableInfo setPath(String path)
public void unsetPath()
public boolean isSetPath()
public void setPathIsSet(boolean value)
public int getColumns()
public RawTableInfo setColumns(int columns)
public void unsetColumns()
public boolean isSetColumns()
public void setColumnsIsSet(boolean value)
public byte[] getMetadata()
public ByteBuffer bufferForMetadata()
public RawTableInfo setMetadata(byte[] metadata)
public RawTableInfo setMetadata(ByteBuffer metadata)
public void unsetMetadata()
public boolean isSetMetadata()
public void setMetadataIsSet(boolean value)
public void setFieldValue(RawTableInfo._Fields field, Object value)
setFieldValue in interface org.apache.thrift.TBase<RawTableInfo,RawTableInfo._Fields>public Object getFieldValue(RawTableInfo._Fields field)
getFieldValue in interface org.apache.thrift.TBase<RawTableInfo,RawTableInfo._Fields>public boolean isSet(RawTableInfo._Fields field)
isSet in interface org.apache.thrift.TBase<RawTableInfo,RawTableInfo._Fields>public boolean equals(RawTableInfo that)
public int compareTo(RawTableInfo other)
compareTo in interface Comparable<RawTableInfo>public RawTableInfo._Fields fieldForId(int fieldId)
fieldForId in interface org.apache.thrift.TBase<RawTableInfo,RawTableInfo._Fields>public void read(org.apache.thrift.protocol.TProtocol iprot)
throws org.apache.thrift.TException
read in interface org.apache.thrift.TBase<RawTableInfo,RawTableInfo._Fields>org.apache.thrift.TExceptionpublic void write(org.apache.thrift.protocol.TProtocol oprot)
throws org.apache.thrift.TException
write in interface org.apache.thrift.TBase<RawTableInfo,RawTableInfo._Fields>org.apache.thrift.TExceptionpublic void validate()
throws org.apache.thrift.TException
org.apache.thrift.TExceptionCopyright © 2015. All Rights Reserved.