org.geotools.data.postgis.collection
Class PostgisFeatureCollection

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

public class PostgisFeatureCollection
extends JDBCFeatureCollection

FeatureCollection for PostGIS datastores. If we'd like to optimize PostGIS any further than JDBCFeatureCollection, we can override methods within this subclass. Even though we aren't overriding any methods, we should use this class in case we do optimizations for PostGIS in the future.

Author:
Cory Horner, Refractions Research

Field Summary
 
Fields inherited from class org.geotools.data.jdbc.JDBCFeatureCollection
isOptimized
 
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
PostgisFeatureCollection(JDBCFeatureSource source, Query query)
           
 
Method Summary
 
Methods inherited from class org.geotools.data.jdbc.JDBCFeatureCollection
accepts, getCount, reader
 
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
 

Constructor Detail

PostgisFeatureCollection

public PostgisFeatureCollection(JDBCFeatureSource source,
                                Query query)
                         throws java.io.IOException
Throws:
java.io.IOException


Copyright © 1996-2010 Geotools. All Rights Reserved.