org.geotools.data.jdbc
Class JDBCDataStore

java.lang.Object
  extended byorg.geotools.data.jdbc.JDBC1DataStore
      extended byorg.geotools.data.jdbc.JDBC2DataStore
          extended byorg.geotools.data.jdbc.JDBCDataStore
All Implemented Interfaces:
DataStore
Direct Known Subclasses:
DB2DataStore, GeoMediaDataStore, JDBCDataStore, MySQLDataStore, OracleDataStore, PostgisDataStore

public abstract class JDBCDataStore
extends JDBC2DataStore

Abstract class for JDBC (level2) based DataStore implementations. This a convenience class that just extends JDBC2DataStore to keep current datastores that use it happy. Eventually datastores should extend one of JDBC1DataStore, or JDBC2DataStore.

This class provides a default implementation of a JDBC data store. Support for vendor specific JDBC data stores can be easily added to Geotools by subclassing this class and overriding the hooks provided.

At a minimum subclasses should implement the following methods:

Additionally subclasses can optionally override the following:

Additionally subclasses may want to set the value of:

Version:
$Id: JDBCDataStore.java 17707 2006-01-23 03:45:14Z desruisseaux $
Author:
Amr Alam, Refractions Research, Sean Geoghegan, Defence Science and Technology Organisation, Chris Holmes, TOPP, Andrea Aime

Field Summary
 
Fields inherited from class org.geotools.data.jdbc.JDBC2DataStore
connectionPool
 
Fields inherited from class org.geotools.data.jdbc.JDBC1DataStore
allowWriteOnVolatileFIDs, config, listenerManager, LOGGER, sqlNameEscape, TYPE_MAPPINGS, typeHandler
 
Constructor Summary
protected JDBCDataStore(ConnectionPool pool, JDBCDataStoreConfig config)
           
 
Methods inherited from class org.geotools.data.jdbc.JDBC2DataStore
createConnection
 
Methods inherited from class org.geotools.data.jdbc.JDBC1DataStore
allowTable, allSameOrder, attributeNames, buildAttributeType, buildFIDMapperFactory, buildSchema, createFeatureReader, createFeatureWriter, createLockingManager, createSchema, determineFidColumnName, determineSRID, executeQuery, getAttributeIO, getAttributeTypes, getConcurrency, getConnection, getEnvelope, getFeatureReader, getFeatureReader, getFeatureSource, getFeatureTypeHandler, getFeatureWriter, getFeatureWriter, getFeatureWriterAppend, getFIDMapper, getFIDMapperFactory, getGeometryAttributeIO, getJDBCFeatureReader, getLockingManager, getNameSpace, getResultSetType, getSchema, getSqlBuilder, getSqlNameEscape, getTypeNames, getView, setAutoCommit, setFIDMapper, setFIDMapperFactory, setSqlNameEscape, updateSchema
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JDBCDataStore

protected JDBCDataStore(ConnectionPool pool,
                        JDBCDataStoreConfig config)
                 throws java.io.IOException


Copyright © GeoTools. All Rights Reserved.