org.apache.hadoop.hbase
Class KeyValue.MetaKeyComparator

java.lang.Object
  extended by org.apache.hadoop.hbase.KeyValue.KeyComparator
      extended by org.apache.hadoop.hbase.KeyValue.MetaKeyComparator
All Implemented Interfaces:
Comparator<byte[]>, org.apache.hadoop.io.RawComparator<byte[]>
Direct Known Subclasses:
KeyValue.RootKeyComparator
Enclosing class:
KeyValue

public static class KeyValue.MetaKeyComparator
extends KeyValue.KeyComparator

Compare key portion of a KeyValue for keys in .META. table.


Constructor Summary
KeyValue.MetaKeyComparator()
           
 
Method Summary
protected  int compareRowid(byte[] left, int loffset, int llength, byte[] right, int roffset, int rlength)
           
 int compareRows(byte[] left, int loffset, int llength, byte[] right, int roffset, int rlength)
           
 
Methods inherited from class org.apache.hadoop.hbase.KeyValue.KeyComparator
compare, compare, compareColumns
 
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.MetaKeyComparator

public KeyValue.MetaKeyComparator()
Method Detail

compareRows

public int compareRows(byte[] left,
                       int loffset,
                       int llength,
                       byte[] right,
                       int roffset,
                       int rlength)
Overrides:
compareRows in class KeyValue.KeyComparator

compareRowid

protected int compareRowid(byte[] left,
                           int loffset,
                           int llength,
                           byte[] right,
                           int roffset,
                           int rlength)


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