Class OracleDSConnection
- java.lang.Object
-
- com.vividsolutions.jump.datastore.spatialdatabases.SpatialDatabasesDSConnection
-
- com.vividsolutions.jump.datastore.oracle.OracleDSConnection
-
- All Implemented Interfaces:
DataStoreConnection
public class OracleDSConnection extends SpatialDatabasesDSConnection
- Author:
- nicolas
-
-
Field Summary
-
Fields inherited from class com.vividsolutions.jump.datastore.spatialdatabases.SpatialDatabasesDSConnection
connection, dbMetadata
-
-
Constructor Summary
Constructors Constructor Description OracleDSConnection(Connection con)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FeatureInputStream
executeAdhocQuery(AdhocQuery query)
Executes an adhoc query.FeatureInputStream
executeFilterQuery(FilterQuery query)
Executes a filter query.SpatialDatabasesSQLBuilder
getSqlBuilder(SpatialReferenceSystemID srid, String[] colNames)
expose sqlbuilderOracleValueConverterFactory
getValueConverterFactory()
-
Methods inherited from class com.vividsolutions.jump.datastore.spatialdatabases.SpatialDatabasesDSConnection
close, execute, getCompatibleSchemaSubset, getJdbcConnection, getMetadata, isClosed
-
-
-
-
Constructor Detail
-
OracleDSConnection
public OracleDSConnection(Connection con)
-
-
Method Detail
-
getSqlBuilder
public SpatialDatabasesSQLBuilder getSqlBuilder(SpatialReferenceSystemID srid, String[] colNames)
Description copied from interface:DataStoreConnection
expose sqlbuilder- Specified by:
getSqlBuilder
in interfaceDataStoreConnection
- Overrides:
getSqlBuilder
in classSpatialDatabasesDSConnection
- Parameters:
srid
- the SpatialReferenceSystemIDcolNames
- array of columns to query- Returns:
- the SpatialDatabasesSQLBuilder
-
executeFilterQuery
public FeatureInputStream executeFilterQuery(FilterQuery query) throws SQLException
Executes a filter query. The SRID is optional for queries - it will be determined automatically from the table metadata if not supplied.- Overrides:
executeFilterQuery
in classSpatialDatabasesDSConnection
- Parameters:
query
- the query to execute- Returns:
- the results of the query
- Throws:
SQLException
- if an SQLException occurs
-
executeAdhocQuery
public FeatureInputStream executeAdhocQuery(AdhocQuery query) throws Exception
Executes an adhoc query. The SRID is optional for queries - it will be determined automatically from the table metadata if not supplied.- Overrides:
executeAdhocQuery
in classSpatialDatabasesDSConnection
- Parameters:
query
- the query to execute- Returns:
- the results of the query
- Throws:
SQLException
- if an SQLException occursException
- if no geometric column is found in the query
-
getValueConverterFactory
public OracleValueConverterFactory getValueConverterFactory()
- Overrides:
getValueConverterFactory
in classSpatialDatabasesDSConnection
-
-