| java.lang.Object com.sleepycat.bind.RecordNumberBinding
RecordNumberBinding | public class RecordNumberBinding implements EntryBinding(Code) | | An EntryBinding that treats a record number key entry as a
Long key object.
Record numbers are returned as Long objects, although on
input any Number object may be used.
author: Mark Hayes |
RecordNumberBinding | public RecordNumberBinding()(Code) | | Creates a byte array binding.
|
entryToRecordNumber | public static long entryToRecordNumber(DatabaseEntry entry)(Code) | | Utility method for use by bindings to translate a entry buffer to an
record number integer.
Parameters: entry - the entry buffer. the record number. |
recordNumberToEntry | public static void recordNumberToEntry(long recordNumber, DatabaseEntry entry)(Code) | | Utility method for use by bindings to translate a record number integer
to a entry buffer.
Parameters: recordNumber - the record number. Parameters: entry - the entry buffer to hold the record number. |
|
|