Package | Description |
---|---|
org.datanucleus.store.rdbms |
Package providing management of the persistence to RDBMS datastores.
|
org.datanucleus.store.rdbms.key |
This package contains wrappers to various types of keys found in RDBMS databases.
|
org.datanucleus.store.rdbms.request |
Provides the mechanism of communicating with the database using JDBC.
|
org.datanucleus.store.rdbms.scostore |
This package provides classes defining the (SCO) backing store for various container classes (Collections/Maps/arrays) within DataNucleus.
|
org.datanucleus.store.rdbms.sql |
Series of classes used to generate SQL statements.
|
org.datanucleus.store.rdbms.table |
Provides the internal DataNucleus definition of a table/view and its columns.
|
Modifier and Type | Field and Description |
---|---|
protected Map<org.datanucleus.state.ObjectProvider,DatastoreClass> |
RDBMSStoreManager.insertedDatastoreClassByObjectProvider
Map of DatastoreClass keyed by ObjectProvider, for objects currently being inserted.
|
Modifier and Type | Method and Description |
---|---|
DatastoreClass |
RDBMSStoreManager.getDatastoreClass(DatastoreIdentifier name)
Returns the datastore table having the given identifier.
|
DatastoreClass |
RDBMSStoreManager.getDatastoreClass(String className,
org.datanucleus.ClassLoaderResolver clr)
Returns the primary datastore table serving as backing for the given class.
|
Modifier and Type | Method and Description |
---|---|
void |
RDBMSPersistenceHandler.removeRequestsForTable(DatastoreClass table)
Convenience method to remove all requests that use a particular table since the structure
of the table has changed potentially leading to missing columns in the cached version.
|
void |
RDBMSStoreData.setDatastoreContainerObject(DatastoreClass table)
Convenience to set the table.
|
void |
RDBMSStoreManager.setObjectIsInsertedToLevel(org.datanucleus.state.ObjectProvider op,
DatastoreClass table)
Method to set that the specified object is inserted down to the defined datastore class.
|
Modifier and Type | Method and Description |
---|---|
DatastoreClass |
ForeignKey.getRefTable() |
Constructor and Description |
---|
ForeignKey(JavaTypeMapping mapping,
DatastoreAdapter dba,
DatastoreClass refTable,
boolean initiallyDeferred)
Constructor.
|
Modifier and Type | Field and Description |
---|---|
protected DatastoreClass |
BulkRequest.table |
protected DatastoreClass |
Request.table |
Modifier and Type | Method and Description |
---|---|
DatastoreClass |
RequestIdentifier.getTable()
Accessor for the table of this request.
|
Modifier and Type | Method and Description |
---|---|
protected String |
LocateBulkRequest.getStatement(DatastoreClass table,
org.datanucleus.state.ObjectProvider[] ops,
boolean lock) |
protected int |
FetchRequest.processMembersOfClass(SQLStatement sqlStatement,
org.datanucleus.metadata.AbstractMemberMetaData[] mmds,
DatastoreClass table,
SQLTable sqlTbl,
StatementClassMapping mappingDef,
Collection fetchCallbacks,
org.datanucleus.ClassLoaderResolver clr)
Method to process the supplied members of the class, adding to the SQLStatement as required.
|
Constructor and Description |
---|
BulkRequest(DatastoreClass table)
Constructor, taking the table to use for the request.
|
DeleteRequest(DatastoreClass table,
org.datanucleus.metadata.AbstractClassMetaData cmd,
org.datanucleus.ClassLoaderResolver clr)
Constructor, taking the table.
|
FetchRequest(DatastoreClass classTable,
org.datanucleus.metadata.AbstractMemberMetaData[] mmds,
org.datanucleus.metadata.AbstractClassMetaData cmd,
org.datanucleus.ClassLoaderResolver clr)
Constructor, taking the table.
|
InsertRequest(DatastoreClass table,
org.datanucleus.metadata.AbstractClassMetaData cmd,
org.datanucleus.ClassLoaderResolver clr)
Constructor, taking the table.
|
LocateBulkRequest(DatastoreClass table)
Constructor, taking the table.
|
LocateRequest(DatastoreClass table)
Constructor, taking the table.
|
Request(DatastoreClass table)
Constructor, taking the table to use for the request.
|
RequestIdentifier(DatastoreClass table,
org.datanucleus.metadata.AbstractMemberMetaData[] mmds,
RequestType type,
String className)
Constructor.
|
UpdateRequest(DatastoreClass table,
org.datanucleus.metadata.AbstractMemberMetaData[] reqFieldMetaData,
org.datanucleus.metadata.AbstractClassMetaData cmd,
org.datanucleus.ClassLoaderResolver clr)
Constructor, taking the table.
|
Modifier and Type | Field and Description |
---|---|
protected DatastoreClass |
AbstractMapStore.valueTable
Table storing the values.
|
Modifier and Type | Method and Description |
---|---|
DatastoreClass |
ElementContainerStore.ElementInfo.getDatastoreClass() |
Constructor and Description |
---|
ElementInfo(org.datanucleus.metadata.AbstractClassMetaData cmd,
DatastoreClass table) |
Modifier and Type | Field and Description |
---|---|
protected DatastoreClass |
AbstractStatementGenerator.candidateTable
Table where the candidate objects are stored.
|
Modifier and Type | Interface and Description |
---|---|
interface |
SecondaryDatastoreClass
Secondary datastore class, managing the mapping of some of the fields of the class
and dependent on a DatastoreClass.
|
Modifier and Type | Class and Description |
---|---|
class |
ClassTable
Table representing a Java class (or classes) as a first class object (FCO).
|
class |
ClassView
Representation of an SQL View for a Class.
|
class |
SecondaryTable
Representation of a secondary table for a class.
|
Modifier and Type | Method and Description |
---|---|
DatastoreClass |
DatastoreClass.getBaseDatastoreClass()
Accessor for the base datastore class.
|
DatastoreClass |
ClassView.getBaseDatastoreClass() |
DatastoreClass |
SecondaryTable.getBaseDatastoreClass() |
DatastoreClass |
ClassTable.getBaseDatastoreClass() |
DatastoreClass |
DatastoreClass.getBaseDatastoreClassWithMember(org.datanucleus.metadata.AbstractMemberMetaData fmd)
Method to return the base DatastoreClass that persists the
specified field.
|
DatastoreClass |
ClassView.getBaseDatastoreClassWithMember(org.datanucleus.metadata.AbstractMemberMetaData mmd)
Accessor for the base datastore class (table) managing the given field.
|
DatastoreClass |
SecondaryTable.getBaseDatastoreClassWithMember(org.datanucleus.metadata.AbstractMemberMetaData mmd)
Convenience accessor for the base table for this table which has the specified field.
|
DatastoreClass |
ClassTable.getBaseDatastoreClassWithMember(org.datanucleus.metadata.AbstractMemberMetaData mmd)
Convenience accessor for the base table for this table which has the specified field.
|
DatastoreClass |
SecondaryDatastoreClass.getPrimaryDatastoreClass()
Accessor for the primary datastore class that this is dependent on.
|
DatastoreClass |
SecondaryTable.getPrimaryDatastoreClass()
Accessor for the primary datastore class that this is dependent on.
|
DatastoreClass |
DatastoreClass.getSuperDatastoreClass()
Accessor for the supertable for this table.
|
DatastoreClass |
ClassView.getSuperDatastoreClass()
Accessor for the supertable for this table.
|
DatastoreClass |
SecondaryTable.getSuperDatastoreClass()
Accessor for the supertable for this table.
|
DatastoreClass |
ClassTable.getSuperDatastoreClass()
Accessor for the supertable for this table.
|
Modifier and Type | Method and Description |
---|---|
protected ForeignKey |
ElementContainerTable.getForeignKeyToElement(DatastoreClass elementTable,
boolean autoMode,
JavaTypeMapping m)
Convenience method to generate a ForeignKey from this join table to an element table
using the specified mapping.
|
protected ForeignKey |
ElementContainerTable.getForeignKeyToOwner(DatastoreClass ownerTable,
boolean autoMode)
Convenience method to generate a ForeignKey from this join table to an owner table.
|
boolean |
DatastoreClass.isSuperDatastoreClass(DatastoreClass table)
Accessor whether the supplied DatastoreClass is a supertable of this table.
|
boolean |
ClassView.isSuperDatastoreClass(DatastoreClass table)
Accessor whether the supplied DatastoreClass is a supertable of this table.
|
boolean |
SecondaryTable.isSuperDatastoreClass(DatastoreClass table)
Accessor whether the supplied DatastoreClass is a supertable of this table.
|
boolean |
ClassTable.isSuperDatastoreClass(DatastoreClass table)
Accessor whether the supplied DatastoreClass is a supertable of this table.
|
Copyright © 2017. All rights reserved.