|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hadoop.hbase.thrift.generated.BatchMutation
public class BatchMutation
A BatchMutation object is used to apply a number of Mutations to a single row.
Nested Class Summary | |
---|---|
static class |
BatchMutation._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them. |
Field Summary | |
---|---|
static Map<BatchMutation._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap
|
List<Mutation> |
mutations
|
byte[] |
row
|
Constructor Summary | |
---|---|
BatchMutation()
|
|
BatchMutation(BatchMutation other)
Performs a deep copy on other. |
|
BatchMutation(byte[] row,
List<Mutation> mutations)
|
Method Summary | |
---|---|
void |
addToMutations(Mutation elem)
|
BatchMutation |
clone()
Deprecated. |
int |
compareTo(BatchMutation other)
|
BatchMutation |
deepCopy()
|
boolean |
equals(BatchMutation that)
|
boolean |
equals(Object that)
|
Object |
getFieldValue(BatchMutation._Fields field)
|
Object |
getFieldValue(int fieldId)
|
List<Mutation> |
getMutations()
|
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 asigned a value) and false otherwise |
boolean |
isSet(int fieldID)
|
boolean |
isSetMutations()
Returns true if field mutations is set (has been asigned a value) and false otherwise |
boolean |
isSetRow()
Returns true if field row is set (has been asigned a value) and false otherwise |
void |
read(org.apache.thrift.protocol.TProtocol iprot)
|
void |
setFieldValue(BatchMutation._Fields field,
Object value)
|
void |
setFieldValue(int fieldID,
Object value)
|
BatchMutation |
setMutations(List<Mutation> mutations)
|
void |
setMutationsIsSet(boolean value)
|
BatchMutation |
setRow(byte[] row)
|
void |
setRowIsSet(boolean value)
|
String |
toString()
|
void |
unsetMutations()
|
void |
unsetRow()
|
void |
validate()
|
void |
write(org.apache.thrift.protocol.TProtocol oprot)
|
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public byte[] row
public List<Mutation> mutations
public static final Map<BatchMutation._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
Constructor Detail |
---|
public BatchMutation()
public BatchMutation(byte[] row, List<Mutation> mutations)
public BatchMutation(BatchMutation other)
Method Detail |
---|
public BatchMutation deepCopy()
deepCopy
in interface org.apache.thrift.TBase<BatchMutation._Fields>
@Deprecated public BatchMutation clone()
clone
in class Object
public byte[] getRow()
public BatchMutation setRow(byte[] row)
public void unsetRow()
public boolean isSetRow()
public void setRowIsSet(boolean value)
public int getMutationsSize()
public Iterator<Mutation> getMutationsIterator()
public void addToMutations(Mutation elem)
public List<Mutation> getMutations()
public BatchMutation setMutations(List<Mutation> mutations)
public void unsetMutations()
public boolean isSetMutations()
public void setMutationsIsSet(boolean value)
public void setFieldValue(BatchMutation._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<BatchMutation._Fields>
public void setFieldValue(int fieldID, Object value)
setFieldValue
in interface org.apache.thrift.TBase<BatchMutation._Fields>
public Object getFieldValue(BatchMutation._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<BatchMutation._Fields>
public Object getFieldValue(int fieldId)
getFieldValue
in interface org.apache.thrift.TBase<BatchMutation._Fields>
public boolean isSet(BatchMutation._Fields field)
isSet
in interface org.apache.thrift.TBase<BatchMutation._Fields>
public boolean isSet(int fieldID)
isSet
in interface org.apache.thrift.TBase<BatchMutation._Fields>
public boolean equals(Object that)
equals
in class Object
public boolean equals(BatchMutation that)
public int hashCode()
hashCode
in class Object
public int compareTo(BatchMutation other)
compareTo
in interface Comparable<BatchMutation>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<BatchMutation._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<BatchMutation._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 |