public class MergeInfo extends Object implements org.apache.hadoop.io.Writable
Modifier and Type | Class and Description |
---|---|
static class |
MergeInfo.Operation |
Constructor and Description |
---|
MergeInfo() |
MergeInfo(KeyExtent range,
MergeInfo.Operation op) |
Modifier and Type | Method and 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) |
public MergeInfo()
public MergeInfo(KeyExtent range, MergeInfo.Operation op)
public void readFields(DataInput in) throws IOException
readFields
in interface org.apache.hadoop.io.Writable
IOException
public void write(DataOutput out) throws IOException
write
in interface org.apache.hadoop.io.Writable
IOException
public MergeState getState()
public KeyExtent getExtent()
public MergeInfo.Operation getOperation()
public void setState(MergeState state)
public boolean isDelete()
public boolean needsToBeChopped(KeyExtent otherExtent)
public boolean overlaps(KeyExtent otherExtent)
Copyright © 2011–2018 The Apache Software Foundation. All rights reserved.