org.apache.hadoop.hbase
Class KeyValue.RowOnlyComparator

java.lang.Object
  extended by org.apache.hadoop.hbase.KeyValue.RowOnlyComparator
All Implemented Interfaces:
Comparator<KeyValue>
Enclosing class:
KeyValue

public static class KeyValue.RowOnlyComparator
extends Object
implements Comparator<KeyValue>

Comparator that compares row component only of a KeyValue.


Constructor Summary
KeyValue.RowOnlyComparator(KeyValue.KVComparator c)
           
 
Method Summary
 int compare(KeyValue left, KeyValue 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
 

Constructor Detail

KeyValue.RowOnlyComparator

public KeyValue.RowOnlyComparator(KeyValue.KVComparator c)
Method Detail

compare

public int compare(KeyValue left,
                   KeyValue right)
Specified by:
compare in interface Comparator<KeyValue>


Copyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.