public static class Hbase.mutateRowTs_args extends Object implements org.apache.thrift.TBase<Hbase.mutateRowTs_args,Hbase.mutateRowTs_args._Fields>, Serializable, Cloneable, Comparable<Hbase.mutateRowTs_args>
Modifier and Type | Class and Description |
---|---|
static class |
Hbase.mutateRowTs_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.mutateRowTs_args._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
List<Mutation> |
mutations
list of mutation commands
|
ByteBuffer |
row
row key
|
ByteBuffer |
tableName
name of table
|
long |
timestamp
timestamp
|
Constructor and Description |
---|
Hbase.mutateRowTs_args() |
Hbase.mutateRowTs_args(ByteBuffer tableName,
ByteBuffer row,
List<Mutation> mutations,
long timestamp,
Map<ByteBuffer,ByteBuffer> attributes) |
Hbase.mutateRowTs_args(Hbase.mutateRowTs_args other)
Performs a deep copy on other.
|
Modifier and Type | Method and Description |
---|---|
void |
addToMutations(Mutation elem) |
ByteBuffer |
bufferForRow() |
ByteBuffer |
bufferForTableName() |
void |
clear() |
int |
compareTo(Hbase.mutateRowTs_args other) |
Hbase.mutateRowTs_args |
deepCopy() |
boolean |
equals(Hbase.mutateRowTs_args that) |
boolean |
equals(Object that) |
Hbase.mutateRowTs_args._Fields |
fieldForId(int fieldId) |
Map<ByteBuffer,ByteBuffer> |
getAttributes()
Mutation attributes
|
int |
getAttributesSize() |
Object |
getFieldValue(Hbase.mutateRowTs_args._Fields field) |
List<Mutation> |
getMutations()
list of mutation commands
|
Iterator<Mutation> |
getMutationsIterator() |
int |
getMutationsSize() |
byte[] |
getRow()
row key
|
byte[] |
getTableName()
name of table
|
long |
getTimestamp()
timestamp
|
int |
hashCode() |
boolean |
isSet(Hbase.mutateRowTs_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 |
isSetMutations()
Returns true if field mutations is set (has been assigned a value) and false otherwise
|
boolean |
isSetRow()
Returns true if field row 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.mutateRowTs_args |
setAttributes(Map<ByteBuffer,ByteBuffer> attributes)
Mutation attributes
|
void |
setAttributesIsSet(boolean value) |
void |
setFieldValue(Hbase.mutateRowTs_args._Fields field,
Object value) |
Hbase.mutateRowTs_args |
setMutations(List<Mutation> mutations)
list of mutation commands
|
void |
setMutationsIsSet(boolean value) |
Hbase.mutateRowTs_args |
setRow(byte[] row)
row key
|
Hbase.mutateRowTs_args |
setRow(ByteBuffer row) |
void |
setRowIsSet(boolean value) |
Hbase.mutateRowTs_args |
setTableName(byte[] tableName)
name of table
|
Hbase.mutateRowTs_args |
setTableName(ByteBuffer tableName) |
void |
setTableNameIsSet(boolean value) |
Hbase.mutateRowTs_args |
setTimestamp(long timestamp)
timestamp
|
void |
setTimestampIsSet(boolean value) |
String |
toString() |
void |
unsetAttributes() |
void |
unsetMutations() |
void |
unsetRow() |
void |
unsetTableName() |
void |
unsetTimestamp() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public ByteBuffer tableName
public ByteBuffer row
public long timestamp
public Map<ByteBuffer,ByteBuffer> attributes
public static final Map<Hbase.mutateRowTs_args._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public Hbase.mutateRowTs_args()
public Hbase.mutateRowTs_args(ByteBuffer tableName, ByteBuffer row, List<Mutation> mutations, long timestamp, Map<ByteBuffer,ByteBuffer> attributes)
public Hbase.mutateRowTs_args(Hbase.mutateRowTs_args other)
public Hbase.mutateRowTs_args deepCopy()
deepCopy
in interface org.apache.thrift.TBase<Hbase.mutateRowTs_args,Hbase.mutateRowTs_args._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<Hbase.mutateRowTs_args,Hbase.mutateRowTs_args._Fields>
public byte[] getTableName()
public ByteBuffer bufferForTableName()
public Hbase.mutateRowTs_args setTableName(byte[] tableName)
public Hbase.mutateRowTs_args setTableName(ByteBuffer tableName)
public void unsetTableName()
public boolean isSetTableName()
public void setTableNameIsSet(boolean value)
public byte[] getRow()
public ByteBuffer bufferForRow()
public Hbase.mutateRowTs_args setRow(byte[] row)
public Hbase.mutateRowTs_args setRow(ByteBuffer row)
public void unsetRow()
public boolean isSetRow()
public void setRowIsSet(boolean value)
public int getMutationsSize()
public void addToMutations(Mutation elem)
public Hbase.mutateRowTs_args setMutations(List<Mutation> mutations)
public void unsetMutations()
public boolean isSetMutations()
public void setMutationsIsSet(boolean value)
public long getTimestamp()
public Hbase.mutateRowTs_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.mutateRowTs_args setAttributes(Map<ByteBuffer,ByteBuffer> attributes)
public void unsetAttributes()
public boolean isSetAttributes()
public void setAttributesIsSet(boolean value)
public void setFieldValue(Hbase.mutateRowTs_args._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<Hbase.mutateRowTs_args,Hbase.mutateRowTs_args._Fields>
public Object getFieldValue(Hbase.mutateRowTs_args._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<Hbase.mutateRowTs_args,Hbase.mutateRowTs_args._Fields>
public boolean isSet(Hbase.mutateRowTs_args._Fields field)
isSet
in interface org.apache.thrift.TBase<Hbase.mutateRowTs_args,Hbase.mutateRowTs_args._Fields>
public boolean equals(Hbase.mutateRowTs_args that)
public int compareTo(Hbase.mutateRowTs_args other)
compareTo
in interface Comparable<Hbase.mutateRowTs_args>
public Hbase.mutateRowTs_args._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<Hbase.mutateRowTs_args,Hbase.mutateRowTs_args._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<Hbase.mutateRowTs_args,Hbase.mutateRowTs_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.mutateRowTs_args,Hbase.mutateRowTs_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.