org.apache.hadoop.hbase
Class KeyValue.MetaKeyComparator
java.lang.Object
org.apache.hadoop.hbase.KeyValue.KeyComparator
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.
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KeyValue.MetaKeyComparator
public KeyValue.MetaKeyComparator()
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.