Class MergeInfo
- java.lang.Object
-
- org.apache.accumulo.server.manager.state.MergeInfo
-
- All Implemented Interfaces:
org.apache.hadoop.io.Writable
public class MergeInfo extends Object implements org.apache.hadoop.io.Writable
Information about the current merge/rangeDelete. Writable to serialize for zookeeper and the Tablet
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MergeInfo.Operation
-
Constructor Summary
Constructors Constructor Description MergeInfo()
MergeInfo(KeyExtent range, MergeInfo.Operation op)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description KeyExtent
getExtent()
MergeInfo.Operation
getOperation()
MergeState
getState()
boolean
isDelete()
boolean
needsToBeChopped(KeyExtent otherExtent)
boolean
overlaps(KeyExtent otherExtent)
void
readFields(DataInput in)
void
setState(MergeState state)
String
toString()
void
write(DataOutput out)
-
-
-
Constructor Detail
-
MergeInfo
public MergeInfo()
-
MergeInfo
public MergeInfo(KeyExtent range, MergeInfo.Operation op)
-
-
Method Detail
-
readFields
public void readFields(DataInput in) throws IOException
- Specified by:
readFields
in interfaceorg.apache.hadoop.io.Writable
- Throws:
IOException
-
write
public void write(DataOutput out) throws IOException
- Specified by:
write
in interfaceorg.apache.hadoop.io.Writable
- Throws:
IOException
-
getState
public MergeState getState()
-
getExtent
public KeyExtent getExtent()
-
getOperation
public MergeInfo.Operation getOperation()
-
setState
public void setState(MergeState state)
-
isDelete
public boolean isDelete()
-
needsToBeChopped
public boolean needsToBeChopped(KeyExtent otherExtent)
-
overlaps
public boolean overlaps(KeyExtent otherExtent)
-
-