Package org.geotools.process.vector
Class SimpleProcessingCollection
- All Implemented Interfaces:
SimpleFeatureCollection,FeatureCollection<SimpleFeatureType,SimpleFeature>
public abstract class SimpleProcessingCollection
extends ProcessingCollection<SimpleFeatureType,SimpleFeature>
implements SimpleFeatureCollection
The simple feature version of
ProcessingCollection. Please see the base class for further information on how
to implement a proper streaming processing collection on top of this base class- Author:
- Andrea Aime - GeoSolutions
-
Field Summary
Fields inherited from class BaseFeatureCollection
id, schema -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionObtained sorted contents, only implemented for SimpleFeature at present.subCollection(Filter filter) Convenience implementation that just wraps this collection into aFilteringFeatureCollection.Methods inherited from class ProcessingCollection
buildTargetFeatureType, features, getBounds, getSchema, sizeMethods inherited from class BaseFeatureCollection
accepts, contains, containsAll, getID, isEmpty, toArray, toArrayMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface FeatureCollection
accepts, contains, containsAll, getBounds, getID, getSchema, isEmpty, size, toArray, toArrayMethods inherited from interface SimpleFeatureCollection
features
-
Constructor Details
-
SimpleProcessingCollection
public SimpleProcessingCollection()
-
-
Method Details
-
sort
Description copied from class:BaseFeatureCollectionObtained sorted contents, only implemented for SimpleFeature at present.This method only supports SimpleFeature at present, consider use of FeatureSource.features( Query ).
- Specified by:
sortin interfaceFeatureCollection<SimpleFeatureType,SimpleFeature> - Specified by:
sortin interfaceSimpleFeatureCollection- Overrides:
sortin classBaseFeatureCollection<SimpleFeatureType,SimpleFeature> - Parameters:
order- Sort order- Returns:
- FeatureCollection sorted in the indicated order
-
subCollection
Description copied from class:BaseFeatureCollectionConvenience implementation that just wraps this collection into aFilteringFeatureCollection. Subclasses might want to override this in case the filter can be cascaded to their data sources.- Specified by:
subCollectionin interfaceFeatureCollection<SimpleFeatureType,SimpleFeature> - Specified by:
subCollectionin interfaceSimpleFeatureCollection- Overrides:
subCollectionin classBaseFeatureCollection<SimpleFeatureType,SimpleFeature> - Returns:
- SimpleFeatureCollection identified as subset.
- See Also:
-
FeatureList
-