| java.lang.Object org.geotools.data.jdbc.JDBC1DataStore org.geotools.data.jdbc.JDBC2DataStore
JDBC2DataStore | abstract public class JDBC2DataStore extends JDBC1DataStore (Code) | | This JDBCDataStore is able to take advantage of additonal functionality
provided by JDBC2 level drivers - for example ConnectionPools.
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:
-
sqlNameEscape - character (String) to surround names of SQL objects to
support mixed-case and non-English names.
author: Amr Alam, Refractions Research author: Jody Garnett, Refractions Research |
dispose | public void dispose()(Code) | | |
Methods inherited from org.geotools.data.jdbc.JDBC1DataStore | public boolean allSameOrder(String[] requestedNames, FeatureType ft)(Code)(Java Doc) protected boolean allowTable(String tablename)(Code)(Java Doc) protected String[] attributeNames(FeatureType featureType, Filter filter) throws IOException(Code)(Java Doc) protected AttributeType buildAttributeType(ResultSet rs) throws IOException(Code)(Java Doc) protected FIDMapper buildFIDMapper(String typeName, FIDMapperFactory factory) throws IOException(Code)(Java Doc) protected FIDMapperFactory buildFIDMapperFactory(JDBCDataStoreConfig config)(Code)(Java Doc) protected FeatureType buildSchema(String typeName, FIDMapper mapper) throws IOException(Code)(Java Doc) abstract protected Connection createConnection() throws SQLException(Code)(Java Doc) protected FeatureReader createFeatureReader(FeatureType schema, org.opengis.filter.Filter postFilter, QueryData queryData) throws IOException(Code)(Java Doc) protected JDBCFeatureWriter createFeatureWriter(FeatureReader reader, QueryData queryData) throws IOException(Code)(Java Doc) protected LockingManager createLockingManager()(Code)(Java Doc) public void createSchema(FeatureType featureType) throws IOException(Code)(Java Doc) protected String determineFidColumnName(String typeName) throws IOException(Code)(Java Doc) protected int determineSRID(String tableName, String geometryColumnName) throws IOException(Code)(Java Doc) protected QueryData executeQuery(FeatureTypeInfo featureTypeInfo, String tableName, String sqlQuery, Transaction transaction, boolean forWrite) throws IOException(Code)(Java Doc) protected QueryData executeQuery(FeatureTypeInfo featureTypeInfo, String tableName, String sqlQuery, Transaction transaction, boolean forWrite, Hints hints) throws IOException(Code)(Java Doc) protected AttributeIO getAttributeIO(AttributeType type)(Code)(Java Doc) final protected AttributeType[] getAttributeTypes(String typeName, String[] propertyNames) throws IOException, SchemaException(Code)(Java Doc) protected int getConcurrency(boolean forWrite)(Code)(Java Doc) public Connection getConnection(Transaction transaction) throws IOException(Code)(Java Doc) public Envelope getEnvelope(String typeName)(Code)(Java Doc) public FIDMapper getFIDMapper(String tableName) throws IOException(Code)(Java Doc) public FIDMapperFactory getFIDMapperFactory()(Code)(Java Doc) public FeatureReader getFeatureReader(FeatureType requestType, Filter filter, Transaction transaction) throws IOException(Code)(Java Doc) public FeatureReader getFeatureReader(Query query, Transaction trans) throws IOException(Code)(Java Doc) public FeatureSource getFeatureSource(String typeName) throws IOException(Code)(Java Doc) protected FeatureTypeHandler getFeatureTypeHandler(JDBCDataStoreConfig config) throws IOException(Code)(Java Doc) public FeatureWriter getFeatureWriter(String typeName, Transaction transaction) throws IOException(Code)(Java Doc) public FeatureWriter getFeatureWriter(String typeName, org.opengis.filter.Filter filter, Transaction transaction) throws IOException(Code)(Java Doc) public FeatureWriter getFeatureWriterAppend(String typeName, Transaction transaction) throws IOException(Code)(Java Doc) abstract protected AttributeIO getGeometryAttributeIO(AttributeType type, QueryData queryData) throws IOException(Code)(Java Doc) protected JDBCFeatureReader getJDBCFeatureReader(QueryData queryData) throws IOException(Code)(Java Doc) public LockingManager getLockingManager()(Code)(Java Doc) public URI getNameSpace()(Code)(Java Doc) protected int getResultSetType(boolean forWrite)(Code)(Java Doc) public FeatureType getSchema(String typeName) throws IOException(Code)(Java Doc) public SQLBuilder getSqlBuilder(String typeName) throws IOException(Code)(Java Doc) public String getSqlNameEscape()(Code)(Java Doc) public Set getSupportedHints()(Code)(Java Doc) public int getTransactionIsolation()(Code)(Java Doc) public String[] getTypeNames() throws IOException(Code)(Java Doc) public FeatureSource getView(Query query) throws IOException, SchemaException(Code)(Java Doc) protected String[] propertyNames(Query query) throws IOException(Code)(Java Doc) protected boolean requireAutoCommit()(Code)(Java Doc) protected void setAutoCommit(boolean forWrite, Connection conn) throws SQLException(Code)(Java Doc) public void setFIDMapper(String featureTypeName, FIDMapper fidMapper)(Code)(Java Doc) public void setFIDMapperFactory(FIDMapperFactory fmFactory) throws UnsupportedOperationException(Code)(Java Doc) protected void setSqlNameEscape(String sqlNameEscape)(Code)(Java Doc) public void setTransactionIsolation(int value)(Code)(Java Doc) public void updateSchema(String typeName, FeatureType featureType) throws IOException(Code)(Java Doc)
|
|
|