Java Doc for JDBC2DataStore.java in  » GIS » GeoTools-2.4.1 » org » geotools » data » jdbc » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » GIS » GeoTools 2.4.1 » org.geotools.data.jdbc 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


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


Field Summary
protected  DataSourcedataSource
    

Constructor Summary
public  JDBC2DataStore(DataSource dataSource, JDBCDataStoreConfig config)
     Construct a JDBCDataStore with ConnectionPool and associated configuration.

Method Summary
protected  ConnectioncreateConnection()
    
public  voiddispose()
    
protected  voidfinalize()
    

Field Detail
dataSource
protected DataSource dataSource(Code)




Constructor Detail
JDBC2DataStore
public JDBC2DataStore(DataSource dataSource, JDBCDataStoreConfig config) throws IOException(Code)
Construct a JDBCDataStore with ConnectionPool and associated configuration.
Parameters:
  connectionPool -
Parameters:
  config -
throws:
  IOException -




Method Detail
createConnection
protected Connection createConnection() throws SQLException(Code)
Create a connection for your JDBC1 database



dispose
public void dispose()(Code)



finalize
protected void finalize() throws Throwable(Code)



Fields inherited from org.geotools.data.jdbc.JDBC1DataStore
final protected static Logger LOGGER(Code)(Java Doc)
final public static Map TYPE_MAPPINGS(Code)(Java Doc)
protected boolean allowWriteOnVolatileFIDs(Code)(Java Doc)
final protected JDBCDataStoreConfig config(Code)(Java Doc)
public FeatureListenerManager listenerManager(Code)(Java Doc)
protected String sqlNameEscape(Code)(Java Doc)
protected int transactionIsolation(Code)(Java Doc)
protected FeatureTypeHandler typeHandler(Code)(Java Doc)

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)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.