|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hadoop.hbase.thrift.generated.Hbase.mutateRows_args
public static class Hbase.mutateRows_args
Nested Class Summary | |
---|---|
static class |
Hbase.mutateRows_args._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them. |
Field Summary | |
---|---|
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 Summary | |
---|---|
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. |
Method Summary | |
---|---|
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)
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
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
Constructor Detail |
---|
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)
Method Detail |
---|
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(Object that)
equals
in class Object
public boolean equals(Hbase.mutateRows_args that)
public int hashCode()
hashCode
in class Object
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 String toString()
toString
in class Object
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |