public static class Hbase.createTable_args extends Object implements org.apache.thrift.TBase<Hbase.createTable_args,Hbase.createTable_args._Fields>, Serializable, Cloneable
Modifier and Type | Class and Description |
---|---|
static class |
Hbase.createTable_args._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
Modifier and Type | Field and Description |
---|---|
List<ColumnDescriptor> |
columnFamilies
list of column family descriptors
|
static Map<Hbase.createTable_args._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
ByteBuffer |
tableName
name of table to create
|
Constructor and Description |
---|
Hbase.createTable_args() |
Hbase.createTable_args(ByteBuffer tableName,
List<ColumnDescriptor> columnFamilies) |
Hbase.createTable_args(Hbase.createTable_args other)
Performs a deep copy on other.
|
Modifier and Type | Method and Description |
---|---|
void |
addToColumnFamilies(ColumnDescriptor elem) |
ByteBuffer |
bufferForTableName() |
void |
clear() |
int |
compareTo(Hbase.createTable_args other) |
Hbase.createTable_args |
deepCopy() |
boolean |
equals(Hbase.createTable_args that) |
boolean |
equals(Object that) |
Hbase.createTable_args._Fields |
fieldForId(int fieldId) |
List<ColumnDescriptor> |
getColumnFamilies()
list of column family descriptors
|
Iterator<ColumnDescriptor> |
getColumnFamiliesIterator() |
int |
getColumnFamiliesSize() |
Object |
getFieldValue(Hbase.createTable_args._Fields field) |
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 assigned a value) and false otherwise
|
boolean |
isSetColumnFamilies()
Returns true if field columnFamilies is set (has been assigned a value) and false otherwise
|
boolean |
isSetTableName()
Returns true if field tableName is set (has been assigned 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) |
Hbase.createTable_args |
setTableName(byte[] tableName)
name of table to create
|
Hbase.createTable_args |
setTableName(ByteBuffer tableName) |
void |
setTableNameIsSet(boolean value) |
String |
toString() |
void |
unsetColumnFamilies() |
void |
unsetTableName() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public ByteBuffer tableName
public List<ColumnDescriptor> columnFamilies
public static final Map<Hbase.createTable_args._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public Hbase.createTable_args()
public Hbase.createTable_args(ByteBuffer tableName, List<ColumnDescriptor> columnFamilies)
public Hbase.createTable_args(Hbase.createTable_args other)
public Hbase.createTable_args deepCopy()
deepCopy
in interface org.apache.thrift.TBase<Hbase.createTable_args,Hbase.createTable_args._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<Hbase.createTable_args,Hbase.createTable_args._Fields>
public byte[] getTableName()
public ByteBuffer bufferForTableName()
public Hbase.createTable_args setTableName(byte[] tableName)
public Hbase.createTable_args setTableName(ByteBuffer tableName)
public void unsetTableName()
public boolean isSetTableName()
public void setTableNameIsSet(boolean value)
public int getColumnFamiliesSize()
public Iterator<ColumnDescriptor> getColumnFamiliesIterator()
public void addToColumnFamilies(ColumnDescriptor elem)
public List<ColumnDescriptor> getColumnFamilies()
public Hbase.createTable_args setColumnFamilies(List<ColumnDescriptor> columnFamilies)
public void unsetColumnFamilies()
public boolean isSetColumnFamilies()
public void setColumnFamiliesIsSet(boolean value)
public void setFieldValue(Hbase.createTable_args._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<Hbase.createTable_args,Hbase.createTable_args._Fields>
public Object getFieldValue(Hbase.createTable_args._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<Hbase.createTable_args,Hbase.createTable_args._Fields>
public boolean isSet(Hbase.createTable_args._Fields field)
isSet
in interface org.apache.thrift.TBase<Hbase.createTable_args,Hbase.createTable_args._Fields>
public boolean equals(Hbase.createTable_args that)
public int compareTo(Hbase.createTable_args other)
compareTo
in interface Comparable<Hbase.createTable_args>
public Hbase.createTable_args._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<Hbase.createTable_args,Hbase.createTable_args._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<Hbase.createTable_args,Hbase.createTable_args._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<Hbase.createTable_args,Hbase.createTable_args._Fields>
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.