org.geotools.data.oracle
Class OracleFeatureSource

java.lang.Object
  extended by org.geotools.data.jdbc.JDBCFeatureSource
      extended by org.geotools.data.oracle.OracleFeatureSource
All Implemented Interfaces:
FeatureSource<org.opengis.feature.simple.SimpleFeatureType,org.opengis.feature.simple.SimpleFeature>

public class OracleFeatureSource
extends JDBCFeatureSource


Nested Class Summary
 
Nested classes/interfaces inherited from class org.geotools.data.jdbc.JDBCFeatureSource
JDBCFeatureSource.JDBCQueryCapabilities
 
Field Summary
 
Fields inherited from class org.geotools.data.jdbc.JDBCFeatureSource
queryCapabilities
 
Method Summary
 ReferencedEnvelope getBounds()
          Retrieve Bounds of all Features.
 ReferencedEnvelope getBounds(Query query)
          Retrieve Bounds of Query results.
 
Methods inherited from class org.geotools.data.jdbc.JDBCFeatureSource
addFeatureListener, close, close, close, count, getConnection, getCount, getDataStore, getFeatures, getFeatures, getFeatures, getInfo, getJDBCDataStore, getName, getQueryCapabilities, getSchema, getSupportedHints, getTransaction, removeFeatureListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getBounds

public ReferencedEnvelope getBounds()
                             throws java.io.IOException
Description copied from class: JDBCFeatureSource
Retrieve Bounds of all Features.

Currently returns null, consider getFeatures().getBounds() instead.

Subclasses may override this method to perform the appropriate optimization for this result.

Specified by:
getBounds in interface FeatureSource<org.opengis.feature.simple.SimpleFeatureType,org.opengis.feature.simple.SimpleFeature>
Overrides:
getBounds in class JDBCFeatureSource
Returns:
null representing the lack of an optimization
Throws:
java.io.IOException - DOCUMENT ME!

getBounds

public ReferencedEnvelope getBounds(Query query)
                             throws java.io.IOException
Retrieve Bounds of Query results.

Currently returns null, consider getFeatures( query ).getBounds() instead.

Subclasses may override this method to perform the appropriate optimization for this result.

Specified by:
getBounds in interface FeatureSource<org.opengis.feature.simple.SimpleFeatureType,org.opengis.feature.simple.SimpleFeature>
Overrides:
getBounds in class JDBCFeatureSource
Parameters:
query - Query we are requesting the bounds of
Returns:
null representing the lack of an optimization
Throws:
java.io.IOException - DOCUMENT ME!


Copyright © 1996-2010 Geotools. All Rights Reserved.