public class MongoDBStoreManager
extends org.datanucleus.store.AbstractStoreManager
implements org.datanucleus.store.schema.SchemaAwareStoreManager
| Modifier and Type | Field and Description |
|---|---|
static String |
CAPPED_SIZE_EXTENSION_NAME |
connectionMgr, flushProcess, namingFactory, nucleusContext, persistenceHandler, queryMgr, schemaHandler, storeDataMgr, storeManagerKey, valueGenerationMgrOPTION_APPLICATION_COMPOSITE_ID, OPTION_APPLICATION_ID, OPTION_DATASTORE_ID, OPTION_DATASTORE_TIME_STORES_MILLISECS, OPTION_DATASTORE_TIME_STORES_NANOSECS, OPTION_DATASTORE_TIMEOUT, OPTION_NONDURABLE_ID, OPTION_ORM, OPTION_ORM_EMBEDDED_ARRAY, OPTION_ORM_EMBEDDED_ARRAY_NESTED, OPTION_ORM_EMBEDDED_COLLECTION, OPTION_ORM_EMBEDDED_COLLECTION_NESTED, OPTION_ORM_EMBEDDED_MAP, OPTION_ORM_EMBEDDED_MAP_NESTED, OPTION_ORM_EMBEDDED_PC, OPTION_ORM_EMBEDDED_PC_NESTED, OPTION_ORM_FOREIGN_KEYS, OPTION_ORM_INHERITANCE_COMPLETE_TABLE, OPTION_ORM_INHERITANCE_JOINED_TABLE, OPTION_ORM_INHERITANCE_SINGLE_TABLE, OPTION_ORM_SECONDARY_TABLE, OPTION_ORM_SERIALISED_ARRAY_ELEMENT, OPTION_ORM_SERIALISED_COLLECTION_ELEMENT, OPTION_ORM_SERIALISED_MAP_KEY, OPTION_ORM_SERIALISED_MAP_VALUE, OPTION_ORM_SERIALISED_PC, OPTION_QUERY_CANCEL, OPTION_QUERY_JDOQL_BITWISE_OPS, OPTION_QUERY_JDOQL_BULK_DELETE, OPTION_QUERY_JDOQL_BULK_INSERT, OPTION_QUERY_JDOQL_BULK_UPDATE, OPTION_QUERY_JPQL_BULK_DELETE, OPTION_QUERY_JPQL_BULK_INSERT, OPTION_QUERY_JPQL_BULK_UPDATE, OPTION_TRANSACTION_ACID, OPTION_TXN_ISOLATION_READ_COMMITTED, OPTION_TXN_ISOLATION_READ_UNCOMMITTED, OPTION_TXN_ISOLATION_REPEATABLE_READ, OPTION_TXN_ISOLATION_SERIALIZABLE, RELATION_IDENTITY_STORAGE_PERSISTABLE_IDENTITY| Constructor and Description |
|---|
MongoDBStoreManager(org.datanucleus.ClassLoaderResolver clr,
org.datanucleus.PersistenceNucleusContext nucleusCtx,
Map<String,Object> props)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
createDatabase(String catalogName,
String schemaName,
Properties props) |
void |
createSchemaForClasses(Set<String> classNames,
Properties props) |
void |
deleteDatabase(String catalogName,
String schemaName,
Properties props) |
void |
deleteSchemaForClasses(Set<String> classNames,
Properties props) |
String |
getClassNameForObjectID(Object id,
org.datanucleus.ClassLoaderResolver clr,
org.datanucleus.ExecutionContext ec) |
Collection<String> |
getSupportedOptions() |
String |
getValueGenerationStrategyForNative(org.datanucleus.metadata.AbstractClassMetaData cmd,
int absFieldNumber) |
void |
manageClasses(org.datanucleus.ClassLoaderResolver clr,
String... classNames) |
void |
manageClasses(String[] classNames,
org.datanucleus.ClassLoaderResolver clr,
com.mongodb.DB db) |
org.datanucleus.store.query.Query |
newQuery(String language,
org.datanucleus.ExecutionContext ec) |
org.datanucleus.store.query.Query |
newQuery(String language,
org.datanucleus.ExecutionContext ec,
org.datanucleus.store.query.Query q) |
org.datanucleus.store.query.Query |
newQuery(String language,
org.datanucleus.ExecutionContext ec,
String queryString) |
boolean |
supportsValueGenerationStrategy(String strategy)
Accessor for whether this value strategy is supported.
|
void |
validateSchemaForClasses(Set<String> classNames,
Properties props) |
close, deregisterAllStoreData, getApiAdapter, getBooleanObjectProperty, getBooleanProperty, getBooleanProperty, getConnectionManager, getConnectionPassword, getDefaultObjectProviderClassName, getExtent, getFlushProcess, getIntProperty, getMetaDataManager, getNamingFactory, getNextValueForValueGenerator, getNucleusConnection, getNucleusContext, getPersistenceHandler, getPropertiesForValueGenerator, getProperty, getQueryManager, getSchemaHandler, getStoreDataForClass, getStoreManagerKey, getStringProperty, getSubClassesForClass, getSupportedQueryLanguages, getValueGenerationManager, getValueGenerationStrategyValue, getValueGeneratorForMember, hasProperty, isJdbcStore, isValueGenerationStrategyDatastoreAttributed, logConfiguration, manageClassForIdentity, managesClass, newStoreData, printInformation, registerConnectionMgr, registerStoreData, supportsQueryLanguage, unmanageAllClasses, unmanageClass, useBackedSCOWrapperForMembergetFrequentProperties, hasPropertyNotNull, setPropertyInternalclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetConnectionDriverName, getConnectionFactory, getConnectionFactory2, getConnectionFactory2Name, getConnectionFactoryName, getConnectionURL, getConnectionUserName, getDatastoreDate, getNativeQueryLanguage, getNucleusSequence, getQueryCacheKey, transactionCommitted, transactionRolledBack, transactionStarted, usesBackedSCOWrapperspublic static final String CAPPED_SIZE_EXTENSION_NAME
public Collection<String> getSupportedOptions()
getSupportedOptions in interface org.datanucleus.store.StoreManagergetSupportedOptions in class org.datanucleus.store.AbstractStoreManagerpublic org.datanucleus.store.query.Query newQuery(String language, org.datanucleus.ExecutionContext ec)
newQuery in interface org.datanucleus.store.StoreManagerpublic org.datanucleus.store.query.Query newQuery(String language, org.datanucleus.ExecutionContext ec, String queryString)
newQuery in interface org.datanucleus.store.StoreManagerpublic org.datanucleus.store.query.Query newQuery(String language, org.datanucleus.ExecutionContext ec, org.datanucleus.store.query.Query q)
newQuery in interface org.datanucleus.store.StoreManagerpublic String getClassNameForObjectID(Object id, org.datanucleus.ClassLoaderResolver clr, org.datanucleus.ExecutionContext ec)
getClassNameForObjectID in interface org.datanucleus.store.StoreManagergetClassNameForObjectID in class org.datanucleus.store.AbstractStoreManagerpublic boolean supportsValueGenerationStrategy(String strategy)
supportsValueGenerationStrategy in interface org.datanucleus.store.StoreManagersupportsValueGenerationStrategy in class org.datanucleus.store.AbstractStoreManagerstrategy - The strategypublic String getValueGenerationStrategyForNative(org.datanucleus.metadata.AbstractClassMetaData cmd, int absFieldNumber)
getValueGenerationStrategyForNative in interface org.datanucleus.store.StoreManagergetValueGenerationStrategyForNative in class org.datanucleus.store.AbstractStoreManagerpublic void manageClasses(org.datanucleus.ClassLoaderResolver clr,
String... classNames)
manageClasses in interface org.datanucleus.store.StoreManagermanageClasses in class org.datanucleus.store.AbstractStoreManagerpublic void manageClasses(String[] classNames, org.datanucleus.ClassLoaderResolver clr, com.mongodb.DB db)
public void createDatabase(String catalogName, String schemaName, Properties props)
createDatabase in interface org.datanucleus.store.schema.SchemaAwareStoreManagerpublic void deleteDatabase(String catalogName, String schemaName, Properties props)
deleteDatabase in interface org.datanucleus.store.schema.SchemaAwareStoreManagerpublic void createSchemaForClasses(Set<String> classNames, Properties props)
createSchemaForClasses in interface org.datanucleus.store.schema.SchemaAwareStoreManagerpublic void deleteSchemaForClasses(Set<String> classNames, Properties props)
deleteSchemaForClasses in interface org.datanucleus.store.schema.SchemaAwareStoreManagerpublic void validateSchemaForClasses(Set<String> classNames, Properties props)
validateSchemaForClasses in interface org.datanucleus.store.schema.SchemaAwareStoreManagerCopyright © 2019. All rights reserved.