@Generated(value="Autogenerated by Thrift Compiler (0.9.3)", date="2016-05-27") public class TRowMutations extends Object implements org.apache.thrift.TBase<TRowMutations,TRowMutations._Fields>, Serializable, Cloneable, Comparable<TRowMutations>
Modifier and Type | Class and Description |
---|---|
static class |
TRowMutations._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
Modifier and Type | Field and Description |
---|---|
static Map<TRowMutations._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
List<TMutation> |
mutations |
ByteBuffer |
row |
Constructor and Description |
---|
TRowMutations() |
TRowMutations(ByteBuffer row,
List<TMutation> mutations) |
TRowMutations(TRowMutations other)
Performs a deep copy on other.
|
Modifier and Type | Method and Description |
---|---|
void |
addToMutations(TMutation elem) |
ByteBuffer |
bufferForRow() |
void |
clear() |
int |
compareTo(TRowMutations other) |
TRowMutations |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(TRowMutations that) |
TRowMutations._Fields |
fieldForId(int fieldId) |
Object |
getFieldValue(TRowMutations._Fields field) |
List<TMutation> |
getMutations() |
Iterator<TMutation> |
getMutationsIterator() |
int |
getMutationsSize() |
byte[] |
getRow() |
int |
hashCode() |
boolean |
isSet(TRowMutations._Fields field)
Returns true if field corresponding to fieldID 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
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
setFieldValue(TRowMutations._Fields field,
Object value) |
TRowMutations |
setMutations(List<TMutation> mutations) |
void |
setMutationsIsSet(boolean value) |
TRowMutations |
setRow(byte[] row) |
TRowMutations |
setRow(ByteBuffer row) |
void |
setRowIsSet(boolean value) |
String |
toString() |
void |
unsetMutations() |
void |
unsetRow() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public ByteBuffer row
public static final Map<TRowMutations._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public TRowMutations()
public TRowMutations(ByteBuffer row, List<TMutation> mutations)
public TRowMutations(TRowMutations other)
public TRowMutations deepCopy()
deepCopy
in interface org.apache.thrift.TBase<TRowMutations,TRowMutations._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<TRowMutations,TRowMutations._Fields>
public byte[] getRow()
public ByteBuffer bufferForRow()
public TRowMutations setRow(byte[] row)
public TRowMutations setRow(ByteBuffer row)
public void unsetRow()
public boolean isSetRow()
public void setRowIsSet(boolean value)
public int getMutationsSize()
public void addToMutations(TMutation elem)
public TRowMutations setMutations(List<TMutation> mutations)
public void unsetMutations()
public boolean isSetMutations()
public void setMutationsIsSet(boolean value)
public void setFieldValue(TRowMutations._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<TRowMutations,TRowMutations._Fields>
public Object getFieldValue(TRowMutations._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<TRowMutations,TRowMutations._Fields>
public boolean isSet(TRowMutations._Fields field)
isSet
in interface org.apache.thrift.TBase<TRowMutations,TRowMutations._Fields>
public boolean equals(TRowMutations that)
public int compareTo(TRowMutations other)
compareTo
in interface Comparable<TRowMutations>
public TRowMutations._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<TRowMutations,TRowMutations._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<TRowMutations,TRowMutations._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<TRowMutations,TRowMutations._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.