com.sleepycat.bind.serial |
Bindings that use Java serialization.
@see [Getting Started Guide]
|
Java Source File Name | Type | Comment |
ClassCatalog.java | Interface | A catalog of class description information for use during object
serialization.
A catalog is used to store class descriptions separately from serialized
objects, to avoid redundantly stored information with each object.
When serialized objects are stored in a database, a
StoredClassCatalog should be used.
This information is used for serialization of class descriptors or
java.io.ObjectStreamClass objects, each of which represents a unique class
format. |
SerialBase.java | Class | A base class for serial bindings creators that provides control over the
allocation of the output buffer.
Serial bindings append data to a
FastOutputStream instance. |
SerialBinding.java | Class | A concrete EntryBinding that treats a key or data entry as
a serialized object.
This binding stores objects in serialized object format. |
SerialInput.java | Class | A specialized ObjectInputStream that gets class description
information from a ClassCatalog . |
SerialOutput.java | Class | A specialized ObjectOutputStream that stores class description
information in a ClassCatalog . |
SerialSerialBinding.java | Class | An abstract EntityBinding that treats an entity's key entry and
data entry as serialized objects.
This class takes care of serializing and deserializing the key and
data entry automatically. |
SerialSerialKeyCreator.java | Class | A abstract key creator that uses a serial key and a serial data entry.
This class takes care of serializing and deserializing the key and data
entry automatically.
The following abstract method must be implemented by a concrete subclass
to create the index key using these objects
If
com.sleepycat.je.ForeignKeyDeleteAction.NULLIFY was
specified when opening the secondary database, the following method must be
overridden to nullify the foreign index key. |
StoredClassCatalog.java | Class | A ClassCatalog that is stored in a Database . |
TupleSerialBinding.java | Class | An abstract 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. |
TupleSerialKeyCreator.java | Class | A abstract key creator that uses a tuple key and a serial data entry. |
TupleSerialMarshalledBinding.java | Class | A concrete TupleSerialBinding that delegates to the
MarshalledTupleKeyEntity interface of the entity class.
The
MarshalledTupleKeyEntity interface must be implemented by the
entity class to convert between the key/data entry and entity object.
The binding is "tricky" in that it uses the entity class for both the
stored data entry and the combined entity object. |
TupleSerialMarshalledKeyCreator.java | Class | A concrete key creator that works in conjunction with a
TupleSerialMarshalledBinding . |