Inheritance diagram for com::sleepycat::bind::RecordNumberBinding:
Public Member Functions | |
RecordNumberBinding () | |
Object | entryToObject (DatabaseEntry entry) |
void | objectToEntry (Object object, DatabaseEntry entry) |
Static Public Member Functions | |
static long | entryToRecordNumber (DatabaseEntry entry) |
static void | recordNumberToEntry (long recordNumber, DatabaseEntry entry) |
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.
Definition at line 24 of file RecordNumberBinding.java.
|
Creates a byte array binding. Definition at line 29 of file RecordNumberBinding.java. |
|
Converts a entry buffer into an Object.
Implements com::sleepycat::bind::EntryBinding. Definition at line 33 of file RecordNumberBinding.java. References entryToRecordNumber(). |
|
Utility method for use by bindings to translate a entry buffer to an record number integer.
Definition at line 52 of file RecordNumberBinding.java. Referenced by entryToObject(). |
|
Converts an Object into a entry buffer.
Implements com::sleepycat::bind::EntryBinding. Definition at line 39 of file RecordNumberBinding.java. References recordNumberToEntry(). |
|
Utility method for use by bindings to translate a record number integer to a entry buffer.
Definition at line 65 of file RecordNumberBinding.java. Referenced by objectToEntry(). |