public class DefaultRecordComparator extends Object implements RecordComparator
Constructor and Description |
---|
DefaultRecordComparator() |
Modifier and Type | Method and Description |
---|---|
int |
compareBTreeValues(byte[] key,
byte[] data,
int offset,
int length)
Compares the supplied key to the value of length length, starting at offset offset in
the supplied data array.
|
public int compareBTreeValues(byte[] key, byte[] data, int offset, int length)
RecordComparator
compareBTreeValues
in interface RecordComparator
key
- A byte array representing the search key.data
- A byte array containing the value to compare the key to.offset
- The offset (0-based) of the value in data.length
- The length of the value.Copyright © 2015-2019 Eclipse Foundation. All Rights Reserved.