com.sleepycat.persist.impl |
|
Java Source File Name | Type | Comment |
AbstractInput.java | Class | Base class for EntityInput implementations. |
Accessor.java | Interface | Field binding operations implemented via reflection (ReflectionAccessor) or
bytecode enhancement (EnhancedAccessor).
Normally we read the set of all secondary key fields first and then the
set of all non-key fields, reading each set in order of field name. |
Catalog.java | Interface | Catalog operation interface used by format classes. |
CollectionProxy.java | Class | Proxy for Collection types. |
ComplexFormat.java | Class | Format for persistent complex classes that are not composite key classes. |
CompositeKeyFormat.java | Class | Format for a composite key class.
This class is similar to ComplexFormat in that a composite key class and
other complex classes have fields, and the Accessor interface is used to
access those fields. |
ConverterReader.java | Class | Reader for invoking a class Converter mutation. |
Enhanced.java | Interface | Interface implemented by a persistent class via bytecode enhancement.
See
Accessor for method documentation. |
EnhancedAccessor.java | Class | Implements Accessor for a complex persistent class. |
EntityInput.java | Interface | Used for reading object fields. |
EntityOutput.java | Interface | Used for writing object fields.
Unlike TupleOutput, Strings should be passed to
EntityOutput.writeObject when
using this class.
Note that currently there is only one implementation of EntityOutput:
RecordOutput. |
EnumFormat.java | Class | Format for all enum types. |
Evolver.java | Class | Evolves each old format that is still relevant if necessary, using Mutations
to configure deleters, renamers, and converters. |
FieldInfo.java | Class | A field definition used by ComplexFormat and CompositeKeyFormat.
Note that the equals(), compareTo() and hashCode() methods only use the
name field in this class. |
Format.java | Class | The base class for all object formats. |
KeyLocation.java | Class | Holder for the input and format of a key. |
MapProxy.java | Class | Proxy for a Map. |
NonPersistentFormat.java | Class | Format for a non-persistent class that is only used for declared field
types and arrays. |
ObjectArrayFormat.java | Class | An array of objects having a specified number of dimensions. |
PersistCatalog.java | Class | The catalog of class formats for a store, along with its associated model
and mutations. |
PersistComparator.java | Class | The btree comparator for persistent key classes. |
PersistEntityBinding.java | Class | A persistence entity binding for a given entity class. |
PersistKeyAssigner.java | Class | Assigns primary keys from a Sequence.
This class is used directly by PrimaryIndex, not via an interface. |
PersistKeyBinding.java | Class | A persistence key binding for a given key class. |
PersistKeyCreator.java | Class | A persistence secondary key creator/nullifier. |
PrimitiveArrayFormat.java | Class | An array of primitives having one dimension. |
ProxiedFormat.java | Class | Format for types proxied by a PersistentProxy. |
RawAbstractInput.java | Class | Base class for EntityInput implementations that type-check RawObject
instances and convert them to regular persistent objects, via the
Format.convertRawObject method. |
RawAccessor.java | Class | Implements Accessor for RawObject access. |
RawArrayInput.java | Class | Extends RawAbstractInput to convert array (ObjectArrayFormat and
PrimitiveArrayteKeyFormat) RawObject instances. |
RawComplexInput.java | Class | Extends RawAbstractInput to convert complex (ComplexFormat and
CompositeKeyFormat) RawObject instances. |
RawSingleInput.java | Class | Extends RawAbstractInput to convert array (ObjectArrayFormat and
PrimitiveArrayteKeyFormat) RawObject instances. |
Reader.java | Interface | Interface to the "read object" methods of the Format class. |
ReadOnlyCatalog.java | Class | Read-only catalog operations used when initializing new formats. |
RecordInput.java | Class | Implements EntityInput to read record key-data pairs. |
RecordOutput.java | Class | Implements EntityOutput to write record key-data pairs. |
ReflectionAccessor.java | Class | Implements Accessor using reflection. |
SimpleCatalog.java | Class | A static catalog containing simple types only. |
SimpleFormat.java | Class | Format for simple types, including primitives. |
Store.java | Class | Base implementation for EntityStore and RawStore. |
StoredModel.java | Class | The EntityModel used when a RawStore is opened. |
VisitedObjects.java | Class | Keeps track of a set of visited objects and their corresponding offset in a
byte array. |
WidenerInput.java | Class | Widens a value returned by another input when any readXxx method is called.
Used to cause an Accessor to read a widened value.
For non-key fields we support all Java primitive widening:
- byte to short, int, long, float, double or BigInteger
- short to int, long, float, double or BigInteger
- char to int, long, float, double or BigInteger
- int to long, float, double or BigInteger
- long to float, double or BigInteger
- float to double
For non-key fields we also support:
- Java reference widening
- primitive to primitive wrapper
- Java primitive widening to corresponding primitive wrappers
- Java widening of primitive wrapper to primitive wrapper
For secondary keys fields we ONLY support:
- primitive to primitive wrapper
But for primary keys and composite key fields we ONLY support:
- primitive to primitive wrapper
- primitive wrapper to primitive
These conversions don't require any converter, since the stored format is
not changed. |