org.apache.hadoop.hbase
Class HStoreKey.RootStoreKeyComparator

java.lang.Object
  extended by org.apache.hadoop.hbase.HStoreKey.StoreKeyComparator
      extended by org.apache.hadoop.hbase.HStoreKey.MetaStoreKeyComparator
          extended by org.apache.hadoop.hbase.HStoreKey.RootStoreKeyComparator
All Implemented Interfaces:
Comparator<byte[]>, org.apache.hadoop.io.RawComparator<byte[]>
Enclosing class:
HStoreKey

public static class HStoreKey.RootStoreKeyComparator
extends HStoreKey.MetaStoreKeyComparator

StoreKeyComparator for the -ROOT- table.


Constructor Summary
HStoreKey.RootStoreKeyComparator()
           
 
Method Summary
 int compareRows(byte[] left, int loffset, int llength, byte[] right, int roffset, int rlength)
           
 
Methods inherited from class org.apache.hadoop.hbase.HStoreKey.StoreKeyComparator
compare, compare, compareRows
 
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

HStoreKey.RootStoreKeyComparator

public HStoreKey.RootStoreKeyComparator()
Method Detail

compareRows

public int compareRows(byte[] left,
                       int loffset,
                       int llength,
                       byte[] right,
                       int roffset,
                       int rlength)
Overrides:
compareRows in class HStoreKey.MetaStoreKeyComparator
Returns:
Result comparing rows.


Copyright © 2009 The Apache Software Foundation