org.apache.hadoop.hbase.thrift.generated
Class Hbase.createTable_args

java.lang.Object
  extended by org.apache.hadoop.hbase.thrift.generated.Hbase.createTable_args
All Implemented Interfaces:
Serializable, Cloneable, Comparable<Hbase.createTable_args>, org.apache.thrift.TBase<Hbase.createTable_args._Fields>
Enclosing class:
Hbase

public static class Hbase.createTable_args
extends Object
implements org.apache.thrift.TBase<Hbase.createTable_args._Fields>, Serializable, Cloneable, Comparable<Hbase.createTable_args>

See Also:
Serialized Form

Nested Class Summary
static class Hbase.createTable_args._Fields
          The set of fields this struct contains, along with convenience methods for finding and manipulating them.
 
Field Summary
 List<ColumnDescriptor> columnFamilies
          list of column family descriptors
static Map<Hbase.createTable_args._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
           
 byte[] tableName
          name of table to create
 
Constructor Summary
Hbase.createTable_args()
           
Hbase.createTable_args(byte[] tableName, List<ColumnDescriptor> columnFamilies)
           
Hbase.createTable_args(Hbase.createTable_args other)
          Performs a deep copy on other.
 
Method Summary
 void addToColumnFamilies(ColumnDescriptor elem)
           
 Hbase.createTable_args clone()
          Deprecated. 
 int compareTo(Hbase.createTable_args other)
           
 Hbase.createTable_args deepCopy()
           
 boolean equals(Hbase.createTable_args that)
           
 boolean equals(Object that)
           
 List<ColumnDescriptor> getColumnFamilies()
          list of column family descriptors
 Iterator<ColumnDescriptor> getColumnFamiliesIterator()
           
 int getColumnFamiliesSize()
           
 Object getFieldValue(Hbase.createTable_args._Fields field)
           
 Object getFieldValue(int fieldId)
           
 byte[] getTableName()
          name of table to create
 int hashCode()
           
 boolean isSet(Hbase.createTable_args._Fields field)
          Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise
 boolean isSet(int fieldID)
           
 boolean isSetColumnFamilies()
          Returns true if field columnFamilies is set (has been asigned a value) and false otherwise
 boolean isSetTableName()
          Returns true if field tableName is set (has been asigned a value) and false otherwise
 void read(org.apache.thrift.protocol.TProtocol iprot)
           
 Hbase.createTable_args setColumnFamilies(List<ColumnDescriptor> columnFamilies)
          list of column family descriptors
 void setColumnFamiliesIsSet(boolean value)
           
 void setFieldValue(Hbase.createTable_args._Fields field, Object value)
           
 void setFieldValue(int fieldID, Object value)
           
 Hbase.createTable_args setTableName(byte[] tableName)
          name of table to create
 void setTableNameIsSet(boolean value)
           
 String toString()
           
 void unsetColumnFamilies()
           
 void unsetTableName()
           
 void validate()
           
 void write(org.apache.thrift.protocol.TProtocol oprot)
           
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

tableName

public byte[] tableName
name of table to create


columnFamilies

public List<ColumnDescriptor> columnFamilies
list of column family descriptors


metaDataMap

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

Hbase.createTable_args

public Hbase.createTable_args()

Hbase.createTable_args

public Hbase.createTable_args(byte[] tableName,
                              List<ColumnDescriptor> columnFamilies)

Hbase.createTable_args

public Hbase.createTable_args(Hbase.createTable_args other)
Performs a deep copy on other.

Method Detail

deepCopy

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

clone

@Deprecated
public Hbase.createTable_args clone()
Deprecated. 

Overrides:
clone in class Object

getTableName

public byte[] getTableName()
name of table to create


setTableName

public Hbase.createTable_args setTableName(byte[] tableName)
name of table to create


unsetTableName

public void unsetTableName()

isSetTableName

public boolean isSetTableName()
Returns true if field tableName is set (has been asigned a value) and false otherwise


setTableNameIsSet

public void setTableNameIsSet(boolean value)

getColumnFamiliesSize

public int getColumnFamiliesSize()

getColumnFamiliesIterator

public Iterator<ColumnDescriptor> getColumnFamiliesIterator()

addToColumnFamilies

public void addToColumnFamilies(ColumnDescriptor elem)

getColumnFamilies

public List<ColumnDescriptor> getColumnFamilies()
list of column family descriptors


setColumnFamilies

public Hbase.createTable_args setColumnFamilies(List<ColumnDescriptor> columnFamilies)
list of column family descriptors


unsetColumnFamilies

public void unsetColumnFamilies()

isSetColumnFamilies

public boolean isSetColumnFamilies()
Returns true if field columnFamilies is set (has been asigned a value) and false otherwise


setColumnFamiliesIsSet

public void setColumnFamiliesIsSet(boolean value)

setFieldValue

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

setFieldValue

public void setFieldValue(int fieldID,
                          Object value)
Specified by:
setFieldValue in interface org.apache.thrift.TBase<Hbase.createTable_args._Fields>

getFieldValue

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

getFieldValue

public Object getFieldValue(int fieldId)
Specified by:
getFieldValue in interface org.apache.thrift.TBase<Hbase.createTable_args._Fields>

isSet

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

Specified by:
isSet in interface org.apache.thrift.TBase<Hbase.createTable_args._Fields>

isSet

public boolean isSet(int fieldID)
Specified by:
isSet in interface org.apache.thrift.TBase<Hbase.createTable_args._Fields>

equals

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

equals

public boolean equals(Hbase.createTable_args that)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

compareTo

public int compareTo(Hbase.createTable_args other)
Specified by:
compareTo in interface Comparable<Hbase.createTable_args>

read

public void read(org.apache.thrift.protocol.TProtocol iprot)
          throws org.apache.thrift.TException
Specified by:
read in interface org.apache.thrift.TBase<Hbase.createTable_args._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<Hbase.createTable_args._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 © 2011 The Apache Software Foundation. All Rights Reserved.