org.apache.hadoop.hbase
Class HStoreKey.HStoreKeyMetaComparator

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
All Implemented Interfaces:
Comparator, org.apache.hadoop.io.RawComparator
Direct Known Subclasses:
HStoreKey.HStoreKeyRootComparator
Enclosing class:
HStoreKey

public static class HStoreKey.HStoreKeyMetaComparator
extends HStoreKey.HStoreKeyComparator

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


Constructor Summary
HStoreKey.HStoreKeyMetaComparator()
           
 
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.HStoreKeyMetaComparator

public HStoreKey.HStoreKeyMetaComparator()
Method Detail

compareRows

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


Copyright © 2009 The Apache Software Foundation