|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.accumulo.core.master.thrift.TabletSplit
public class TabletSplit
Nested Class Summary | |
---|---|
static class |
TabletSplit._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them. |
Field Summary | |
---|---|
static java.util.Map<TabletSplit._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap
|
java.util.List<TKeyExtent> |
newTablets
|
TKeyExtent |
oldTablet
|
Constructor Summary | |
---|---|
TabletSplit()
|
|
TabletSplit(TabletSplit other)
Performs a deep copy on other. |
|
TabletSplit(TKeyExtent oldTablet,
java.util.List<TKeyExtent> newTablets)
|
Method Summary | |
---|---|
void |
addToNewTablets(TKeyExtent elem)
|
TabletSplit |
clone()
Deprecated. |
int |
compareTo(TabletSplit other)
|
TabletSplit |
deepCopy()
|
boolean |
equals(java.lang.Object that)
|
boolean |
equals(TabletSplit that)
|
java.lang.Object |
getFieldValue(int fieldId)
|
java.lang.Object |
getFieldValue(TabletSplit._Fields field)
|
java.util.List<TKeyExtent> |
getNewTablets()
|
java.util.Iterator<TKeyExtent> |
getNewTabletsIterator()
|
int |
getNewTabletsSize()
|
TKeyExtent |
getOldTablet()
|
int |
hashCode()
|
boolean |
isSet(int fieldID)
|
boolean |
isSet(TabletSplit._Fields field)
Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise |
boolean |
isSetNewTablets()
Returns true if field newTablets is set (has been asigned a value) and false otherwise |
boolean |
isSetOldTablet()
Returns true if field oldTablet 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(TabletSplit._Fields field,
java.lang.Object value)
|
TabletSplit |
setNewTablets(java.util.List<TKeyExtent> newTablets)
|
void |
setNewTabletsIsSet(boolean value)
|
TabletSplit |
setOldTablet(TKeyExtent oldTablet)
|
void |
setOldTabletIsSet(boolean value)
|
java.lang.String |
toString()
|
void |
unsetNewTablets()
|
void |
unsetOldTablet()
|
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 TKeyExtent oldTablet
public java.util.List<TKeyExtent> newTablets
public static final java.util.Map<TabletSplit._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
Constructor Detail |
---|
public TabletSplit()
public TabletSplit(TKeyExtent oldTablet, java.util.List<TKeyExtent> newTablets)
public TabletSplit(TabletSplit other)
Method Detail |
---|
public TabletSplit deepCopy()
deepCopy
in interface org.apache.thrift.TBase<TabletSplit,TabletSplit._Fields>
@Deprecated public TabletSplit clone()
clone
in class java.lang.Object
public TKeyExtent getOldTablet()
public TabletSplit setOldTablet(TKeyExtent oldTablet)
public void unsetOldTablet()
public boolean isSetOldTablet()
public void setOldTabletIsSet(boolean value)
public int getNewTabletsSize()
public java.util.Iterator<TKeyExtent> getNewTabletsIterator()
public void addToNewTablets(TKeyExtent elem)
public java.util.List<TKeyExtent> getNewTablets()
public TabletSplit setNewTablets(java.util.List<TKeyExtent> newTablets)
public void unsetNewTablets()
public boolean isSetNewTablets()
public void setNewTabletsIsSet(boolean value)
public void setFieldValue(TabletSplit._Fields field, java.lang.Object value)
setFieldValue
in interface org.apache.thrift.TBase<TabletSplit,TabletSplit._Fields>
public void setFieldValue(int fieldID, java.lang.Object value)
setFieldValue
in interface org.apache.thrift.TBase<TabletSplit,TabletSplit._Fields>
public java.lang.Object getFieldValue(TabletSplit._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<TabletSplit,TabletSplit._Fields>
public java.lang.Object getFieldValue(int fieldId)
getFieldValue
in interface org.apache.thrift.TBase<TabletSplit,TabletSplit._Fields>
public boolean isSet(TabletSplit._Fields field)
isSet
in interface org.apache.thrift.TBase<TabletSplit,TabletSplit._Fields>
public boolean isSet(int fieldID)
isSet
in interface org.apache.thrift.TBase<TabletSplit,TabletSplit._Fields>
public boolean equals(java.lang.Object that)
equals
in class java.lang.Object
public boolean equals(TabletSplit that)
public int hashCode()
hashCode
in class java.lang.Object
public int compareTo(TabletSplit other)
compareTo
in interface java.lang.Comparable<TabletSplit>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<TabletSplit,TabletSplit._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<TabletSplit,TabletSplit._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 |