|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.accumulo.core.tabletserver.thrift.TabletMutations
public class TabletMutations
| Nested Class Summary | |
|---|---|
static class |
TabletMutations._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them. |
| Field Summary | |
|---|---|
static Map<TabletMutations._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap
|
List<TMutation> |
mutations
|
long |
seq
|
int |
tabletID
|
| Constructor Summary | |
|---|---|
TabletMutations()
|
|
TabletMutations(int tabletID,
long seq,
List<TMutation> mutations)
|
|
TabletMutations(TabletMutations other)
Performs a deep copy on other. |
|
| Method Summary | |
|---|---|
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)
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public int tabletID
public long seq
public List<TMutation> mutations
public static final Map<TabletMutations._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
| Constructor Detail |
|---|
public TabletMutations()
public TabletMutations(int tabletID,
long seq,
List<TMutation> mutations)
public TabletMutations(TabletMutations other)
| Method Detail |
|---|
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 Iterator<TMutation> getMutationsIterator()
public void addToMutations(TMutation elem)
public List<TMutation> getMutations()
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(Object that)
equals in class Objectpublic boolean equals(TabletMutations that)
public int hashCode()
hashCode in class Objectpublic 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.TExceptionpublic 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 | |||||||||