public class MongoDBSchemaHandler
extends org.datanucleus.store.schema.AbstractStoreSchemaHandler
| Constructor and Description |
|---|
MongoDBSchemaHandler(org.datanucleus.store.StoreManager storeMgr) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
createSchemaForClass(org.datanucleus.metadata.AbstractClassMetaData cmd,
com.mongodb.DB db) |
void |
createSchemaForClasses(Set<String> classNames,
Properties props,
Object connection) |
void |
deleteSchemaForClasses(Set<String> classNames,
Properties props,
Object connection) |
void |
validateSchema(Set<String> classNames,
Properties props,
Object connection) |
clear, createSchema, deleteSchema, getSchemaData, getStoreManager, isAutoCreateColumns, isAutoCreateConstraints, isAutoCreateSchema, isAutoCreateTables, isAutoCreateWarnOnError, isAutoDeleteColumns, isValidateColumns, isValidateConstraints, isValidateTablespublic MongoDBSchemaHandler(org.datanucleus.store.StoreManager storeMgr)
public void createSchemaForClasses(Set<String> classNames, Properties props, Object connection)
createSchemaForClasses in interface org.datanucleus.store.schema.StoreSchemaHandlercreateSchemaForClasses in class org.datanucleus.store.schema.AbstractStoreSchemaHandlerprotected void createSchemaForClass(org.datanucleus.metadata.AbstractClassMetaData cmd,
com.mongodb.DB db)
public void deleteSchemaForClasses(Set<String> classNames, Properties props, Object connection)
deleteSchemaForClasses in interface org.datanucleus.store.schema.StoreSchemaHandlerdeleteSchemaForClasses in class org.datanucleus.store.schema.AbstractStoreSchemaHandlerpublic void validateSchema(Set<String> classNames, Properties props, Object connection)
validateSchema in interface org.datanucleus.store.schema.StoreSchemaHandlervalidateSchema in class org.datanucleus.store.schema.AbstractStoreSchemaHandlerCopyright © 2016. All rights reserved.