org.geotools.data.jdbc
Class JDBCFeatureCollection

Object
  extended by DataFeatureCollection
      extended by DefaultFeatureResults
          extended by JDBCFeatureCollection
All Implemented Interfaces:
FeatureCollection<SimpleFeatureType,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
Module:
modules/library/jdbc (gt-jdbc.jar)

Field Summary
 boolean isOptimized
          Deprecated. The logger for the filter module.
 
Fields inherited from class DefaultFeatureResults
featureSource, query, transform
 
Fields inherited from class DataFeatureCollection
id, listeners, schema
 
Constructor Summary
JDBCFeatureCollection(JDBCFeatureSource source, Query query)
          Deprecated.  
 
Method Summary
 void accepts(FeatureVisitor visitor, ProgressListener progress)
          Deprecated. Accepts FeatureVisitors.
 int getCount()
          Deprecated. Performs optimized count if possible.
 FeatureReader<SimpleFeatureType,SimpleFeature> reader()
          Deprecated. JDBCDataStore has a more direct query method
 
Methods inherited from class DefaultFeatureResults
boundsReader, collection, getBounds, getSchema, getTransaction
 
Methods inherited from class 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 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 IOException
Deprecated. 
Throws:
IOException
Method Detail

reader

public FeatureReader<SimpleFeatureType,SimpleFeature> reader()
                                                      throws IOException
Deprecated. 
JDBCDataStore has a more direct query method

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

getCount

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

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

accepts

public void accepts(FeatureVisitor visitor,
                    ProgressListener progress)
Deprecated. 
Accepts FeatureVisitors.

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

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


Copyright © 1996-2009 Geotools. All Rights Reserved.