@InterfaceAudience.Public public static class Bytes.ByteArrayComparator extends Object implements org.apache.hadoop.io.RawComparator<byte[]>
Constructor and Description |
---|
ByteArrayComparator()
Constructor
|
Modifier and Type | Method and Description |
---|---|
int |
compare(byte[] left,
byte[] right) |
int |
compare(byte[] b1,
int s1,
int l1,
byte[] b2,
int s2,
int l2) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public int compare(byte[] left, byte[] right)
compare
in interface Comparator<byte[]>
public int compare(byte[] b1, int s1, int l1, byte[] b2, int s2, int l2)
compare
in interface org.apache.hadoop.io.RawComparator<byte[]>
Copyright © 2007–2019 Cloudera. All rights reserved.