|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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 java.util.Map<TabletMutations._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap
|
java.util.List<TMutation> |
mutations
|
long |
seq
|
int |
tabletID
|
Constructor Summary | |
---|---|
TabletMutations()
|
|
TabletMutations(int tabletID,
long seq,
java.util.List<TMutation> mutations)
|
|
TabletMutations(TabletMutations other)
Performs a deep copy on other. |
Method Summary | |
---|---|
void |
addToMutations(TMutation elem)
|
TabletMutations |
clone()
Deprecated. |
int |
compareTo(TabletMutations other)
|
TabletMutations |
deepCopy()
|
boolean |
equals(java.lang.Object that)
|
boolean |
equals(TabletMutations that)
|
java.lang.Object |
getFieldValue(int fieldId)
|
java.lang.Object |
getFieldValue(TabletMutations._Fields field)
|
java.util.List<TMutation> |
getMutations()
|
java.util.Iterator<TMutation> |
getMutationsIterator()
|
int |
getMutationsSize()
|
long |
getSeq()
|
int |
getTabletID()
|
int |
hashCode()
|
boolean |
isSet(int fieldID)
|
boolean |
isSet(TabletMutations._Fields field)
Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise |
boolean |
isSetMutations()
Returns true if field mutations is set (has been asigned a value) and false otherwise |
boolean |
isSetSeq()
Returns true if field seq is set (has been asigned a value) and false otherwise |
boolean |
isSetTabletID()
Returns true if field tabletID is set (has been asigned a value) and false otherwise |
void |
read(org.apache.thrift.protocol.TProtocol iprot)
|
void |
setFieldValue(int fieldID,
java.lang.Object value)
|
void |
setFieldValue(TabletMutations._Fields field,
java.lang.Object value)
|
TabletMutations |
setMutations(java.util.List<TMutation> mutations)
|
void |
setMutationsIsSet(boolean value)
|
TabletMutations |
setSeq(long seq)
|
void |
setSeqIsSet(boolean value)
|
TabletMutations |
setTabletID(int tabletID)
|
void |
setTabletIDIsSet(boolean value)
|
java.lang.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 |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public int tabletID
public long seq
public java.util.List<TMutation> mutations
public static final java.util.Map<TabletMutations._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
Constructor Detail |
---|
public TabletMutations()
public TabletMutations(int tabletID, long seq, java.util.List<TMutation> mutations)
public TabletMutations(TabletMutations other)
Method Detail |
---|
public TabletMutations deepCopy()
deepCopy
in interface org.apache.thrift.TBase<TabletMutations,TabletMutations._Fields>
@Deprecated public TabletMutations clone()
clone
in class java.lang.Object
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 java.util.Iterator<TMutation> getMutationsIterator()
public void addToMutations(TMutation elem)
public java.util.List<TMutation> getMutations()
public TabletMutations setMutations(java.util.List<TMutation> mutations)
public void unsetMutations()
public boolean isSetMutations()
public void setMutationsIsSet(boolean value)
public void setFieldValue(TabletMutations._Fields field, java.lang.Object value)
setFieldValue
in interface org.apache.thrift.TBase<TabletMutations,TabletMutations._Fields>
public void setFieldValue(int fieldID, java.lang.Object value)
setFieldValue
in interface org.apache.thrift.TBase<TabletMutations,TabletMutations._Fields>
public java.lang.Object getFieldValue(TabletMutations._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<TabletMutations,TabletMutations._Fields>
public java.lang.Object getFieldValue(int fieldId)
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 isSet(int fieldID)
isSet
in interface org.apache.thrift.TBase<TabletMutations,TabletMutations._Fields>
public boolean equals(java.lang.Object that)
equals
in class java.lang.Object
public boolean equals(TabletMutations that)
public int hashCode()
hashCode
in class java.lang.Object
public int compareTo(TabletMutations other)
compareTo
in interface java.lang.Comparable<TabletMutations>
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 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 |