public static class Hbase.mutateRows_args extends Object implements org.apache.thrift.TBase<Hbase.mutateRows_args,Hbase.mutateRows_args._Fields>, Serializable, Cloneable, Comparable<Hbase.mutateRows_args>
Modifier and Type | Class and Description |
---|---|
static class |
Hbase.mutateRows_args._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
Modifier and Type | Field and Description |
---|---|
Map<ByteBuffer,ByteBuffer> |
attributes
Mutation attributes
|
static Map<Hbase.mutateRows_args._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
List<BatchMutation> |
rowBatches
list of row batches
|
ByteBuffer |
tableName
name of table
|
Constructor and Description |
---|
Hbase.mutateRows_args() |
Hbase.mutateRows_args(ByteBuffer tableName,
List<BatchMutation> rowBatches,
Map<ByteBuffer,ByteBuffer> attributes) |
Hbase.mutateRows_args(Hbase.mutateRows_args other)
Performs a deep copy on other.
|
Modifier and Type | Method and Description |
---|---|
void |
addToRowBatches(BatchMutation elem) |
ByteBuffer |
bufferForTableName() |
void |
clear() |
int |
compareTo(Hbase.mutateRows_args other) |
Hbase.mutateRows_args |
deepCopy() |
boolean |
equals(Hbase.mutateRows_args that) |
boolean |
equals(Object that) |
Hbase.mutateRows_args._Fields |
fieldForId(int fieldId) |
Map<ByteBuffer,ByteBuffer> |
getAttributes()
Mutation attributes
|
int |
getAttributesSize() |
Object |
getFieldValue(Hbase.mutateRows_args._Fields field) |
List<BatchMutation> |
getRowBatches()
list of row batches
|
Iterator<BatchMutation> |
getRowBatchesIterator() |
int |
getRowBatchesSize() |
byte[] |
getTableName()
name of table
|
int |
hashCode() |
boolean |
isSet(Hbase.mutateRows_args._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetAttributes()
Returns true if field attributes is set (has been assigned a value) and false otherwise
|
boolean |
isSetRowBatches()
Returns true if field rowBatches 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 |
putToAttributes(ByteBuffer key,
ByteBuffer val) |
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
Hbase.mutateRows_args |
setAttributes(Map<ByteBuffer,ByteBuffer> attributes)
Mutation attributes
|
void |
setAttributesIsSet(boolean value) |
void |
setFieldValue(Hbase.mutateRows_args._Fields field,
Object value) |
Hbase.mutateRows_args |
setRowBatches(List<BatchMutation> rowBatches)
list of row batches
|
void |
setRowBatchesIsSet(boolean value) |
Hbase.mutateRows_args |
setTableName(byte[] tableName)
name of table
|
Hbase.mutateRows_args |
setTableName(ByteBuffer tableName) |
void |
setTableNameIsSet(boolean value) |
String |
toString() |
void |
unsetAttributes() |
void |
unsetRowBatches() |
void |
unsetTableName() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public ByteBuffer tableName
public List<BatchMutation> rowBatches
public Map<ByteBuffer,ByteBuffer> attributes
public static final Map<Hbase.mutateRows_args._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public Hbase.mutateRows_args()
public Hbase.mutateRows_args(ByteBuffer tableName, List<BatchMutation> rowBatches, Map<ByteBuffer,ByteBuffer> attributes)
public Hbase.mutateRows_args(Hbase.mutateRows_args other)
public Hbase.mutateRows_args deepCopy()
deepCopy
in interface org.apache.thrift.TBase<Hbase.mutateRows_args,Hbase.mutateRows_args._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<Hbase.mutateRows_args,Hbase.mutateRows_args._Fields>
public byte[] getTableName()
public ByteBuffer bufferForTableName()
public Hbase.mutateRows_args setTableName(byte[] tableName)
public Hbase.mutateRows_args setTableName(ByteBuffer tableName)
public void unsetTableName()
public boolean isSetTableName()
public void setTableNameIsSet(boolean value)
public int getRowBatchesSize()
public Iterator<BatchMutation> getRowBatchesIterator()
public void addToRowBatches(BatchMutation elem)
public List<BatchMutation> getRowBatches()
public Hbase.mutateRows_args setRowBatches(List<BatchMutation> rowBatches)
public void unsetRowBatches()
public boolean isSetRowBatches()
public void setRowBatchesIsSet(boolean value)
public int getAttributesSize()
public void putToAttributes(ByteBuffer key, ByteBuffer val)
public Map<ByteBuffer,ByteBuffer> getAttributes()
public Hbase.mutateRows_args setAttributes(Map<ByteBuffer,ByteBuffer> attributes)
public void unsetAttributes()
public boolean isSetAttributes()
public void setAttributesIsSet(boolean value)
public void setFieldValue(Hbase.mutateRows_args._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<Hbase.mutateRows_args,Hbase.mutateRows_args._Fields>
public Object getFieldValue(Hbase.mutateRows_args._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<Hbase.mutateRows_args,Hbase.mutateRows_args._Fields>
public boolean isSet(Hbase.mutateRows_args._Fields field)
isSet
in interface org.apache.thrift.TBase<Hbase.mutateRows_args,Hbase.mutateRows_args._Fields>
public boolean equals(Hbase.mutateRows_args that)
public int compareTo(Hbase.mutateRows_args other)
compareTo
in interface Comparable<Hbase.mutateRows_args>
public Hbase.mutateRows_args._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<Hbase.mutateRows_args,Hbase.mutateRows_args._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<Hbase.mutateRows_args,Hbase.mutateRows_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.mutateRows_args,Hbase.mutateRows_args._Fields>
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.