Package org.datanucleus.store
Package handling the storage of classes to the datastore, and the management of the datastore.
Each type of datastore will have its own subpackage (e.g org.datanucleus.store.rdbms) and its own StoreManager.
When providing support for a new datastore you need to extend AbstractStoreManager.
The package also provides definition of StoreData - data held about each class and utilised by the StoreManager to perform its duties. This data is populated either at runtime when classes are requested, or when using an "auto-starter". There are several auto-start mechanisms. This package has ClassesAutoStarter and XMLAutoStarter.
-
Interface Summary Interface Description BackedSCOStoreManager Interface implemented by a StoreManager when it supports "backed" SCO wrappers (i.e SCO fields have a connection to the datastore via a "backing store" to support more efficient connectivity).ConnectionEncryptionProvider Interface to be implemented by an decryption provider allowing encrypted passwords in persistence properties.EncryptionAwareStoreManager Interface implemented by any StoreManager that wants to provide a hook to encrypt field data prior to persistence.FieldValues Interface for field values.NucleusConnection Access to the underlying DataStore Connection.NucleusSequence Sequence of values.ObjectReferencingStoreManager Interface to be implemented by any StoreManager that provides objects that are actually created by the underlying datastore.PersistenceEncryptionProvider Interface to be implemented by any persistence encryption provider.StoreManager Interface defining management of a datastore.StorePersistenceHandler Interface defining persistence operations of a StoreManager. -
Class Summary Class Description AbstractPersistenceHandler Abstract representation of a persistence handler, to be extended by datastores own variant.AbstractStoreManager An abstract representation of a Store Manager.NucleusConnectionImpl Representation of a datastore connection.NucleusSequenceImpl Basic generic implementation of a datastore sequence.StoreData Basic store information about an object that is stored in a datastore.StoreDataManager Manager for store information.StoreManagerHelper Helper methods for StoreManager operations. -
Enum Summary Enum Description StoreData.Type StorePersistenceHandler.PersistenceBatchType Enum for the type of a batched operation