org.apache.hadoop.hbase
Class KeyValue.MetaComparator
java.lang.Object
org.apache.hadoop.hbase.KeyValue.KVComparator
org.apache.hadoop.hbase.KeyValue.MetaComparator
- All Implemented Interfaces:
- Comparator<Cell>
- Enclosing class:
- KeyValue
public static class KeyValue.MetaComparator
- extends KeyValue.KVComparator
A KeyValue.KVComparator
for .META.
catalog table
KeyValue
s.
Methods inherited from class org.apache.hadoop.hbase.KeyValue.KVComparator |
compare, compareColumns, compareRows, compareRows, compareRows, compareRows, compareTimestamps, matchingRowColumn, matchingRows, matchingRows, matchingRows, matchingRows, matchingRowsGreaterTimestamp |
KeyValue.MetaComparator
public KeyValue.MetaComparator()
getRawComparator
public KeyValue.KeyComparator getRawComparator()
- Overrides:
getRawComparator
in class KeyValue.KVComparator
- 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.KVComparator
- Throws:
CloneNotSupportedException
compareRowKey
protected int compareRowKey(Cell l,
Cell r)
- Override the row key comparision to parse and compare the meta row key parts.
- Overrides:
compareRowKey
in class KeyValue.KVComparator
Copyright © 2013 The Apache Software Foundation. All Rights Reserved.