Inheritance diagram for com::sleepycat::bind::tuple::MarshalledTupleKeyEntity:
Public Member Functions | |
void | marshalPrimaryKey (TupleOutput keyOutput) |
Package Functions | |
void | unmarshalPrimaryKey (TupleInput keyInput) |
boolean | marshalSecondaryKey (String keyName, TupleOutput keyOutput) |
boolean | nullifyForeignKey (String keyName) |
MarshalledTupleKeyEntity
objects are instantiated using Java deserialization, no particular constructor is required by classes that implement this interface.Note that a marshalled tuple key extractor is somewhat less efficient than a non-marshalled key tuple extractor because more conversions are needed. A marshalled key extractor must convert the entry to an object in order to extract the key fields, while an unmarshalled key extractor does not.
Definition at line 28 of file MarshalledTupleKeyEntity.java.
|
Extracts the entity's primary key and writes it to the key output.
Implemented in collections::ship::factory::Part, collections::ship::factory::Shipment, collections::ship::factory::Supplier, com::sleepycat::bind::serial::test::MarshalledObject, and com::sleepycat::bind::tuple::test::MarshalledObject. Referenced by com::sleepycat::bind::tuple::TupleTupleMarshalledBinding::objectToKey(), and com::sleepycat::bind::serial::TupleSerialMarshalledBinding::objectToKey(). |
|
Extracts the entity's secondary key and writes it to the key output.
Implemented in collections::ship::factory::Part, collections::ship::factory::Shipment, collections::ship::factory::Supplier, com::sleepycat::bind::serial::test::MarshalledObject, and com::sleepycat::bind::tuple::test::MarshalledObject. Referenced by com::sleepycat::bind::tuple::TupleTupleMarshalledKeyCreator::createSecondaryKey(), and com::sleepycat::bind::serial::TupleSerialMarshalledKeyCreator::createSecondaryKey(). |
|
Clears the entity's secondary key fields for the given key name. The specified index key should be changed by this method such that marshalSecondaryKey for the same key name will return false. Other fields in the data object should remain unchanged.
Implemented in collections::ship::factory::Part, collections::ship::factory::Shipment, collections::ship::factory::Supplier, com::sleepycat::bind::serial::test::MarshalledObject, and com::sleepycat::bind::tuple::test::MarshalledObject. Referenced by com::sleepycat::bind::tuple::TupleTupleMarshalledKeyCreator::nullifyForeignKey(), and com::sleepycat::bind::serial::TupleSerialMarshalledKeyCreator::nullifyForeignKey(). |
|
Completes construction of the entity by setting its primary key from the stored primary key.
Implemented in collections::ship::factory::Part, collections::ship::factory::Shipment, collections::ship::factory::Supplier, com::sleepycat::bind::serial::test::MarshalledObject, and com::sleepycat::bind::tuple::test::MarshalledObject. Referenced by com::sleepycat::bind::tuple::TupleTupleMarshalledBinding::entryToObject(), and com::sleepycat::bind::serial::TupleSerialMarshalledBinding::entryToObject(). |