Class TupleSerialMarshalledBinding<E extends MarshalledTupleKeyEntity>

java.lang.Object
com.sleepycat.bind.tuple.TupleBase
com.sleepycat.bind.serial.TupleSerialBinding<E,E>
com.sleepycat.bind.serial.TupleSerialMarshalledBinding<E>
All Implemented Interfaces:
EntityBinding<E>

public class TupleSerialMarshalledBinding<E extends MarshalledTupleKeyEntity> extends TupleSerialBinding<E,E>
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. To do this, the entity's key field(s) are transient and are set by the binding after the data object has been deserialized. This avoids the use of a "data" class completely.

See Also: