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, valueGenerationMgr
OPTION_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, usesBackedSCOWrappers
public static final String CAPPED_SIZE_EXTENSION_NAME
public Collection getSupportedOptions()
getSupportedOptions
in interface org.datanucleus.store.StoreManager
getSupportedOptions
in class org.datanucleus.store.AbstractStoreManager
public String getClassNameForObjectID(Object id, org.datanucleus.ClassLoaderResolver clr, org.datanucleus.ExecutionContext ec)
getClassNameForObjectID
in interface org.datanucleus.store.StoreManager
getClassNameForObjectID
in class org.datanucleus.store.AbstractStoreManager
public boolean supportsValueStrategy(String strategy)
supportsValueStrategy
in interface org.datanucleus.store.StoreManager
supportsValueStrategy
in class org.datanucleus.store.AbstractStoreManager
strategy
- The strategypublic String getStrategyForNative(org.datanucleus.metadata.AbstractClassMetaData cmd, int absFieldNumber)
getStrategyForNative
in class org.datanucleus.store.AbstractStoreManager
public void manageClasses(org.datanucleus.ClassLoaderResolver clr, String... classNames)
manageClasses
in interface org.datanucleus.store.StoreManager
manageClasses
in class org.datanucleus.store.AbstractStoreManager
public 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.SchemaAwareStoreManager
public void deleteSchema(String schemaName, Properties props)
deleteSchema
in interface org.datanucleus.store.schema.SchemaAwareStoreManager
public void createSchemaForClasses(Set<String> classNames, Properties props)
createSchemaForClasses
in interface org.datanucleus.store.schema.SchemaAwareStoreManager
public void deleteSchemaForClasses(Set<String> classNames, Properties props)
deleteSchemaForClasses
in interface org.datanucleus.store.schema.SchemaAwareStoreManager
public void validateSchemaForClasses(Set<String> classNames, Properties props)
validateSchemaForClasses
in interface org.datanucleus.store.schema.SchemaAwareStoreManager
Copyright © 2016. All rights reserved.