org.geotools.data.jdbc
Class JDBCFeatureCollection

java.lang.Object
  extended by org.geotools.data.store.DataFeatureCollection
      extended by org.geotools.data.DefaultFeatureResults
          extended by org.geotools.data.jdbc.JDBCFeatureCollection
All Implemented Interfaces:
FeatureCollection<org.opengis.feature.simple.SimpleFeatureType,org.opengis.feature.simple.SimpleFeature>
Direct Known Subclasses:
PostgisFeatureCollection

Deprecated. scheduled for removal in 2.7, use classes in org.geotools.jdbc

public class JDBCFeatureCollection
extends DefaultFeatureResults

Since:
2.2.0

Field Summary
 boolean isOptimized
          Deprecated. The logger for the filter module.
 
Fields inherited from class org.geotools.data.DefaultFeatureResults
featureSource, query, transform
 
Fields inherited from class org.geotools.data.store.DataFeatureCollection
id, listeners, schema
 
Constructor Summary
JDBCFeatureCollection(JDBCFeatureSource source, Query query)
          Deprecated.  
 
Method Summary
 void accepts(org.opengis.feature.FeatureVisitor visitor, org.opengis.util.ProgressListener progress)
          Deprecated. Accepts FeatureVisitors.
 int getCount()
          Deprecated. Performs optimized count if possible.
 FeatureReader<org.opengis.feature.simple.SimpleFeatureType,org.opengis.feature.simple.SimpleFeature> reader()
          Deprecated. JDBCDataStore has a more direct query method
 
Methods inherited from class org.geotools.data.DefaultFeatureResults
boundsReader, collection, getBounds, getSchema, getTransaction
 
Methods inherited from class org.geotools.data.store.DataFeatureCollection
accepts, add, addAll, addAll, addListener, clear, close, close, closeIterator, contains, containsAll, features, fireChange, fireChange, fireChange, getID, isEmpty, iterator, openIterator, purge, remove, removeAll, removeListener, retainAll, size, sort, sort, subCollection, toArray, toArray, writer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

isOptimized

public boolean isOptimized
Deprecated. 
The logger for the filter module.

Constructor Detail

JDBCFeatureCollection

public JDBCFeatureCollection(JDBCFeatureSource source,
                             Query query)
                      throws java.io.IOException
Deprecated. 
Throws:
java.io.IOException
Method Detail

reader

public FeatureReader<org.opengis.feature.simple.SimpleFeatureType,org.opengis.feature.simple.SimpleFeature> reader()
                                                                                                            throws java.io.IOException
Deprecated. 
JDBCDataStore has a more direct query method

Overrides:
reader in class DefaultFeatureResults
Returns:
DOCUMENT ME!
Throws:
java.io.IOException - DOCUMENT ME!

getCount

public int getCount()
             throws java.io.IOException
Deprecated. 
Performs optimized count if possible.

Overrides:
getCount in class DefaultFeatureResults
Throws:
java.io.IOException
DataSourceException - See IOException
See Also:
DefaultFeatureResults.getCount()

accepts

public void accepts(org.opengis.feature.FeatureVisitor visitor,
                    org.opengis.util.ProgressListener progress)
Deprecated. 
Accepts FeatureVisitors.

Note for some FeatureCalc visitors an optimized code path will be used.

Specified by:
accepts in interface FeatureCollection<org.opengis.feature.simple.SimpleFeatureType,org.opengis.feature.simple.SimpleFeature>
Overrides:
accepts in class DataFeatureCollection
Parameters:
visitor - DOCUMENT ME!
progress - Used to report progress, may be used to interrupt the operation
Throws:
java.io.IOException - DOCUMENT ME!


Copyright © 1996-2010 Geotools. All Rights Reserved.