| org.geotools.data.jdbc.JDBCFeatureStore org.geotools.data.db2.DB2FeatureStore
All known Subclasses: org.geotools.data.db2.DB2FeatureLocking,
DB2FeatureStore | public class DB2FeatureStore extends JDBCFeatureStore (Code) | | DB2 FeatureStore implementation. Overrides functionality in
JDBCFeatureStore to provide more efficient or more appropriate DB2-specific
implementation.
author: David Adler - IBM Corporation |
DB2FeatureStore | public DB2FeatureStore(DB2DataStore dataStore, FeatureType featureType)(Code) | | Basic constructor for DB2FeatureStore
Parameters: dataStore - Parameters: featureType - |
closeAll | protected void closeAll(ResultSet rs, Statement stmt, Connection conn, Transaction transaction, SQLException e)(Code) | | Closes everything associated with a query, the ResultSet, Statement and
Connection.
Parameters: rs - the ResultSet Parameters: stmt - the Statement Parameters: conn - the Connection Parameters: transaction - the Transaction Parameters: e - the SQLException, if any, or null |
count | public int count(Query query, Transaction transaction) throws IOException(Code) | | Direct SQL query number of rows in query.
Note this is a low level SQL statement and if it fails the provided
Transaction will be rolled back.
SQL: SELECT COUNT(*) as cnt FROM table WHERE filter
Parameters: query - Parameters: transaction - Number of rows in query, or -1 if not optimizable. throws: IOException - Usual on the basis of a filter error |
getBounds | public Envelope getBounds(Query query) throws IOException(Code) | | Gets the bounds of the feature using the specified query.
Parameters: query - a query object. the envelope representing the bounds of the features. throws: IOException - if there was an encoder problem. throws: DataSourceException - if there was an error executing the query toget the bounds. |
|
|