public class CreateSpatialIndexStatement
extends AbstractSqlStatement
CreateSpatialIndexStatement
represents a CREATE SPATIAL INDEX
statement.Constructor and Description |
---|
CreateSpatialIndexStatement(String indexName,
String tableCatalogName,
String tableSchemaName,
String tableName,
String[] columns,
String tablespace,
String geometryType,
Integer srid) |
Modifier and Type | Method and Description |
---|---|
String[] |
getColumns() |
String |
getGeometryType()
Returns the WKT geometry type (e.g.
|
String |
getIndexName() |
Integer |
getSrid()
Returns the Spatial Reference ID (e.g.
|
String |
getTableCatalogName() |
String |
getTableName() |
String |
getTableSchemaName() |
String |
getTablespace() |
void |
setGeometryType(String geometryType)
Sets the WKT geometry type (e.g.
|
void |
setSrid(Integer srid)
Sets the Spatial Reference ID (e.g.
|
CreateSpatialIndexStatement |
setTablespace(String tablespace) |
public CreateSpatialIndexStatement(String indexName, String tableCatalogName, String tableSchemaName, String tableName, String[] columns, String tablespace, String geometryType, Integer srid)
indexName
- tableCatalogName
- tableSchemaName
- tableName
- the table name.columns
- the array of column names.tablespace
- the optional table space name.geometryType
- the optional geometry type.srid
- the optional Spatial Reference ID.public String getTableCatalogName()
public String getTableSchemaName()
public String getIndexName()
public String getTableName()
public String[] getColumns()
public String getTablespace()
public CreateSpatialIndexStatement setTablespace(String tablespace)
public void setGeometryType(String geometryType)
geometryType
- the geometry type.public String getGeometryType()
public void setSrid(Integer srid)
srid
- the SRID.public Integer getSrid()
Copyright © 2014–2015. All rights reserved.