Interface DataStoreMetadata
- All Known Implementing Classes:
H2DSMetadata, MariadbDSMetadata, OracleDSMetadata, PostgisDSMetadata, SpatialDatabasesDSMetadata, SpatialiteDSMetadata
public interface DataStoreMetadata
Metadata about the datasets in the database
-
Method Summary
Modifier and TypeMethodDescriptionString[]getColumnNames(String datasetName) list columns of a tableString[]list all tablesDataSoreConnection used by these metadataorg.locationtech.jts.geom.EnvelopegetExtents(String datasetName, String attributeName) getGeometryAttributes(String datasetName) getPrimaryKeyColumns(String datasetName) Returns columns of this dataset involved in the Primary Key.Get the SRID of a table's (geometry) column
-
Method Details
-
getDatasetNames
-
getGeometryAttributes
-
getPrimaryKeyColumns
Returns columns of this dataset involved in the Primary Key. (added on 2013-08-07)- Parameters:
datasetName- the table name (optionally prefixed by a schema name)- Returns:
- the list of columns to be used as a PrimaryKey
- Throws:
SQLException- if the server throws an Exception during Primary Key retrieval
-
getExtents
-
getSRID
Get the SRID of a table's (geometry) column- Parameters:
datasetName- the dataset namecolName- the column name- Returns:
- the SpatialReferenceSystemID for this column
- Throws:
SQLException- if the server throws an Exception during SRID retrieval
-
getColumnNames
-
getDataStoreConnection
DataStoreConnection getDataStoreConnection()DataSoreConnection used by these metadata- Returns:
- a DataStoreConnection
-