org.apache.accumulo.core.master.thrift
public class TabletSplit extends Object implements org.apache.thrift.TBase<TabletSplit,TabletSplit._Fields>, Serializable, Cloneable, Comparable<TabletSplit>
Modifier and Type | Class and Description |
---|---|
static class |
TabletSplit._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<TabletSplit._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
List<TKeyExtent> |
newTablets |
TKeyExtent |
oldTablet |
Constructor and Description |
---|
TabletSplit() |
TabletSplit(TabletSplit other)
Performs a deep copy on other.
|
TabletSplit(TKeyExtent oldTablet,
List<TKeyExtent> newTablets) |
Modifier and Type | Method and Description |
---|---|
void |
addToNewTablets(TKeyExtent elem) |
void |
clear() |
int |
compareTo(TabletSplit other) |
TabletSplit |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(TabletSplit that) |
TabletSplit._Fields |
fieldForId(int fieldId) |
Object |
getFieldValue(TabletSplit._Fields field) |
List<TKeyExtent> |
getNewTablets() |
Iterator<TKeyExtent> |
getNewTabletsIterator() |
int |
getNewTabletsSize() |
TKeyExtent |
getOldTablet() |
int |
hashCode() |
boolean |
isSet(TabletSplit._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetNewTablets()
Returns true if field newTablets is set (has been assigned a value) and false otherwise
|
boolean |
isSetOldTablet()
Returns true if field oldTablet is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
setFieldValue(TabletSplit._Fields field,
Object value) |
TabletSplit |
setNewTablets(List<TKeyExtent> newTablets) |
void |
setNewTabletsIsSet(boolean value) |
TabletSplit |
setOldTablet(TKeyExtent oldTablet) |
void |
setOldTabletIsSet(boolean value) |
String |
toString() |
void |
unsetNewTablets() |
void |
unsetOldTablet() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public TKeyExtent oldTablet
public List<TKeyExtent> newTablets
public static final Map<TabletSplit._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public TabletSplit()
public TabletSplit(TKeyExtent oldTablet, List<TKeyExtent> newTablets)
public TabletSplit(TabletSplit other)
public TabletSplit deepCopy()
deepCopy
in interface org.apache.thrift.TBase<TabletSplit,TabletSplit._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<TabletSplit,TabletSplit._Fields>
public TKeyExtent getOldTablet()
public TabletSplit setOldTablet(TKeyExtent oldTablet)
public void unsetOldTablet()
public boolean isSetOldTablet()
public void setOldTabletIsSet(boolean value)
public int getNewTabletsSize()
public Iterator<TKeyExtent> getNewTabletsIterator()
public void addToNewTablets(TKeyExtent elem)
public List<TKeyExtent> getNewTablets()
public TabletSplit setNewTablets(List<TKeyExtent> newTablets)
public void unsetNewTablets()
public boolean isSetNewTablets()
public void setNewTabletsIsSet(boolean value)
public void setFieldValue(TabletSplit._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<TabletSplit,TabletSplit._Fields>
public Object getFieldValue(TabletSplit._Fields field)
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 equals(TabletSplit that)
public int compareTo(TabletSplit other)
compareTo
in interface Comparable<TabletSplit>
public TabletSplit._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<TabletSplit,TabletSplit._Fields>
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 void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2011–2015 The Apache Software Foundation. All rights reserved.