Class CatalogJanitor.SplitParentFirstComparator
java.lang.Object
org.apache.hadoop.hbase.master.janitor.CatalogJanitor.SplitParentFirstComparator
- All Implemented Interfaces:
Comparator<RegionInfo>
- Enclosing class:
- CatalogJanitor
static class CatalogJanitor.SplitParentFirstComparator
extends Object
implements Comparator<RegionInfo>
Compare HRegionInfos in a way that has split parents sort BEFORE their daughters.
-
Field Summary
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Field Details
-
rowEndKeyComparator
Comparator<byte[]> rowEndKeyComparator
-
-
Constructor Details
-
SplitParentFirstComparator
-
-
Method Details
-
compare
- Specified by:
compare
in interfaceComparator<RegionInfo>
-