public class TabletMutations extends Object implements org.apache.thrift.TBase<TabletMutations,TabletMutations._Fields>, Serializable, Cloneable
Modifier and Type | Class and Description |
---|---|
static class |
TabletMutations._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
Modifier and Type | Field and Description |
---|---|
static Map<TabletMutations._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
List<TMutation> |
mutations |
long |
seq |
int |
tabletID |
Constructor and Description |
---|
TabletMutations() |
TabletMutations(int tabletID,
long seq,
List<TMutation> mutations) |
TabletMutations(TabletMutations other)
Performs a deep copy on other.
|
Modifier and Type | Method and Description |
---|---|
void |
addToMutations(TMutation elem) |
void |
clear() |
int |
compareTo(TabletMutations other) |
TabletMutations |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(TabletMutations that) |
TabletMutations._Fields |
fieldForId(int fieldId) |
Object |
getFieldValue(TabletMutations._Fields field) |
List<TMutation> |
getMutations() |
Iterator<TMutation> |
getMutationsIterator() |
int |
getMutationsSize() |
long |
getSeq() |
int |
getTabletID() |
int |
hashCode() |
boolean |
isSet(TabletMutations._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 |
isSetSeq()
Returns true if field seq is set (has been assigned a value) and false otherwise
|
boolean |
isSetTabletID()
Returns true if field tabletID is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
setFieldValue(TabletMutations._Fields field,
Object value) |
TabletMutations |
setMutations(List<TMutation> mutations) |
void |
setMutationsIsSet(boolean value) |
TabletMutations |
setSeq(long seq) |
void |
setSeqIsSet(boolean value) |
TabletMutations |
setTabletID(int tabletID) |
void |
setTabletIDIsSet(boolean value) |
String |
toString() |
void |
unsetMutations() |
void |
unsetSeq() |
void |
unsetTabletID() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public int tabletID
public long seq
public static final Map<TabletMutations._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public TabletMutations()
public TabletMutations(TabletMutations other)
public TabletMutations deepCopy()
deepCopy
in interface org.apache.thrift.TBase<TabletMutations,TabletMutations._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<TabletMutations,TabletMutations._Fields>
public int getTabletID()
public TabletMutations setTabletID(int tabletID)
public void unsetTabletID()
public boolean isSetTabletID()
public void setTabletIDIsSet(boolean value)
public long getSeq()
public TabletMutations setSeq(long seq)
public void unsetSeq()
public boolean isSetSeq()
public void setSeqIsSet(boolean value)
public int getMutationsSize()
public void addToMutations(TMutation elem)
public TabletMutations setMutations(List<TMutation> mutations)
public void unsetMutations()
public boolean isSetMutations()
public void setMutationsIsSet(boolean value)
public void setFieldValue(TabletMutations._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<TabletMutations,TabletMutations._Fields>
public Object getFieldValue(TabletMutations._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<TabletMutations,TabletMutations._Fields>
public boolean isSet(TabletMutations._Fields field)
isSet
in interface org.apache.thrift.TBase<TabletMutations,TabletMutations._Fields>
public boolean equals(TabletMutations that)
public int compareTo(TabletMutations other)
compareTo
in interface Comparable<TabletMutations>
public TabletMutations._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<TabletMutations,TabletMutations._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<TabletMutations,TabletMutations._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<TabletMutations,TabletMutations._Fields>
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.