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