public final class IndexedFeatureResults extends DataFeatureCollection
id, listeners, schema| Constructor and Description |
|---|
IndexedFeatureResults(SimpleFeatureCollection results) |
| Modifier and Type | Method and Description |
|---|---|
SimpleFeatureCollection |
collection() |
ReferencedEnvelope |
getBounds()
Get the total bounds of this collection which is calculated by doing a union of the bounds of
each feature inside of it
|
int |
getCount() |
FeatureReader<SimpleFeatureType,SimpleFeature> |
reader() |
FeatureReader<SimpleFeatureType,SimpleFeature> |
reader(Envelope envelope) |
void |
setQueryBounds(Envelope queryBounds) |
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, writerpublic IndexedFeatureResults(SimpleFeatureCollection results) throws IOException, IllegalAttributeException
IOExceptionIllegalAttributeExceptionpublic FeatureReader<SimpleFeatureType,SimpleFeature> reader(Envelope envelope) throws IOException
IOExceptionorg.geotools.data.FeatureResults#reader()public ReferencedEnvelope getBounds()
FeatureCollectiongetBounds in interface FeatureCollection<SimpleFeatureType,SimpleFeature>getBounds in class DataFeatureCollectionorg.geotools.data.FeatureResults#getBounds()public int getCount()
throws IOException
getCount in class DataFeatureCollectionIOExceptionorg.geotools.data.FeatureResults#getCount()public SimpleFeatureCollection collection() throws IOException
IOExceptionorg.geotools.data.FeatureResults#collection()public FeatureReader<SimpleFeatureType,SimpleFeature> reader() throws IOException
reader in class DataFeatureCollectionIOExceptionorg.geotools.data.FeatureResults#reader()public void setQueryBounds(Envelope queryBounds)
queryBounds - an Envelope defining the boundary of the queryCopyright © 1996–2019 Geotools. All rights reserved.