Class GeometryIndexTableCreator
- java.lang.Object
-
- mil.nga.geopackage.db.GeoPackageTableCreator
-
- mil.nga.geopackage.extension.nga.index.GeometryIndexTableCreator
-
public class GeometryIndexTableCreator extends GeoPackageTableCreator
Geometry Index Extension Table Creator- Since:
- 4.0.0
- Author:
- osbornb
-
-
Field Summary
Fields Modifier and Type Field Description static String
GEOMETRY_INDEX
Geometry Index propertystatic String
INDEX_GEOMETRY_INDEX
Index Geometry Index propertystatic String
TABLE_INDEX
Table Index propertystatic String
UNINDEX_GEOMETRY_INDEX
Unindex Geometry Index property-
Fields inherited from class mil.nga.geopackage.db.GeoPackageTableCreator
CONTENTS, DATA_COLUMN_CONSTRAINTS, DATA_COLUMNS, DIRECTORY, EXTENDED_RELATIONS, EXTENSIONS, GEOMETRY_COLUMNS, GRIDDED_COVERAGE, GRIDDED_PATH, GRIDDED_TILE, METADATA, METADATA_PATH, METADATA_REFERENCE, RELATED_PATH, RTREE, SCHEMA_PATH, SPATIAL_REFERENCE_SYSTEM, TILE_MATRIX, TILE_MATRIX_SET
-
-
Constructor Summary
Constructors Constructor Description GeometryIndexTableCreator(GeoPackageCoreConnection db)
ConstructorGeometryIndexTableCreator(GeoPackageCore geoPackage)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
createGeometryIndex()
Create Geometry Index tableint
createTableIndex()
Create Table Index tableString
getAuthor()
Get the table creator authorString
getName()
Get the table creator nameint
indexGeometryIndex()
Create Geometry Index table column indexesint
unindexGeometryIndex()
Un-index (drop) Geometry Index table column indexes-
Methods inherited from class mil.nga.geopackage.db.GeoPackageTableCreator
createContents, createDataColumnConstraints, createDataColumns, createExtendedRelations, createExtensions, createGeometryColumns, createGriddedCoverage, createGriddedTile, createMetadata, createMetadataReference, createRequired, createSpatialReferenceSystem, createTable, createTileMatrix, createTileMatrixSet, dropTable, dropView, execScript, execScript, execScript, execSQLScript, execSQLScript, getProperty, getScript, readScript, readScript, readSQLScript, readSQLScript
-
-
-
-
Field Detail
-
TABLE_INDEX
public static final String TABLE_INDEX
Table Index property- See Also:
- Constant Field Values
-
GEOMETRY_INDEX
public static final String GEOMETRY_INDEX
Geometry Index property- See Also:
- Constant Field Values
-
INDEX_GEOMETRY_INDEX
public static final String INDEX_GEOMETRY_INDEX
Index Geometry Index property- See Also:
- Constant Field Values
-
UNINDEX_GEOMETRY_INDEX
public static final String UNINDEX_GEOMETRY_INDEX
Unindex Geometry Index property- See Also:
- Constant Field Values
-
-
Constructor Detail
-
GeometryIndexTableCreator
public GeometryIndexTableCreator(GeoPackageCoreConnection db)
Constructor- Parameters:
db
- db connection
-
GeometryIndexTableCreator
public GeometryIndexTableCreator(GeoPackageCore geoPackage)
Constructor- Parameters:
geoPackage
- GeoPackage
-
-
Method Detail
-
getAuthor
public String getAuthor()
Get the table creator author- Overrides:
getAuthor
in classGeoPackageTableCreator
- Returns:
- author or null
-
getName
public String getName()
Get the table creator name- Overrides:
getName
in classGeoPackageTableCreator
- Returns:
- name or null
-
createTableIndex
public int createTableIndex()
Create Table Index table- Returns:
- executed statements
-
createGeometryIndex
public int createGeometryIndex()
Create Geometry Index table- Returns:
- executed statements
-
indexGeometryIndex
public int indexGeometryIndex()
Create Geometry Index table column indexes- Returns:
- executed statements
-
unindexGeometryIndex
public int unindexGeometryIndex()
Un-index (drop) Geometry Index table column indexes- Returns:
- executed statements
-
-