| Package | Description |
|---|---|
| com.sleepycat.persist.impl |
INTERNAL: Direct Persistence Layer (DPL) implementation.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ComplexFormat
Format for persistent complex classes that are not composite key classes.
|
class |
CompositeKeyFormat
Format for a composite key class.
|
class |
EnumFormat
Format for all enum types.
|
class |
ObjectArrayFormat
An array of objects having a specified number of dimensions.
|
class |
PrimitiveArrayFormat
An array of primitives having one dimension.
|
class |
ProxiedFormat
Format for types proxied by a PersistentProxy.
|
class |
SimpleFormat
Format for simple types, including primitives.
|
static class |
SimpleFormat.FBigDec |
static class |
SimpleFormat.FBigInt |
static class |
SimpleFormat.FBool |
static class |
SimpleFormat.FByte |
static class |
SimpleFormat.FChar |
static class |
SimpleFormat.FDate |
static class |
SimpleFormat.FDouble |
static class |
SimpleFormat.FFloat |
static class |
SimpleFormat.FInt |
static class |
SimpleFormat.FLong |
static class |
SimpleFormat.FShort |
static class |
SimpleFormat.FString |
| Modifier and Type | Method and Description |
|---|---|
Format |
SimpleCatalog.createFormat(Class type,
Map<String,Format> newFormats) |
Format |
PersistCatalog.createFormat(Class type,
Map<String,Format> newFormats)
If the given class format is not already present in the given map and
a format for this class name does not already exist, creates an
uninitialized format, adds it to the map, and also collects related
formats in the map.
|
Format |
SimpleCatalog.createFormat(String clsName,
Map<String,Format> newFormats) |
Format |
PersistCatalog.createFormat(String clsName,
Map<String,Format> newFormats)
Convenience method that gets the class for the given class name and
calls createFormat with the class object.
|
Format |
PrimitiveArrayFormat.getComponentType() |
Format |
ObjectArrayFormat.getComponentType() |
Format |
Format.getComponentType() |
Format |
SimpleCatalog.getFormat(Class cls,
boolean checkEntitySubclassIndexes) |
Format |
PersistCatalog.getFormat(Class cls,
boolean checkEntitySubclassIndexes)
Get a format for a given class, creating it if it does not exist.
|
Format |
SimpleCatalog.getFormat(int formatId,
boolean expectStored) |
Format |
PersistCatalog.getFormat(int formatId,
boolean expectStored) |
Format |
SimpleCatalog.getFormat(String className) |
Format |
PersistCatalog.getFormat(String className) |
Format |
PersistCatalog.getLatestVersion(String className) |
Format |
Format.getPreviousVersion()
Returns the previous version of this format in the linked list of
versions, or null if this is the only version.
|
Format |
Format.getSuperType() |
| Modifier and Type | Method and Description |
|---|---|
void |
Enhanced.bdbReadCompositeKeyFields(EntityInput input,
Format[] formats) |
void |
Enhanced.bdbReadPriKeyField(EntityInput input,
Format format)
Calls the super class method if this class does not contain the primary
key field.
|
void |
Enhanced.bdbWriteCompositeKeyFields(EntityOutput output,
Format[] formats) |
void |
Enhanced.bdbWritePriKeyField(EntityOutput output,
Format format)
Calls the super class method if this class does not contain the primary
key field.
|
int |
SimpleCatalog.getInitVersion(Format format,
boolean forReader) |
int |
PersistCatalog.getInitVersion(Format format,
boolean forReader)
When a format is intialized, this method is called to get the version
of the serialized object to be initialized.
|
void |
ConverterReader.initializeReader(com.sleepycat.persist.impl.Catalog catalog,
EntityModel model,
int initVersion,
Format oldFormat) |
void |
Format.initializeReader(com.sleepycat.persist.impl.Catalog catalog,
EntityModel model,
int initVersion,
Format oldFormat)
Called to initialize a separate Reader implementation.
|
Object |
EntityInput.readKeyObject(Format format)
Called for a primary key field or a composite key field with a reference
type.
|
void |
EntityInput.skipField(Format declaredFormat)
Called via PersistKeyCreator to skip fields prior to the secondary key
field.
|
void |
EntityOutput.writeKeyObject(Object o,
Format fieldFormat)
Called for a primary key field or composite key field with a reference
type.
|
void |
EntityOutput.writeObject(Object o,
Format fieldFormat)
Called via Accessor to write all fields with reference types, except for
the primary key field and composite key fields (see writeKeyObject
below).
|
| Modifier and Type | Method and Description |
|---|---|
Format |
SimpleCatalog.createFormat(Class type,
Map<String,Format> newFormats) |
Format |
PersistCatalog.createFormat(Class type,
Map<String,Format> newFormats)
If the given class format is not already present in the given map and
a format for this class name does not already exist, creates an
uninitialized format, adds it to the map, and also collects related
formats in the map.
|
Format |
SimpleCatalog.createFormat(String clsName,
Map<String,Format> newFormats) |
Format |
PersistCatalog.createFormat(String clsName,
Map<String,Format> newFormats)
Convenience method that gets the class for the given class name and
calls createFormat with the class object.
|
void |
PersistCatalog.getEntityFormats(Collection<Format> entityFormats) |
Copyright © 2024. All rights reserved.