org.apache.hadoop.hbase.filter
Class NullComparator
java.lang.Object
org.apache.hadoop.hbase.filter.WritableByteArrayComparable
org.apache.hadoop.hbase.filter.NullComparator
- All Implemented Interfaces:
- Comparable<byte[]>, org.apache.hadoop.io.Writable
public class NullComparator
- extends WritableByteArrayComparable
A binary comparator which lexicographically compares against the specified
byte array using Bytes.compareTo(byte[], byte[])
.
Constructor Summary |
NullComparator()
Nullary constructor for Writable, do not use |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NullComparator
public NullComparator()
- Nullary constructor for Writable, do not use
compareTo
public int compareTo(byte[] value)
- Specified by:
compareTo
in interface Comparable<byte[]>
- Overrides:
compareTo
in class WritableByteArrayComparable
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.