static class PartitionedMobCompactor.DelPartitionComparator extends Object implements Comparator<PartitionedMobCompactionRequest.CompactionDelPartition>
Modifier and Type | Field and Description |
---|---|
private boolean |
compareStartKey |
Constructor and Description |
---|
DelPartitionComparator(boolean compareStartKey) |
Modifier and Type | Method and Description |
---|---|
int |
compare(PartitionedMobCompactionRequest.CompactionDelPartition o1,
PartitionedMobCompactionRequest.CompactionDelPartition o2) |
boolean |
getCompareStartKey() |
void |
setCompareStartKey(boolean compareStartKey) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
private boolean compareStartKey
DelPartitionComparator(boolean compareStartKey)
public boolean getCompareStartKey()
public void setCompareStartKey(boolean compareStartKey)
public int compare(PartitionedMobCompactionRequest.CompactionDelPartition o1, PartitionedMobCompactionRequest.CompactionDelPartition o2)
compare
in interface Comparator<PartitionedMobCompactionRequest.CompactionDelPartition>
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.