public class CreateSpatialIndexGeneratorGeoDB extends AbstractCreateSpatialIndexGenerator
CreateSpatialIndexGeneratorGeoDB
generates the SQL for creating a spatial index in
Apache Derby and H2.Constructor and Description |
---|
CreateSpatialIndexGeneratorGeoDB() |
Modifier and Type | Method and Description |
---|---|
Sql[] |
generateSql(CreateSpatialIndexStatement statement,
Database database,
SqlGeneratorChain sqlGeneratorChain) |
boolean |
supports(CreateSpatialIndexStatement statement,
Database database) |
ValidationErrors |
validate(CreateSpatialIndexStatement statement,
Database database,
SqlGeneratorChain sqlGeneratorChain)
Ensures that the table name and columns are populated.
|
getAffectedIndex
public boolean supports(CreateSpatialIndexStatement statement, Database database)
public ValidationErrors validate(CreateSpatialIndexStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain)
validate
in class AbstractCreateSpatialIndexGenerator
SqlGenerator#validate(liquibase.statement.SqlStatement, Database, SqlGeneratorChain)
public Sql[] generateSql(CreateSpatialIndexStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain)
liquibase.sqlgenerator.SqlGenerator#generateSql(liquibase.statement.SqlStatement,
liquibase.database.Database, liquibase.sqlgenerator.SqlGeneratorChain)
Copyright © 2014–2015. All rights reserved.