public static class THBaseService.createTable_args extends Object implements org.apache.thrift.TBase<THBaseService.createTable_args,THBaseService.createTable_args._Fields>, Serializable, Cloneable, Comparable<THBaseService.createTable_args>
| Modifier and Type | Class and Description |
|---|---|
static class |
THBaseService.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 |
|---|---|
TTableDescriptor |
desc
table descriptor for table
|
static Map<THBaseService.createTable_args._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
List<ByteBuffer> |
splitKeys
rray of split keys for the initial regions of the table
|
| Constructor and Description |
|---|
createTable_args() |
createTable_args(THBaseService.createTable_args other)
Performs a deep copy on other.
|
createTable_args(TTableDescriptor desc,
List<ByteBuffer> splitKeys) |
| Modifier and Type | Method and Description |
|---|---|
void |
addToSplitKeys(ByteBuffer elem) |
void |
clear() |
int |
compareTo(THBaseService.createTable_args other) |
THBaseService.createTable_args |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(THBaseService.createTable_args that) |
THBaseService.createTable_args._Fields |
fieldForId(int fieldId) |
TTableDescriptor |
getDesc()
table descriptor for table
|
Object |
getFieldValue(THBaseService.createTable_args._Fields field) |
List<ByteBuffer> |
getSplitKeys()
rray of split keys for the initial regions of the table
|
Iterator<ByteBuffer> |
getSplitKeysIterator() |
int |
getSplitKeysSize() |
int |
hashCode() |
boolean |
isSet(THBaseService.createTable_args._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetDesc()
Returns true if field desc is set (has been assigned a value) and false otherwise
|
boolean |
isSetSplitKeys()
Returns true if field splitKeys is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
THBaseService.createTable_args |
setDesc(TTableDescriptor desc)
table descriptor for table
|
void |
setDescIsSet(boolean value) |
void |
setFieldValue(THBaseService.createTable_args._Fields field,
Object value) |
THBaseService.createTable_args |
setSplitKeys(List<ByteBuffer> splitKeys)
rray of split keys for the initial regions of the table
|
void |
setSplitKeysIsSet(boolean value) |
String |
toString() |
void |
unsetDesc() |
void |
unsetSplitKeys() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public TTableDescriptor desc
public List<ByteBuffer> splitKeys
public static final Map<THBaseService.createTable_args._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public createTable_args()
public createTable_args(TTableDescriptor desc, List<ByteBuffer> splitKeys)
public createTable_args(THBaseService.createTable_args other)
public THBaseService.createTable_args deepCopy()
deepCopy in interface org.apache.thrift.TBase<THBaseService.createTable_args,THBaseService.createTable_args._Fields>public void clear()
clear in interface org.apache.thrift.TBase<THBaseService.createTable_args,THBaseService.createTable_args._Fields>public TTableDescriptor getDesc()
public THBaseService.createTable_args setDesc(TTableDescriptor desc)
public void unsetDesc()
public boolean isSetDesc()
public void setDescIsSet(boolean value)
public int getSplitKeysSize()
public Iterator<ByteBuffer> getSplitKeysIterator()
public void addToSplitKeys(ByteBuffer elem)
public List<ByteBuffer> getSplitKeys()
public THBaseService.createTable_args setSplitKeys(List<ByteBuffer> splitKeys)
public void unsetSplitKeys()
public boolean isSetSplitKeys()
public void setSplitKeysIsSet(boolean value)
public void setFieldValue(THBaseService.createTable_args._Fields field, Object value)
setFieldValue in interface org.apache.thrift.TBase<THBaseService.createTable_args,THBaseService.createTable_args._Fields>public Object getFieldValue(THBaseService.createTable_args._Fields field)
getFieldValue in interface org.apache.thrift.TBase<THBaseService.createTable_args,THBaseService.createTable_args._Fields>public boolean isSet(THBaseService.createTable_args._Fields field)
isSet in interface org.apache.thrift.TBase<THBaseService.createTable_args,THBaseService.createTable_args._Fields>public boolean equals(THBaseService.createTable_args that)
public int compareTo(THBaseService.createTable_args other)
compareTo in interface Comparable<THBaseService.createTable_args>public THBaseService.createTable_args._Fields fieldForId(int fieldId)
fieldForId in interface org.apache.thrift.TBase<THBaseService.createTable_args,THBaseService.createTable_args._Fields>public void read(org.apache.thrift.protocol.TProtocol iprot)
throws org.apache.thrift.TException
read in interface org.apache.thrift.TSerializableorg.apache.thrift.TExceptionpublic void write(org.apache.thrift.protocol.TProtocol oprot)
throws org.apache.thrift.TException
write in interface org.apache.thrift.TSerializableorg.apache.thrift.TExceptionpublic void validate()
throws org.apache.thrift.TException
org.apache.thrift.TExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.