public class DropSpatialTableGeneratorGeoDB extends
DropSpatialTableGeneratorGeoDB generates the SQL statements for cleaning up any
indexes and geometry columns prior to dropping the table.| Constructor and Description |
|---|
DropSpatialTableGeneratorGeoDB() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
dropSpatialIndexIfExists(String catalogName,
String schemaName,
String tableName,
Database database,
List<Sql> list)
Adds the SQL statement to drop the spatial index if it is present.
|
Sql[] |
generateSql(DropTableStatement statement,
Database database,
SqlGeneratorChain sqlGeneratorChain) |
int |
getPriority() |
boolean |
supports(DropTableStatement statement,
Database database) |
ValidationErrors |
validate(DropTableStatement statement,
Database database,
SqlGeneratorChain sqlGeneratorChain) |
public boolean supports(DropTableStatement statement,
Database database)
AbstractSqlGenerator#supports(SqlStatement, Database)public int getPriority()
AbstractSqlGenerator#getPriority()public ValidationErrors validate(DropTableStatement statement,
Database database,
SqlGeneratorChain sqlGeneratorChain)
public Sql[] generateSql(DropTableStatement statement,
Database database,
SqlGeneratorChain sqlGeneratorChain)
protected void dropSpatialIndexIfExists(String catalogName, String schemaName, String tableName, Database database, List<Sql> list)
catalogName - the catalog name.schemaName - the schema name.tableName - the table name.database - the database.list - the list of SQL statements to execute.Copyright © 2014–2015. All rights reserved.