org.jpox.store |
Definition of the storage of the classes. The StoreManager controls the persistence to the datastore. This package provides generic functionality for all datastore types. Each datastore type will have its own subpackage(s) (e.g rdbms) that cater for the specifics of that datastore.
The DatastoreAdapter represents the interface to that datastore. This is typically extended for particular datastore types (e.g RDBMS) to provide the specifics for that datastore.
Each class is persisted to a datastore table, and each persistable field is mapped to a datastore column. With RDBMS, these are ClassBaseTable, and Column.
Queries are mapped to the datastore type in question. With the case of RDBMS, we allow 3 query languages ... JDOQL, SQL, and JPOXSQL. With others we will likely just allow JDOQL. The QueryStatement currently contains RDBMS functionality and will be subclassed when we have alternative datastores.
|
Java Source File Name | Type | Comment |
AbstractAutoStartMechanism.java | Class | Abstract representation of an autostart mechanism. |
AbstractDatastoreAdapter.java | Class | Generalised datastore representation. |
AbstractExtent.java | Class | Abstract representation of a JDO Extent. |
AbstractIdentifierFactory.java | Class | Abstract representation of an identifier factory. |
AutoStartMechanism.java | Interface | Interface defining an Auto-Start Mechanism.
An Auto-Start Mechanism is a means of auto-populating the classes supported by a StoreManager.
If the user changes their persistence definition a problem can occur when starting up JPOX. |
ClassesAutoStarter.java | Class | An auto-starter mechanism that uses a defined list of classes
to be loaded at start. |
DatastoreAdapter.java | Interface | Definition of a datastore adapter. |
DatastoreArray.java | Interface | Class representing a array mapped in a datastore. |
DatastoreClass.java | Interface | Representation of a Java class in a datastore. |
DatastoreCollection.java | Interface | Class representing a collection mapped in a datastore. |
DatastoreContainer.java | Interface | Class representing a container (map/collection/array) mapped in a datastore. |
DatastoreContainerObject.java | Interface | This represents a container of fields. |
DatastoreElementContainer.java | Interface | Class representing a container of elements (collection/array) mapped in a datastore. |
DatastoreField.java | Interface | Representation of a Java field in a datastore.
In the case of RDBMS this will be a column.
In the case of a file-based structure this may be a file.
In the case of an XML-based structure this may be an node. |
DatastoreIdentifier.java | Interface | Representation of an datastore identifier in any datastore. |
DatastoreMap.java | Interface | Class representing a map mapped in a datastore. |
DatastoreObject.java | Interface | Representation of an datastore object in a (mapped) datastore. |
Extent.java | Interface | Extent of objects within JPOX. |
FetchStatement.java | Interface | Representation of a statement to fetch a particular object. |
FieldValues.java | Interface | Interface for field values. |
IdentifierFactory.java | Interface | Factory that creates immutable instances of DatastoreIdentifier.
Identifiers are of a particular type. |
JPOXConnection.java | Interface | Access to the underlying DataStore Connection. |
JPOXSequence.java | Interface | Sequence of identifiers. |
MappedStoreManager.java | Class | Manager for a datastore that has a schema and maps classes to associated objects in the datastore.
Datastores such as RDBMS will extend this type of StoreManager.
In a "mapped" datastore, a class is associated with a DatastoreClass. |
SCOID.java | Class | Object identifier for use with nondurable objects to guarantee uniqueness in the JVM (but not in datastore).
They can also be used as identifiers for classes that have no database extent, such as JPOXSQL result objects.
Refer to JDO 2 [5.4.4]. |
SecondaryDatastoreClass.java | Interface | Secondary datastore class, managing the mapping of some of the fields of the class
and dependent on a DatastoreClass. |
StatementExpressionIndex.java | Class | Maintain an index for the mapping field vs columns in a JDBC statement. |
StoreData.java | Class | Basic store information about an object that is stored in a datastore. |
StoreDataManager.java | Class | |
StoreManager.java | Class | An abstract representation of a Store Manager.
Manages the persistence of objects to the store.
Will be implemented for the type of datastore (RDBMS, ODBMS, OLAP) in question. |
StoreManagerFactory.java | Class | Factory for creating StoreManagers. |
TableStoreData.java | Class | Representation of a class/field managed by the StoreManager where the datastore persists objects
into a "DatastoreClass" (table).
Type of data
There are 2 constructors, one for specifying a class (FCO) being managed, and one
for specifying a field (SCO) being managed. |
XMLAutoStarter.java | Class | An auto-starter mechanism storing its definition in an XML file. |
XMLAutoStarterEntityResolver.java | Class | Implementation of an entity resolver for JPOX Auto Starter files. |