Class MariadbDSMetadata
- java.lang.Object
-
- com.vividsolutions.jump.datastore.spatialdatabases.SpatialDatabasesDSMetadata
-
- com.vividsolutions.jump.datastore.mariadb.MariadbDSMetadata
-
- All Implemented Interfaces:
DataStoreMetadata
public class MariadbDSMetadata extends SpatialDatabasesDSMetadata
-
-
Field Summary
Fields Modifier and Type Field Description static String
GC_COLUMN_NAME
-
Fields inherited from class com.vividsolutions.jump.datastore.spatialdatabases.SpatialDatabasesDSMetadata
conn, coordDimQuery, datasetInfoQuery, datasetNameQuery, dataStoreLayers, defaultSchemaName, geoColumnsQuery, reader, spatialDbName, spatialExtentQuery1, spatialExtentQuery2, sridMap, sridQuery, txtReader
-
-
Constructor Summary
Constructors Constructor Description MariadbDSMetadata(DataStoreConnection con)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getGeoColumnsQuery(String datasetName)
String
getGeoColumnsQuery2(String datasetName)
List<GeometryColumn>
getGeometryAttributes(String datasetName)
Retrieves list of geometric tables from a custom DB Query: Should use OGC metadata geoemtry_columns or equivalent mechanism according to target DB.String
getSpatialExtentQuery1(String schema, String table, String attributeName)
String
getSpatialExtentQuery2(String schema, String table, String attributeName)
String
getSridQuery(String schemaName, String tableName, String colName)
String
getSridQuery2(String schemaName, String tableName, String colName)
-
Methods inherited from class com.vividsolutions.jump.datastore.spatialdatabases.SpatialDatabasesDSMetadata
createColumnList, getAddGeometryColumnStatement, getAddSpatialIndexStatement, getColumnNames, getCoordinateDimension, getCoordinateDimensionQuery, getCreateTableStatement, getDatasetInfoQuery, getDatasetNameQuery, getDatasetNames, getDataStoreConnection, getDataStoreLayers, getDbTypeName, getDefaultSchemaName, getExtents, getGeometryAttributes, getPrimaryKeyColumns, getSchemaName, getSpatialDbName, getSRID, getTableName, isIndexed, missingGeoException, querySRID
-
-
-
-
Field Detail
-
GC_COLUMN_NAME
public static String GC_COLUMN_NAME
-
-
Constructor Detail
-
MariadbDSMetadata
public MariadbDSMetadata(DataStoreConnection con)
-
-
Method Detail
-
getSpatialExtentQuery1
public String getSpatialExtentQuery1(String schema, String table, String attributeName)
- Overrides:
getSpatialExtentQuery1
in classSpatialDatabasesDSMetadata
-
getSpatialExtentQuery2
public String getSpatialExtentQuery2(String schema, String table, String attributeName)
- Overrides:
getSpatialExtentQuery2
in classSpatialDatabasesDSMetadata
-
getGeoColumnsQuery
public String getGeoColumnsQuery(String datasetName)
- Overrides:
getGeoColumnsQuery
in classSpatialDatabasesDSMetadata
-
getSridQuery
public String getSridQuery(String schemaName, String tableName, String colName)
- Overrides:
getSridQuery
in classSpatialDatabasesDSMetadata
-
getGeometryAttributes
public List<GeometryColumn> getGeometryAttributes(String datasetName)
Description copied from class:SpatialDatabasesDSMetadata
Retrieves list of geometric tables from a custom DB Query: Should use OGC metadata geoemtry_columns or equivalent mechanism according to target DB.- Specified by:
getGeometryAttributes
in interfaceDataStoreMetadata
- Overrides:
getGeometryAttributes
in classSpatialDatabasesDSMetadata
- Parameters:
datasetName
- name of a dataset- Returns:
- list of GeometryColumn's referenced in this dataset
-
-