public static interface KeyValue.SamePrefixComparator<T>
| Modifier and Type | Method and Description |
|---|---|
int |
compareIgnoringPrefix(int commonPrefix,
byte[] left,
int loffset,
int llength,
byte[] right,
int roffset,
int rlength)
Compare two keys assuming that the first n bytes are the same.
|
int compareIgnoringPrefix(int commonPrefix, byte[] left, int loffset, int llength, byte[] right, int roffset, int rlength)
commonPrefix - How many bytes are the same.Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.