org.apache.hadoop.hbase
Class KeyValue.RootComparator

java.lang.Object
  extended by org.apache.hadoop.hbase.KeyValue.KVComparator
      extended by org.apache.hadoop.hbase.KeyValue.MetaComparator
          extended by org.apache.hadoop.hbase.KeyValue.RootComparator
All Implemented Interfaces:
Comparator<KeyValue>
Enclosing class:
KeyValue

public static class KeyValue.RootComparator
extends KeyValue.MetaComparator

A KeyValue.KVComparator for -ROOT- catalog table KeyValues.


Constructor Summary
KeyValue.RootComparator()
           
 
Method Summary
protected  Object clone()
           
 KeyValue.KeyComparator getRawComparator()
           
 
Methods inherited from class org.apache.hadoop.hbase.KeyValue.KVComparator
compare, compareColumns, compareRows, compareRows, compareRows, compareRows, compareTimestamps, getComparatorIgnoringTimestamps, getComparatorIgnoringType, matchingRowColumn, matchingRows, matchingRows, matchingRows, matchingRows, matchingRowsGreaterTimestamp
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Comparator
equals
 

Constructor Detail

KeyValue.RootComparator

public KeyValue.RootComparator()
Method Detail

getRawComparator

public KeyValue.KeyComparator getRawComparator()
Overrides:
getRawComparator in class KeyValue.MetaComparator
Returns:
RawComparator that can compare the Key portion of a KeyValue. Used in hfile where indices are the Key portion of a KeyValue.

clone

protected Object clone()
                throws CloneNotSupportedException
Overrides:
clone in class KeyValue.MetaComparator
Throws:
CloneNotSupportedException


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