|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hadoop.hbase.thrift2.generated.TRowMutations
public class TRowMutations
A TRowMutations object is used to apply a number of Mutations to a single row.
Nested Class Summary | |
---|---|
static class |
TRowMutations._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them. |
Field Summary | |
---|---|
static Map<TRowMutations._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap
|
List<TMutation> |
mutations
|
ByteBuffer |
row
|
Constructor Summary | |
---|---|
TRowMutations()
|
|
TRowMutations(ByteBuffer row,
List<TMutation> mutations)
|
|
TRowMutations(TRowMutations other)
Performs a deep copy on other. |
Method Summary | |
---|---|
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)
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public ByteBuffer row
public List<TMutation> mutations
public static final Map<TRowMutations._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
Constructor Detail |
---|
public TRowMutations()
public TRowMutations(ByteBuffer row, List<TMutation> mutations)
public TRowMutations(TRowMutations other)
Method Detail |
---|
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 Iterator<TMutation> getMutationsIterator()
public void addToMutations(TMutation elem)
public List<TMutation> getMutations()
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(Object that)
equals
in class Object
public boolean equals(TRowMutations that)
public int hashCode()
hashCode
in class Object
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 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 |