|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.accumulo.core.data.thrift.TMutation
public class TMutation
Nested Class Summary | |
---|---|
static class |
TMutation._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them. |
Field Summary | |
---|---|
byte[] |
data
|
int |
entries
|
static java.util.Map<TMutation._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap
|
byte[] |
row
|
java.util.List<byte[]> |
values
|
Constructor Summary | |
---|---|
TMutation()
|
|
TMutation(byte[] row,
byte[] data,
java.util.List<byte[]> values,
int entries)
|
|
TMutation(TMutation other)
Performs a deep copy on other. |
Method Summary | |
---|---|
void |
addToValues(byte[] elem)
|
TMutation |
clone()
Deprecated. |
int |
compareTo(TMutation other)
|
TMutation |
deepCopy()
|
boolean |
equals(java.lang.Object that)
|
boolean |
equals(TMutation that)
|
byte[] |
getData()
|
int |
getEntries()
|
java.lang.Object |
getFieldValue(int fieldId)
|
java.lang.Object |
getFieldValue(TMutation._Fields field)
|
byte[] |
getRow()
|
java.util.List<byte[]> |
getValues()
|
java.util.Iterator<byte[]> |
getValuesIterator()
|
int |
getValuesSize()
|
int |
hashCode()
|
boolean |
isSet(int fieldID)
|
boolean |
isSet(TMutation._Fields field)
Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise |
boolean |
isSetData()
Returns true if field data is set (has been asigned a value) and false otherwise |
boolean |
isSetEntries()
Returns true if field entries 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 |
boolean |
isSetValues()
Returns true if field values is set (has been asigned a value) and false otherwise |
void |
read(org.apache.thrift.protocol.TProtocol iprot)
|
TMutation |
setData(byte[] data)
|
void |
setDataIsSet(boolean value)
|
TMutation |
setEntries(int entries)
|
void |
setEntriesIsSet(boolean value)
|
void |
setFieldValue(int fieldID,
java.lang.Object value)
|
void |
setFieldValue(TMutation._Fields field,
java.lang.Object value)
|
TMutation |
setRow(byte[] row)
|
void |
setRowIsSet(boolean value)
|
TMutation |
setValues(java.util.List<byte[]> values)
|
void |
setValuesIsSet(boolean value)
|
java.lang.String |
toString()
|
void |
unsetData()
|
void |
unsetEntries()
|
void |
unsetRow()
|
void |
unsetValues()
|
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 byte[] data
public java.util.List<byte[]> values
public int entries
public static final java.util.Map<TMutation._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
Constructor Detail |
---|
public TMutation()
public TMutation(byte[] row, byte[] data, java.util.List<byte[]> values, int entries)
public TMutation(TMutation other)
Method Detail |
---|
public TMutation deepCopy()
deepCopy
in interface org.apache.thrift.TBase<TMutation,TMutation._Fields>
@Deprecated public TMutation clone()
clone
in class java.lang.Object
public byte[] getRow()
public TMutation setRow(byte[] row)
public void unsetRow()
public boolean isSetRow()
public void setRowIsSet(boolean value)
public byte[] getData()
public TMutation setData(byte[] data)
public void unsetData()
public boolean isSetData()
public void setDataIsSet(boolean value)
public int getValuesSize()
public java.util.Iterator<byte[]> getValuesIterator()
public void addToValues(byte[] elem)
public java.util.List<byte[]> getValues()
public TMutation setValues(java.util.List<byte[]> values)
public void unsetValues()
public boolean isSetValues()
public void setValuesIsSet(boolean value)
public int getEntries()
public TMutation setEntries(int entries)
public void unsetEntries()
public boolean isSetEntries()
public void setEntriesIsSet(boolean value)
public void setFieldValue(TMutation._Fields field, java.lang.Object value)
setFieldValue
in interface org.apache.thrift.TBase<TMutation,TMutation._Fields>
public void setFieldValue(int fieldID, java.lang.Object value)
setFieldValue
in interface org.apache.thrift.TBase<TMutation,TMutation._Fields>
public java.lang.Object getFieldValue(TMutation._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<TMutation,TMutation._Fields>
public java.lang.Object getFieldValue(int fieldId)
getFieldValue
in interface org.apache.thrift.TBase<TMutation,TMutation._Fields>
public boolean isSet(TMutation._Fields field)
isSet
in interface org.apache.thrift.TBase<TMutation,TMutation._Fields>
public boolean isSet(int fieldID)
isSet
in interface org.apache.thrift.TBase<TMutation,TMutation._Fields>
public boolean equals(java.lang.Object that)
equals
in class java.lang.Object
public boolean equals(TMutation that)
public int hashCode()
hashCode
in class java.lang.Object
public int compareTo(TMutation other)
compareTo
in interface java.lang.Comparable<TMutation>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<TMutation,TMutation._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<TMutation,TMutation._Fields>
org.apache.thrift.TException
public java.lang.String toString()
toString
in class java.lang.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 |