org.apache.hadoop.hbase
Class KeyValue.RootKeyComparator

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

public static class KeyValue.RootKeyComparator
extends KeyValue.MetaKeyComparator

Compare key portion of a KeyValue for keys in -ROOT- table.


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

public KeyValue.RootKeyComparator()
Method Detail

compareRows

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


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