Class OracleDSMetadata
- java.lang.Object
-
- com.vividsolutions.jump.datastore.spatialdatabases.SpatialDatabasesDSMetadata
-
- com.vividsolutions.jump.datastore.oracle.OracleDSMetadata
-
- All Implemented Interfaces:
DataStoreMetadata
public class OracleDSMetadata extends SpatialDatabasesDSMetadata
-
-
Field Summary
-
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 OracleDSMetadata(DataStoreConnection con)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getCoordinateDimension(String datasetName, String colName)
String[]
getDatasetNames()
overloaded from SpatialDatabasesDS to cope with special oracle columns typesString
getGeoColumnsQuery(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.protected List<GeometryColumn>
getGeometryAttributes(String sql, String datasetName)
String
getSpatialExtentQuery1(String schema, String table, String attributeName)
String
getSpatialExtentQuery2(String schema, String table, String attributeName)
String
getSridQuery(String schemaName, String tableName, String colName)
-
Methods inherited from class com.vividsolutions.jump.datastore.spatialdatabases.SpatialDatabasesDSMetadata
createColumnList, getAddGeometryColumnStatement, getAddSpatialIndexStatement, getColumnNames, getCoordinateDimensionQuery, getCreateTableStatement, getDatasetInfoQuery, getDatasetNameQuery, getDataStoreConnection, getDataStoreLayers, getDbTypeName, getDefaultSchemaName, getExtents, getPrimaryKeyColumns, getSchemaName, getSpatialDbName, getSRID, getTableName, isIndexed, missingGeoException, querySRID
-
-
-
-
Constructor Detail
-
OracleDSMetadata
public OracleDSMetadata(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
-
getGeometryAttributes
protected List<GeometryColumn> getGeometryAttributes(String sql, String datasetName)
- Overrides:
getGeometryAttributes
in classSpatialDatabasesDSMetadata
-
getCoordinateDimension
public int getCoordinateDimension(String datasetName, String colName)
- Overrides:
getCoordinateDimension
in classSpatialDatabasesDSMetadata
-
getDatasetNames
public String[] getDatasetNames()
overloaded from SpatialDatabasesDS to cope with special oracle columns types- Specified by:
getDatasetNames
in interfaceDataStoreMetadata
- Overrides:
getDatasetNames
in classSpatialDatabasesDSMetadata
- Returns:
- dataset names as an array of strings
-
-