public interface SchemaAwareStoreManager
Modifier and Type | Method and Description |
---|---|
void |
createSchema(String schemaName,
Properties props)
Method that will create an actual schema in the datastore (if the datastore supports it).
|
void |
createSchemaForClasses(Set<String> classNames,
Properties props)
Create the schema (tables/constraints) for the specified classes (if supported by this datastore).
|
void |
deleteSchema(String schemaName,
Properties props)
Method that will delete a schema from the datastore (if the datastore supports it).
|
void |
deleteSchemaForClasses(Set<String> classNames,
Properties props)
Delete the schema (tables/constraints) for the specified classes (if supported by this datastore).
|
void |
validateSchemaForClasses(Set<String> classNames,
Properties props)
Validate the schema (tables/constraints) for the specified classes (if supported by this datastore).
|
void createSchema(String schemaName, Properties props)
schemaName
- Name of the schema to createprops
- Any optional propertiesUnsupportedOperationException
- If not supportedvoid createSchemaForClasses(Set<String> classNames, Properties props)
classNames
- Names of the classesprops
- Any optional propertiesUnsupportedOperationException
- If not supportedvoid deleteSchema(String schemaName, Properties props)
schemaName
- Name of the schema to deleteprops
- Any optional propertiesUnsupportedOperationException
- If not supportedvoid deleteSchemaForClasses(Set<String> classNames, Properties props)
classNames
- Names of the classesprops
- Any optional propertiesUnsupportedOperationException
- If not supportedvoid validateSchemaForClasses(Set<String> classNames, Properties props)
classNames
- Names of the classesprops
- Any optional propertiesUnsupportedOperationException
- If not supportedCopyright © 2017. All rights reserved.