org.apache.hadoop.hbase
Class HStoreKey.HStoreKeyRootComparator

java.lang.Object
  extended by org.apache.hadoop.io.WritableComparator
      extended by org.apache.hadoop.hbase.HStoreKey.HStoreKeyComparator
          extended by org.apache.hadoop.hbase.HStoreKey.HStoreKeyMetaComparator
              extended by org.apache.hadoop.hbase.HStoreKey.HStoreKeyRootComparator
All Implemented Interfaces:
Comparator, org.apache.hadoop.io.RawComparator
Enclosing class:
HStoreKey

public static class HStoreKey.HStoreKeyRootComparator
extends HStoreKey.HStoreKeyMetaComparator

Passed as comparator for memcache and for store files. See HBASE-868. Use this comparing keys in the -ROOT_ table.


Constructor Summary
HStoreKey.HStoreKeyRootComparator()
           
 
Method Summary
protected  int compareRows(byte[] left, int loffset, int llength, byte[] right, int roffset, int rlength)
           
 
Methods inherited from class org.apache.hadoop.hbase.HStoreKey.HStoreKeyComparator
compare
 
Methods inherited from class org.apache.hadoop.io.WritableComparator
compare, compare, compareBytes, define, get, getKeyClass, hashBytes, newKey, readDouble, readFloat, readInt, readLong, readUnsignedShort, readVInt, readVLong
 
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.HStoreKeyRootComparator

public HStoreKey.HStoreKeyRootComparator()
Method Detail

compareRows

protected int compareRows(byte[] left,
                          int loffset,
                          int llength,
                          byte[] right,
                          int roffset,
                          int rlength)
Overrides:
compareRows in class HStoreKey.HStoreKeyMetaComparator


Copyright © 2009 The Apache Software Foundation