@InterfaceAudience.Public public static class Bytes.RowEndKeyComparator extends Bytes.ByteArrayComparator
Bytes.ByteArrayComparator that treats the empty array as the largest value.
This is useful for comparing row end keys for regions.public int compare(byte[] left,
byte[] right)
compare 在接口中 Comparator<byte[]>compare 在类中 Bytes.ByteArrayComparatorpublic int compare(byte[] b1,
int s1,
int l1,
byte[] b2,
int s2,
int l2)
compare 在接口中 org.apache.hadoop.io.RawComparator<byte[]>compare 在类中 Bytes.ByteArrayComparatorCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.