Inheritance diagram for com::sleepycat::bind::tuple::TupleMarshalledBinding:
Public Member Functions | |
TupleMarshalledBinding (Class cls) | |
Object | entryToObject (TupleInput input) |
void | objectToEntry (Object object, TupleOutput output) |
TupleBinding
that delegates to the MarshalledTupleEntry
interface of the data or key object.This class works by calling the methods of the MarshalledTupleEntry interface, which must be implemented by the key or data class, to convert between the key or data entry and the object.
Definition at line 24 of file TupleMarshalledBinding.java.
|
Creates a tuple marshalled binding object. The given class is used to instantiate key or data objects using Class#forName, and therefore must be a public class and have a public no-arguments constructor. It must also implement the MarshalledTupleEntry interface.
Definition at line 38 of file TupleMarshalledBinding.java. |
|
Constructs a key or data object from a TupleInput entry.
Implements com::sleepycat::bind::tuple::TupleBinding. Definition at line 50 of file TupleMarshalledBinding.java. References com::sleepycat::bind::tuple::MarshalledTupleEntry::unmarshalEntry(). |
|
Converts a key or data object to a tuple entry.
Implements com::sleepycat::bind::tuple::TupleBinding. Definition at line 65 of file TupleMarshalledBinding.java. References com::sleepycat::bind::tuple::MarshalledTupleEntry::marshalEntry(). |