Package org.geotools.renderer.lite
Class IndexedFeatureResults
Object
DataFeatureCollection
IndexedFeatureResults
- All Implemented Interfaces:
SimpleFeatureCollection
,FeatureCollection<SimpleFeatureType,
SimpleFeature>
IndexedFeatureReader
- Author:
- wolf
-
Field Summary
Fields inherited from class DataFeatureCollection
id, listeners, schema
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the total bounds of this collection which is calculated by doing a union of the bounds of each feature inside of itint
getCount()
reader()
void
setQueryBounds
(Envelope queryBounds) Methods inherited from class DataFeatureCollection
accepts, add, addAll, addAll, addListener, clear, close, close, closeIterator, contains, containsAll, features, fireChange, fireChange, fireChange, getID, getSchema, isEmpty, iterator, openIterator, purge, remove, removeAll, removeListener, retainAll, size, sort, subCollection, toArray, toArray, writer
-
Constructor Details
-
IndexedFeatureResults
public IndexedFeatureResults(SimpleFeatureCollection results) throws IOException, IllegalAttributeException - Throws:
IOException
IllegalAttributeException
-
-
Method Details
-
reader
- Throws:
IOException
- See Also:
-
org.geotools.data.FeatureResults#reader()
-
getBounds
Description copied from interface:FeatureCollection
Get the total bounds of this collection which is calculated by doing a union of the bounds of each feature inside of it- Specified by:
getBounds
in interfaceFeatureCollection<SimpleFeatureType,
SimpleFeature> - Specified by:
getBounds
in classDataFeatureCollection
- Returns:
- An Envelope containing the total bounds of this collection.
- See Also:
-
org.geotools.data.FeatureResults#getBounds()
-
getCount
- Specified by:
getCount
in classDataFeatureCollection
- Throws:
IOException
- See Also:
-
org.geotools.data.FeatureResults#getCount()
-
collection
- Throws:
IOException
- See Also:
-
org.geotools.data.FeatureResults#collection()
-
reader
- Overrides:
reader
in classDataFeatureCollection
- Throws:
IOException
- See Also:
-
org.geotools.data.FeatureResults#reader()
-
setQueryBounds
- Parameters:
queryBounds
- an Envelope defining the boundary of the query
-