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, isValidateTables
public MongoDBSchemaHandler(org.datanucleus.store.StoreManager storeMgr)
public void createSchemaForClasses(Set<String> classNames, Properties props, Object connection)
createSchemaForClasses
in interface org.datanucleus.store.schema.StoreSchemaHandler
createSchemaForClasses
in class org.datanucleus.store.schema.AbstractStoreSchemaHandler
protected 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.StoreSchemaHandler
deleteSchemaForClasses
in class org.datanucleus.store.schema.AbstractStoreSchemaHandler
public void validateSchema(Set<String> classNames, Properties props, Object connection)
validateSchema
in interface org.datanucleus.store.schema.StoreSchemaHandler
validateSchema
in class org.datanucleus.store.schema.AbstractStoreSchemaHandler
Copyright © 2016. All rights reserved.