|
||||||||||
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.TConditionalMutation
public class TConditionalMutation
Nested Class Summary | |
---|---|
static class |
TConditionalMutation._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them. |
Field Summary | |
---|---|
List<TCondition> |
conditions
|
long |
id
|
static Map<TConditionalMutation._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap
|
TMutation |
mutation
|
Constructor Summary | |
---|---|
TConditionalMutation()
|
|
TConditionalMutation(List<TCondition> conditions,
TMutation mutation,
long id)
|
|
TConditionalMutation(TConditionalMutation other)
Performs a deep copy on other. |
Method Summary | |
---|---|
void |
addToConditions(TCondition elem)
|
void |
clear()
|
int |
compareTo(TConditionalMutation other)
|
TConditionalMutation |
deepCopy()
|
boolean |
equals(Object that)
|
boolean |
equals(TConditionalMutation that)
|
TConditionalMutation._Fields |
fieldForId(int fieldId)
|
List<TCondition> |
getConditions()
|
Iterator<TCondition> |
getConditionsIterator()
|
int |
getConditionsSize()
|
Object |
getFieldValue(TConditionalMutation._Fields field)
|
long |
getId()
|
TMutation |
getMutation()
|
int |
hashCode()
|
boolean |
isSet(TConditionalMutation._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise |
boolean |
isSetConditions()
Returns true if field conditions is set (has been assigned a value) and false otherwise |
boolean |
isSetId()
Returns true if field id is set (has been assigned a value) and false otherwise |
boolean |
isSetMutation()
Returns true if field mutation is set (has been assigned a value) and false otherwise |
void |
read(org.apache.thrift.protocol.TProtocol iprot)
|
TConditionalMutation |
setConditions(List<TCondition> conditions)
|
void |
setConditionsIsSet(boolean value)
|
void |
setFieldValue(TConditionalMutation._Fields field,
Object value)
|
TConditionalMutation |
setId(long id)
|
void |
setIdIsSet(boolean value)
|
TConditionalMutation |
setMutation(TMutation mutation)
|
void |
setMutationIsSet(boolean value)
|
String |
toString()
|
void |
unsetConditions()
|
void |
unsetId()
|
void |
unsetMutation()
|
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 List<TCondition> conditions
public TMutation mutation
public long id
public static final Map<TConditionalMutation._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
Constructor Detail |
---|
public TConditionalMutation()
public TConditionalMutation(List<TCondition> conditions, TMutation mutation, long id)
public TConditionalMutation(TConditionalMutation other)
Method Detail |
---|
public TConditionalMutation deepCopy()
deepCopy
in interface org.apache.thrift.TBase<TConditionalMutation,TConditionalMutation._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<TConditionalMutation,TConditionalMutation._Fields>
public int getConditionsSize()
public Iterator<TCondition> getConditionsIterator()
public void addToConditions(TCondition elem)
public List<TCondition> getConditions()
public TConditionalMutation setConditions(List<TCondition> conditions)
public void unsetConditions()
public boolean isSetConditions()
public void setConditionsIsSet(boolean value)
public TMutation getMutation()
public TConditionalMutation setMutation(TMutation mutation)
public void unsetMutation()
public boolean isSetMutation()
public void setMutationIsSet(boolean value)
public long getId()
public TConditionalMutation setId(long id)
public void unsetId()
public boolean isSetId()
public void setIdIsSet(boolean value)
public void setFieldValue(TConditionalMutation._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<TConditionalMutation,TConditionalMutation._Fields>
public Object getFieldValue(TConditionalMutation._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<TConditionalMutation,TConditionalMutation._Fields>
public boolean isSet(TConditionalMutation._Fields field)
isSet
in interface org.apache.thrift.TBase<TConditionalMutation,TConditionalMutation._Fields>
public boolean equals(Object that)
equals
in class Object
public boolean equals(TConditionalMutation that)
public int hashCode()
hashCode
in class Object
public int compareTo(TConditionalMutation other)
compareTo
in interface Comparable<TConditionalMutation>
public TConditionalMutation._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<TConditionalMutation,TConditionalMutation._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<TConditionalMutation,TConditionalMutation._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<TConditionalMutation,TConditionalMutation._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 |