public interface SchemaManager
| Modifier and Type | Method and Description |
|---|---|
void |
createTable(SdkDataSourceType datasource,
java.lang.String tableName)
Creates a single table.
|
void |
dropTable(SdkDataSourceType datasource,
java.lang.String tableName)
Drops a single table.
|
boolean |
exists(SdkDataSourceType datasource,
java.lang.String tableName)
Returns whether the specified table exists in the database
|
void createTable(SdkDataSourceType datasource, java.lang.String tableName) throws AlreadyExistsException
datasource - Specifies the database of interest.tableName - Table to create.AlreadyExistsException - tableName already exists in the specified data sourceboolean exists(SdkDataSourceType datasource, java.lang.String tableName)
datasource - Specifies the database of interest.tableName - Table of interestvoid dropTable(SdkDataSourceType datasource, java.lang.String tableName) throws NotFoundException
datasource - Specifies the database of interest.tableName - Table to drop.NotFoundException - tableName not found in the specified data source