org.apache.hadoop.hbase
Class HStoreKey.MetaStoreKeyComparator

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

public static class HStoreKey.MetaStoreKeyComparator
extends HStoreKey.StoreKeyComparator

StoreKeyComparator for the .META. table.


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

public HStoreKey.MetaStoreKeyComparator()
Method Detail

compareRows

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


Copyright © 2009 The Apache Software Foundation