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, primaryConnectionFactoryName, queryMgr, schemaHandler, secondaryConnectionFactoryName, storeDataMgr, storeManagerKey, valueGenerationMgrOPTION_APPLICATION_COMPOSITE_ID, OPTION_APPLICATION_ID, OPTION_DATASTORE_ID, 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_SECONDARY_TABLE, OPTION_QUERY_CANCEL, OPTION_QUERY_JDOQL_BITWISE_OPS, OPTION_TXN_ISOLATION_READ_COMMITTED, OPTION_TXN_ISOLATION_READ_UNCOMMITTED, OPTION_TXN_ISOLATION_REPEATABLE_READ, OPTION_TXN_ISOLATION_SERIALIZABLE| Constructor and Description |
|---|
MongoDBStoreManager(org.datanucleus.ClassLoaderResolver clr,
org.datanucleus.PersistenceNucleusContext nucleusCtx,
Map<String,Object> props)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
createSchema(String schemaName,
Properties props) |
void |
createSchemaForClasses(Set<String> classNames,
Properties props) |
void |
deleteSchema(String schemaName,
Properties props) |
void |
deleteSchemaForClasses(Set<String> classNames,
Properties props) |
String |
getClassNameForObjectID(Object id,
org.datanucleus.ClassLoaderResolver clr,
org.datanucleus.ExecutionContext ec) |
String |
getStrategyForNative(org.datanucleus.metadata.AbstractClassMetaData cmd,
int absFieldNumber) |
Collection |
getSupportedOptions() |
void |
manageClasses(org.datanucleus.ClassLoaderResolver clr,
String... classNames) |
void |
manageClasses(String[] classNames,
org.datanucleus.ClassLoaderResolver clr,
com.mongodb.DB db) |
boolean |
supportsValueStrategy(String strategy)
Accessor for whether this value strategy is supported.
|
void |
validateSchemaForClasses(Set<String> classNames,
Properties props) |
close, deregisterAllStoreData, getApiAdapter, getBooleanObjectProperty, getBooleanProperty, getBooleanProperty, getConnection, getConnection, getConnection, getConnectionDriverName, getConnectionFactory, getConnectionFactory2, getConnectionFactory2Name, getConnectionFactoryName, getConnectionManager, getConnectionPassword, getConnectionURL, getConnectionUserName, getDatastoreDate, getDefaultObjectProviderClassName, getExtent, getFlushProcess, getIntProperty, getMetaDataManager, getNamingFactory, getNativeQueryLanguage, getNucleusConnection, getNucleusContext, getNucleusSequence, getPersistenceHandler, getPropertiesForGenerator, getProperty, getQueryCacheKey, getQueryManager, getSchemaHandler, getStoreDataForClass, getStoreManagerKey, getStrategyValue, getStrategyValueForGenerator, getStringProperty, getSubClassesForClass, getValueGenerationManager, hasProperty, isJdbcStore, isStrategyDatastoreAttributed, logConfiguration, manageClassForIdentity, managesClass, newStoreData, printInformation, registerConnectionFactory, registerConnectionMgr, registerStoreData, supportsQueryLanguage, transactionCommitted, transactionRolledBack, transactionStarted, unmanageAllClasses, unmanageClass, useBackedSCOWrapperForMember, usesBackedSCOWrapperspublic static final String CAPPED_SIZE_EXTENSION_NAME
public Collection getSupportedOptions()
getSupportedOptions in interface org.datanucleus.store.StoreManagergetSupportedOptions in class org.datanucleus.store.AbstractStoreManagerpublic 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 supportsValueStrategy(String strategy)
supportsValueStrategy in interface org.datanucleus.store.StoreManagersupportsValueStrategy in class org.datanucleus.store.AbstractStoreManagerstrategy - The strategypublic String getStrategyForNative(org.datanucleus.metadata.AbstractClassMetaData cmd, int absFieldNumber)
getStrategyForNative 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 createSchema(String schemaName, Properties props)
createSchema in interface org.datanucleus.store.schema.SchemaAwareStoreManagerpublic void deleteSchema(String schemaName, Properties props)
deleteSchema 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 © 2016. All rights reserved.