@InterfaceAudience.Public @InterfaceStability.Stable 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.| 构造器和说明 |
|---|
Bytes.RowEndKeyComparator() |
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–2021 The Apache Software Foundation. All rights reserved.