View Javadoc

1   package liquibase.ext.spatial.statement;
2   
3   import liquibase.statement.AbstractSqlStatement;
4   
5   /**
6    * <code>DropSpatialIndexStatement</code> represents a <code>DROP SPATIAL INDEX</code> statement.
7    */
8   public class DropSpatialIndexStatement extends AbstractSqlStatement {
9      /** The index name. */
10     private final String indexName;
11  
12     /** The table catalog name. */
13     private final String tableCatalogName;
14  
15     /** The table schema name. */
16     private final String tableSchemaName;
17  
18     /** The table name. */
19     private final String tableName;
20  
21     /**
22      * @param indexName
23      * @param tableCatalogName
24      * @param tableSchemaName
25      * @param tableName
26      */
27     public DropSpatialIndexStatement(final String indexName, final String tableCatalogName,
28           final String tableSchemaName, final String tableName) {
29        this.indexName = indexName;
30        this.tableCatalogName = tableCatalogName;
31        this.tableSchemaName = tableSchemaName;
32        this.tableName = tableName;
33     }
34  
35     /**
36      * Returns the index name.
37      * 
38      * @return the index name.
39      */
40     public String getIndexName() {
41        return this.indexName;
42     }
43  
44     /**
45      * Returns the table catalog name.
46      * 
47      * @return the table catalog name.
48      */
49     public String getTableCatalogName() {
50        return this.tableCatalogName;
51     }
52  
53     /**
54      * Returns the table schema name.
55      * 
56      * @return the table schema name.
57      */
58     public String getTableSchemaName() {
59        return this.tableSchemaName;
60     }
61  
62     /**
63      * Returns the table name.
64      * 
65      * @return the table name.
66      */
67     public String getTableName() {
68        return this.tableName;
69     }
70  }