Java Doc for WrappedPostgisDataStore.java in  » GIS » GeoTools-2.4.1 » org » geotools » data » postgis » 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.postgis 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.geotools.data.postgis.PostgisDataStore
   org.geotools.data.postgis.WrappedPostgisDataStore

WrappedPostgisDataStore
class WrappedPostgisDataStore extends PostgisDataStore (Code)
A postgis datastore subclass that provides extra accessors so that the versioned datastore can work.
This class is needed because this way all the JDBC datastore infrastructure can work without the need to break its assumptions.
For example, getSchema() usually returns a feature type that mimics the table structure, but for versioned data we have to return one that does not have the versioning columns.
author:
   aaime
since:
   2.4



Constructor Summary
public  WrappedPostgisDataStore(DataSource dataSource, JDBCDataStoreConfig config, int optimizeMode)
    
public  WrappedPostgisDataStore(DataSource dataSource, String schema, String namespace, int optimizeMode)
    
public  WrappedPostgisDataStore(DataSource dataSource, String schema, String namespace)
    
public  WrappedPostgisDataStore(DataSource dataSource, String namespace)
    
public  WrappedPostgisDataStore(DataSource dataSource)
    

Method Summary
protected  FIDMapperFactorybuildFIDMapperFactory(JDBCDataStoreConfig config)
    
public  JDBCDataStoreConfiggetConfig()
    
public  ConnectiongetConnection(Transaction transaction)
    
public  FeatureTypeHandlergetTypeHandler()
    
protected  VersionedJdbcTransactionStategetVersionedJdbcTransactionState(Transaction transaction)
    
public  String[]propertyNames(Query query)
    


Constructor Detail
WrappedPostgisDataStore
public WrappedPostgisDataStore(DataSource dataSource, JDBCDataStoreConfig config, int optimizeMode) throws IOException(Code)



WrappedPostgisDataStore
public WrappedPostgisDataStore(DataSource dataSource, String schema, String namespace, int optimizeMode) throws IOException(Code)



WrappedPostgisDataStore
public WrappedPostgisDataStore(DataSource dataSource, String schema, String namespace) throws IOException(Code)



WrappedPostgisDataStore
public WrappedPostgisDataStore(DataSource dataSource, String namespace) throws IOException(Code)



WrappedPostgisDataStore
public WrappedPostgisDataStore(DataSource dataSource) throws IOException(Code)




Method Detail
buildFIDMapperFactory
protected FIDMapperFactory buildFIDMapperFactory(JDBCDataStoreConfig config)(Code)



getConfig
public JDBCDataStoreConfig getConfig()(Code)



getConnection
public Connection getConnection(Transaction transaction) throws IOException(Code)
Overridden to store a versioned jdbc transaction state instead



getTypeHandler
public FeatureTypeHandler getTypeHandler()(Code)



getVersionedJdbcTransactionState
protected VersionedJdbcTransactionState getVersionedJdbcTransactionState(Transaction transaction) throws IOException, DataSourceException(Code)
Returns the versioned jdbc transaction state, eventually
Parameters:
  transaction -
throws:
  IOException -
throws:
  DataSourceException -



propertyNames
public String[] propertyNames(Query query) throws IOException(Code)



Fields inherited from org.geotools.data.postgis.PostgisDataStore
final protected static Logger LOGGER(Code)(Java Doc)
public int OPTIMIZE_MODE(Code)(Java Doc)
final public static int OPTIMIZE_SAFE(Code)(Java Doc)
final public static int OPTIMIZE_SQL(Code)(Java Doc)
protected boolean WKBEnabled(Code)(Java Doc)
protected boolean byteaEnabled(Code)(Java Doc)
protected boolean byteaWKB(Code)(Java Doc)
protected PostgisDBInfo dbInfo(Code)(Java Doc)
protected boolean estimatedExtent(Code)(Java Doc)
protected static GeometryFactory geometryFactory(Code)(Java Doc)
protected static WKTReader geometryReader(Code)(Java Doc)
protected boolean looseBbox(Code)(Java Doc)
protected boolean schemaEnabled(Code)(Java Doc)
protected boolean useGeos(Code)(Java Doc)

Methods inherited from org.geotools.data.postgis.PostgisDataStore
protected boolean allowTable(String tablename)(Code)(Java Doc)
protected String[] attributeNames(FeatureType featureType, Filter filter) throws IOException(Code)(Java Doc)
protected AttributeType buildAttributeType(ResultSet metadataRs) 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)
public PostgisFeatureLocking createFeatureLockingInternal(PostgisDataStore ds, FeatureType type) throws IOException(Code)(Java Doc)
protected JDBCFeatureWriter createFeatureWriter(FeatureReader fReader, QueryData queryData) throws IOException(Code)(Java Doc)
protected LockingManager createLockingManager()(Code)(Java Doc)
protected PostgisSQLBuilder createSQLBuilder()(Code)(Java Doc)
public void createSchema(FeatureType featureType) throws IOException(Code)(Java Doc)
protected int determineSRID(String tableName, String geometryColumnName) throws IOException(Code)(Java Doc)
protected int getConcurrency(boolean forWrite)(Code)(Java Doc)
public PostgisDBInfo getDBInfo()(Code)(Java Doc)
public DataSource getDataSource()(Code)(Java Doc)
public Envelope getEnvelope(String typeName)(Code)(Java Doc)
public FeatureReader getFeatureReader(FeatureType requestType, Filter filter, Transaction transaction) throws IOException(Code)(Java Doc)
public FeatureSource getFeatureSource(String typeName) throws IOException(Code)(Java Doc)
public FeatureWriter getFeatureWriter(String typeName, Transaction transaction) throws IOException(Code)(Java Doc)
public FeatureWriter getFeatureWriterAppend(String typeName, Transaction transaction) throws IOException(Code)(Java Doc)
AttributeType getGeometryAttribute(String tableName, String columnName, boolean nillable) throws IOException(Code)(Java Doc)
protected AttributeIO getGeometryAttributeIO(AttributeType type, QueryData queryData)(Code)(Java Doc)
public int getOptimizeMode()(Code)(Java Doc)
protected int getResultSetType(boolean forWrite)(Code)(Java Doc)
int getSRID(String typeName, String geomColName) throws IOException(Code)(Java Doc)
public FeatureType getSchema(String arg0) throws IOException(Code)(Java Doc)
public SQLBuilder getSqlBuilder(String typeName) throws IOException(Code)(Java Doc)
public Set getSupportedHints()(Code)(Java Doc)
public String[] getTypeNames() throws IOException(Code)(Java Doc)
protected void guessDataStoreOptions() throws IOException(Code)(Java Doc)
protected void initBuilder(PostgisSQLBuilder builder)(Code)(Java Doc)
public boolean isByteaEnabled()(Code)(Java Doc)
public boolean isByteaWKB()(Code)(Java Doc)
public boolean isEstimatedExtent()(Code)(Java Doc)
public boolean isLooseBbox()(Code)(Java Doc)
public boolean isWKBEnabled()(Code)(Java Doc)
protected static String schema(String schema)(Code)(Java Doc)
public void setByteaEnabled(boolean byteaEnabled)(Code)(Java Doc)
public void setByteaWKB(boolean byteaWKB)(Code)(Java Doc)
public void setEstimatedExtent(boolean estimatedExtent)(Code)(Java Doc)
public void setLooseBbox(boolean isLooseBbox)(Code)(Java Doc)
public void setOptimizeMode(int mode)(Code)(Java Doc)
public void setWKBEnabled(boolean enabled)(Code)(Java Doc)
public void updateSchema(String typeName, FeatureType featureType) throws IOException(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.