Package io.datarouter.client.hbase.util
Class HBaseResultComparator
java.lang.Object
io.datarouter.client.hbase.util.HBaseResultComparator
- All Implemented Interfaces:
Comparator<org.apache.hadoop.hbase.client.Result>
public class HBaseResultComparator
extends Object
implements Comparator<org.apache.hadoop.hbase.client.Result>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintcompare(org.apache.hadoop.hbase.client.Result left, org.apache.hadoop.hbase.client.Result right) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
HBaseResultComparator
public HBaseResultComparator(int numPrefixBytes)
-
-
Method Details
-
compare
public int compare(org.apache.hadoop.hbase.client.Result left, org.apache.hadoop.hbase.client.Result right) - Specified by:
comparein interfaceComparator<org.apache.hadoop.hbase.client.Result>
-