org.apache.accumulo.server.master.state
Class MergeInfo
java.lang.Object
org.apache.accumulo.server.master.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
MergeInfo
public MergeInfo()
MergeInfo
public MergeInfo(KeyExtent range,
MergeInfo.Operation op)
readFields
public void readFields(DataInput in)
throws IOException
- Specified by:
readFields
in interface org.apache.hadoop.io.Writable
- Throws:
IOException
write
public void write(DataOutput out)
throws IOException
- Specified by:
write
in interface org.apache.hadoop.io.Writable
- Throws:
IOException
getState
public MergeState getState()
getRange
public KeyExtent getRange()
getOperation
public MergeInfo.Operation getOperation()
setState
public void setState(MergeState state)
isDelete
public boolean isDelete()
needsToBeChopped
public boolean needsToBeChopped(KeyExtent extent)
overlaps
public boolean overlaps(KeyExtent extent)
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2013 Apache Accumulo Project. All Rights Reserved.