Inheritance diagram for com::sleepycat::bind::tuple::TupleTupleBinding:
Public Member Functions | |
TupleTupleBinding () | |
Object | entryToObject (DatabaseEntry key, DatabaseEntry data) |
void | objectToKey (Object object, DatabaseEntry key) |
void | objectToData (Object object, DatabaseEntry data) |
abstract Object | entryToObject (TupleInput keyInput, TupleInput dataInput) |
abstract void | objectToKey (Object object, TupleOutput output) |
abstract void | objectToData (Object object, TupleOutput output) |
EntityBinding
that treats an entity's key entry and data entry as tuples.This class takes care of converting the entries to/from TupleInput and TupleOutput objects. Its three abstract methods must be implemented by a concrete subclass to convert between tuples and entity objects.
Definition at line 31 of file TupleTupleBinding.java.
|
Creates a tuple-tuple entity binding. Definition at line 37 of file TupleTupleBinding.java. |
|
Constructs an entity object from TupleInput key and data entries.
Implemented in com::sleepycat::bind::tuple::TupleTupleMarshalledBinding. |
|
Converts key and data entry buffers into an entity Object.
Implements com::sleepycat::bind::EntityBinding. Definition at line 41 of file TupleTupleBinding.java. |
|
Extracts a key tuple from an entity object.
Implemented in com::sleepycat::bind::tuple::TupleTupleMarshalledBinding. |
|
Extracts the data entry from an entity Object.
Implements com::sleepycat::bind::EntityBinding. Definition at line 56 of file TupleTupleBinding.java. References com::sleepycat::bind::tuple::TupleBase::getTupleOutput(), and com::sleepycat::bind::tuple::TupleBase::outputToEntry(). |
|
Extracts a key tuple from an entity object.
Implemented in com::sleepycat::bind::tuple::TupleTupleMarshalledBinding. |
|
Extracts the key entry from an entity Object.
Implements com::sleepycat::bind::EntityBinding. Definition at line 48 of file TupleTupleBinding.java. References com::sleepycat::bind::tuple::TupleBase::getTupleOutput(), and com::sleepycat::bind::tuple::TupleBase::outputToEntry(). |