Inheritance diagram for com::sleepycat::bind::serial::TupleSerialBinding:
Public Member Functions | |
TupleSerialBinding (ClassCatalog classCatalog, Class baseClass) | |
TupleSerialBinding (SerialBinding dataBinding) | |
Object | entryToObject (DatabaseEntry key, DatabaseEntry data) |
void | objectToKey (Object object, DatabaseEntry key) |
void | objectToData (Object object, DatabaseEntry data) |
abstract Object | entryToObject (TupleInput keyInput, Object dataInput) |
abstract void | objectToKey (Object object, TupleOutput keyOutput) |
abstract Object | objectToData (Object object) |
EntityBinding
that treats an entity's key entry as a tuple and its data entry as a serialized object.This class takes care of serializing and deserializing the data entry, and converting the key entry to/from TupleInput and TupleOutput objects. Its three abstract methods must be implemented by a concrete subclass to convert these objects to/from an entity object.
Definition at line 34 of file TupleSerialBinding.java.
|
Creates a tuple-serial entity binding.
Definition at line 47 of file TupleSerialBinding.java. |
|
Creates a tuple-serial entity binding.
Definition at line 58 of file TupleSerialBinding.java. |
|
Constructs an entity object from TupleInput key entry and deserialized data entry objects.
Implemented in com::sleepycat::bind::serial::TupleSerialMarshalledBinding. |
|
Converts key and data entry buffers into an entity Object.
Implements com::sleepycat::bind::EntityBinding. Definition at line 64 of file TupleSerialBinding.java. References com::sleepycat::bind::tuple::TupleBase::entryToInput(), and com::sleepycat::bind::serial::SerialBinding::entryToObject(). |
|
Extracts a data object from an entity object.
Implemented in com::sleepycat::bind::serial::TupleSerialMarshalledBinding. |
|
Extracts the data entry from an entity Object.
Implements com::sleepycat::bind::EntityBinding. Definition at line 79 of file TupleSerialBinding.java. References com::sleepycat::bind::serial::SerialBinding::objectToEntry(). |
|
Extracts a key tuple from an entity object.
Implemented in com::sleepycat::bind::serial::TupleSerialMarshalledBinding. |
|
Extracts the key entry from an entity Object.
Implements com::sleepycat::bind::EntityBinding. Definition at line 71 of file TupleSerialBinding.java. References com::sleepycat::bind::tuple::TupleBase::getTupleOutput(), and com::sleepycat::bind::tuple::TupleBase::outputToEntry(). |