org.apache.hadoop.hbase
Class KeyValue.RowComparator

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

public static class KeyValue.RowComparator
extends java.lang.Object
implements java.util.Comparator<KeyValue>

Comparator that compares row component only of a KeyValue.


Constructor Summary
KeyValue.RowComparator(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.RowComparator

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

compare

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


Copyright © 2013 The Apache Software Foundation. All Rights Reserved.