tachyon.thrift
Class ClientRawTableInfo

java.lang.Object
  extended by tachyon.thrift.ClientRawTableInfo
All Implemented Interfaces:
Serializable, Cloneable, Comparable<ClientRawTableInfo>, org.apache.thrift.TBase<ClientRawTableInfo,ClientRawTableInfo._Fields>

public class ClientRawTableInfo
extends Object
implements org.apache.thrift.TBase<ClientRawTableInfo,ClientRawTableInfo._Fields>, Serializable, Cloneable

See Also:
Serialized Form

Nested Class Summary
static class ClientRawTableInfo._Fields
          The set of fields this struct contains, along with convenience methods for finding and manipulating them.
 
Field Summary
 int columns
           
 int id
           
 ByteBuffer metadata
           
static Map<ClientRawTableInfo._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
           
 String name
           
 String path
           
 
Constructor Summary
ClientRawTableInfo()
           
ClientRawTableInfo(ClientRawTableInfo other)
          Performs a deep copy on other.
ClientRawTableInfo(int id, String name, String path, int columns, ByteBuffer metadata)
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

id

public int id

name

public String name

path

public String path

columns

public int columns

metadata

public ByteBuffer metadata

metaDataMap

public static final Map<ClientRawTableInfo._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
Constructor Detail

ClientRawTableInfo

public ClientRawTableInfo()

ClientRawTableInfo

public ClientRawTableInfo(int id,
                          String name,
                          String path,
                          int columns,
                          ByteBuffer metadata)

ClientRawTableInfo

public ClientRawTableInfo(ClientRawTableInfo other)
Performs a deep copy on other.

Method Detail

deepCopy

public ClientRawTableInfo deepCopy()
Specified by:
deepCopy in interface org.apache.thrift.TBase<ClientRawTableInfo,ClientRawTableInfo._Fields>

clear

public void clear()
Specified by:
clear in interface org.apache.thrift.TBase<ClientRawTableInfo,ClientRawTableInfo._Fields>

getId

public int getId()

setId

public ClientRawTableInfo setId(int id)

unsetId

public void unsetId()

isSetId

public boolean isSetId()
Returns true if field id is set (has been assigned a value) and false otherwise


setIdIsSet

public void setIdIsSet(boolean value)

getName

public String getName()

setName

public ClientRawTableInfo setName(String name)

unsetName

public void unsetName()

isSetName

public boolean isSetName()
Returns true if field name is set (has been assigned a value) and false otherwise


setNameIsSet

public void setNameIsSet(boolean value)

getPath

public String getPath()

setPath

public ClientRawTableInfo setPath(String path)

unsetPath

public void unsetPath()

isSetPath

public boolean isSetPath()
Returns true if field path is set (has been assigned a value) and false otherwise


setPathIsSet

public void setPathIsSet(boolean value)

getColumns

public int getColumns()

setColumns

public ClientRawTableInfo setColumns(int columns)

unsetColumns

public void unsetColumns()

isSetColumns

public boolean isSetColumns()
Returns true if field columns is set (has been assigned a value) and false otherwise


setColumnsIsSet

public void setColumnsIsSet(boolean value)

getMetadata

public byte[] getMetadata()

bufferForMetadata

public ByteBuffer bufferForMetadata()

setMetadata

public ClientRawTableInfo setMetadata(byte[] metadata)

setMetadata

public ClientRawTableInfo setMetadata(ByteBuffer metadata)

unsetMetadata

public void unsetMetadata()

isSetMetadata

public boolean isSetMetadata()
Returns true if field metadata is set (has been assigned a value) and false otherwise


setMetadataIsSet

public void setMetadataIsSet(boolean value)

setFieldValue

public void setFieldValue(ClientRawTableInfo._Fields field,
                          Object value)
Specified by:
setFieldValue in interface org.apache.thrift.TBase<ClientRawTableInfo,ClientRawTableInfo._Fields>

getFieldValue

public Object getFieldValue(ClientRawTableInfo._Fields field)
Specified by:
getFieldValue in interface org.apache.thrift.TBase<ClientRawTableInfo,ClientRawTableInfo._Fields>

isSet

public boolean isSet(ClientRawTableInfo._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise

Specified by:
isSet in interface org.apache.thrift.TBase<ClientRawTableInfo,ClientRawTableInfo._Fields>

equals

public boolean equals(Object that)
Overrides:
equals in class Object

equals

public boolean equals(ClientRawTableInfo that)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

compareTo

public int compareTo(ClientRawTableInfo other)
Specified by:
compareTo in interface Comparable<ClientRawTableInfo>

fieldForId

public ClientRawTableInfo._Fields fieldForId(int fieldId)
Specified by:
fieldForId in interface org.apache.thrift.TBase<ClientRawTableInfo,ClientRawTableInfo._Fields>

read

public void read(org.apache.thrift.protocol.TProtocol iprot)
          throws org.apache.thrift.TException
Specified by:
read in interface org.apache.thrift.TBase<ClientRawTableInfo,ClientRawTableInfo._Fields>
Throws:
org.apache.thrift.TException

write

public void write(org.apache.thrift.protocol.TProtocol oprot)
           throws org.apache.thrift.TException
Specified by:
write in interface org.apache.thrift.TBase<ClientRawTableInfo,ClientRawTableInfo._Fields>
Throws:
org.apache.thrift.TException

toString

public String toString()
Overrides:
toString in class Object

validate

public void validate()
              throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException


Copyright © 2013. All Rights Reserved.