|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hadoop.hbase.filter.WritableByteArrayComparable
org.apache.hadoop.hbase.filter.BinaryPrefixComparator
public class BinaryPrefixComparator
A comparator which compares against a specified byte array, but only compares
up to the length of this byte array. For the rest it is similar to
BinaryComparator.
| Constructor Summary | |
|---|---|
BinaryPrefixComparator()
Nullary constructor for Writable, do not use |
|
BinaryPrefixComparator(byte[] value)
Constructor |
|
| Method Summary | |
|---|---|
int |
compareTo(byte[] value)
|
| Methods inherited from class org.apache.hadoop.hbase.filter.WritableByteArrayComparable |
|---|
getValue, readFields, write |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BinaryPrefixComparator()
public BinaryPrefixComparator(byte[] value)
value - value| Method Detail |
|---|
public int compareTo(byte[] value)
compareTo in interface java.lang.Comparable<byte[]>compareTo in class WritableByteArrayComparable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||