| org.openrdf.sail.nativerdf.btree.RecordComparator
All known Subclasses: org.openrdf.sail.nativerdf.btree.DefaultRecordComparator,
RecordComparator | public interface RecordComparator (Code) | | author: Arjohn Kampman |
Method Summary | |
public 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.
Parameters: key - A byte array representing the search key. Parameters: data - A byte array containing the value to compare the key to. Parameters: offset - The offset (0-based) of the value in data. Parameters: length - The length of the value. |
compareBTreeValues | public int compareBTreeValues(byte[] key, byte[] data, int offset, int length)(Code) | | Compares the supplied key to the value of length
length, starting at offset offset in the supplied
data array.
Parameters: key - A byte array representing the search key. Parameters: data - A byte array containing the value to compare the key to. Parameters: offset - The offset (0-based) of the value in data. Parameters: length - The length of the value. A negative integer when the key is smaller than the value, apositive integer when the key is larger than the value, or0 when the key is equal to the value. |
|
|