public static class Hbase.mutateRowsTs_args extends Object implements org.apache.thrift.TBase<Hbase.mutateRowsTs_args,Hbase.mutateRowsTs_args._Fields>, Serializable, Cloneable, Comparable<Hbase.mutateRowsTs_args>
Modifier and Type | Class and Description |
---|---|
static class |
Hbase.mutateRowsTs_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.mutateRowsTs_args._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
List<BatchMutation> |
rowBatches
list of row batches
|
ByteBuffer |
tableName
name of table
|
long |
timestamp
timestamp
|
Constructor and Description |
---|
Hbase.mutateRowsTs_args() |
Hbase.mutateRowsTs_args(ByteBuffer tableName,
List<BatchMutation> rowBatches,
long timestamp,
Map<ByteBuffer,ByteBuffer> attributes) |
Hbase.mutateRowsTs_args(Hbase.mutateRowsTs_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.mutateRowsTs_args other) |
Hbase.mutateRowsTs_args |
deepCopy() |
boolean |
equals(Hbase.mutateRowsTs_args that) |
boolean |
equals(Object that) |
Hbase.mutateRowsTs_args._Fields |
fieldForId(int fieldId) |
Map<ByteBuffer,ByteBuffer> |
getAttributes()
Mutation attributes
|
int |
getAttributesSize() |
Object |
getFieldValue(Hbase.mutateRowsTs_args._Fields field) |
List<BatchMutation> |
getRowBatches()
list of row batches
|
Iterator<BatchMutation> |
getRowBatchesIterator() |
int |
getRowBatchesSize() |
byte[] |
getTableName()
name of table
|
long |
getTimestamp()
timestamp
|
int |
hashCode() |
boolean |
isSet(Hbase.mutateRowsTs_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
|
boolean |
isSetTimestamp()
Returns true if field timestamp 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.mutateRowsTs_args |
setAttributes(Map<ByteBuffer,ByteBuffer> attributes)
Mutation attributes
|
void |
setAttributesIsSet(boolean value) |
void |
setFieldValue(Hbase.mutateRowsTs_args._Fields field,
Object value) |
Hbase.mutateRowsTs_args |
setRowBatches(List<BatchMutation> rowBatches)
list of row batches
|
void |
setRowBatchesIsSet(boolean value) |
Hbase.mutateRowsTs_args |
setTableName(byte[] tableName)
name of table
|
Hbase.mutateRowsTs_args |
setTableName(ByteBuffer tableName) |
void |
setTableNameIsSet(boolean value) |
Hbase.mutateRowsTs_args |
setTimestamp(long timestamp)
timestamp
|
void |
setTimestampIsSet(boolean value) |
String |
toString() |
void |
unsetAttributes() |
void |
unsetRowBatches() |
void |
unsetTableName() |
void |
unsetTimestamp() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public ByteBuffer tableName
public List<BatchMutation> rowBatches
public long timestamp
public Map<ByteBuffer,ByteBuffer> attributes
public static final Map<Hbase.mutateRowsTs_args._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public Hbase.mutateRowsTs_args()
public Hbase.mutateRowsTs_args(ByteBuffer tableName, List<BatchMutation> rowBatches, long timestamp, Map<ByteBuffer,ByteBuffer> attributes)
public Hbase.mutateRowsTs_args(Hbase.mutateRowsTs_args other)
public Hbase.mutateRowsTs_args deepCopy()
deepCopy
in interface org.apache.thrift.TBase<Hbase.mutateRowsTs_args,Hbase.mutateRowsTs_args._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<Hbase.mutateRowsTs_args,Hbase.mutateRowsTs_args._Fields>
public byte[] getTableName()
public ByteBuffer bufferForTableName()
public Hbase.mutateRowsTs_args setTableName(byte[] tableName)
public Hbase.mutateRowsTs_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.mutateRowsTs_args setRowBatches(List<BatchMutation> rowBatches)
public void unsetRowBatches()
public boolean isSetRowBatches()
public void setRowBatchesIsSet(boolean value)
public long getTimestamp()
public Hbase.mutateRowsTs_args setTimestamp(long timestamp)
public void unsetTimestamp()
public boolean isSetTimestamp()
public void setTimestampIsSet(boolean value)
public int getAttributesSize()
public void putToAttributes(ByteBuffer key, ByteBuffer val)
public Map<ByteBuffer,ByteBuffer> getAttributes()
public Hbase.mutateRowsTs_args setAttributes(Map<ByteBuffer,ByteBuffer> attributes)
public void unsetAttributes()
public boolean isSetAttributes()
public void setAttributesIsSet(boolean value)
public void setFieldValue(Hbase.mutateRowsTs_args._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<Hbase.mutateRowsTs_args,Hbase.mutateRowsTs_args._Fields>
public Object getFieldValue(Hbase.mutateRowsTs_args._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<Hbase.mutateRowsTs_args,Hbase.mutateRowsTs_args._Fields>
public boolean isSet(Hbase.mutateRowsTs_args._Fields field)
isSet
in interface org.apache.thrift.TBase<Hbase.mutateRowsTs_args,Hbase.mutateRowsTs_args._Fields>
public boolean equals(Hbase.mutateRowsTs_args that)
public int compareTo(Hbase.mutateRowsTs_args other)
compareTo
in interface Comparable<Hbase.mutateRowsTs_args>
public Hbase.mutateRowsTs_args._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<Hbase.mutateRowsTs_args,Hbase.mutateRowsTs_args._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<Hbase.mutateRowsTs_args,Hbase.mutateRowsTs_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.mutateRowsTs_args,Hbase.mutateRowsTs_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.