@InterfaceAudience.Public
public class NullComparator
extends org.apache.hadoop.hbase.filter.ByteArrayComparable
Bytes.compareTo(byte[], byte[]).| Constructor and Description |
|---|
NullComparator() |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(byte[] value) |
int |
compareTo(byte[] value,
int offset,
int length) |
int |
compareTo(ByteBuffer value,
int offset,
int length) |
boolean |
equals(Object obj) |
int |
hashCode() |
static NullComparator |
parseFrom(byte[] pbBytes) |
byte[] |
toByteArray() |
public int compareTo(byte[] value)
compareTo in interface Comparable<byte[]>compareTo in class org.apache.hadoop.hbase.filter.ByteArrayComparablepublic int compareTo(byte[] value,
int offset,
int length)
compareTo in class org.apache.hadoop.hbase.filter.ByteArrayComparablepublic int compareTo(ByteBuffer value, int offset, int length)
compareTo in class org.apache.hadoop.hbase.filter.ByteArrayComparablepublic byte[] toByteArray()
toByteArray in class org.apache.hadoop.hbase.filter.ByteArrayComparablepublic static NullComparator parseFrom(byte[] pbBytes) throws org.apache.hadoop.hbase.exceptions.DeserializationException
pbBytes - A pb serialized NullComparator instanceNullComparator made from bytesorg.apache.hadoop.hbase.exceptions.DeserializationExceptiontoByteArray()Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.