Class HBaseResultComparator

java.lang.Object
io.datarouter.client.hbase.util.HBaseResultComparator
All Implemented Interfaces:
java.util.Comparator<org.apache.hadoop.hbase.client.Result>

public class HBaseResultComparator
extends java.lang.Object
implements java.util.Comparator<org.apache.hadoop.hbase.client.Result>
  • Constructor Summary

    Constructors 
    Constructor Description
    HBaseResultComparator​(int numPrefixBytes)  
  • Method Summary

    Modifier and Type Method Description
    int compare​(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, wait

    Methods inherited from interface java.util.Comparator

    equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
  • Constructor Details

  • Method Details

    • compare

      public int compare​(org.apache.hadoop.hbase.client.Result left, org.apache.hadoop.hbase.client.Result right)
      Specified by:
      compare in interface java.util.Comparator<org.apache.hadoop.hbase.client.Result>