Package org.geotools.data.complex
Class PostFilteringMappingFeatureIterator
Object
PostFilteringMappingFeatureIterator
- All Implemented Interfaces:
Closeable,AutoCloseable,Iterator<Feature>,IMappingFeatureIterator,FeatureIterator<Feature>
An extension to DataAccessMappingFeatureIterator where filter is present.
Unlike with FilteringMappingFeatureIterator The filter is applied on the complex feature
- Author:
- Niels Charlier (Curtin University of Technology)
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected intprotected FeatureIterator<Feature>protected Filterprotected intprotected Feature -
Constructor Summary
ConstructorsConstructorDescriptionPostFilteringMappingFeatureIterator(FeatureIterator<Feature> iterator, Filter filter, int maxFeatures, int offset) -
Method Summary
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Iterator
forEachRemaining
-
Field Details
-
delegate
-
next
-
filter
-
maxFeatures
protected int maxFeatures -
count
protected int count
-
-
Constructor Details
-
PostFilteringMappingFeatureIterator
public PostFilteringMappingFeatureIterator(FeatureIterator<Feature> iterator, Filter filter, int maxFeatures, int offset)
-
-
Method Details
-
close
public void close()Description copied from interface:FeatureIteratorCloses this iterator and releases any system resources associated with it.- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein interfaceFeatureIterator<Feature>
-
getFilteredNext
-
hasNext
public boolean hasNext()Description copied from interface:FeatureIteratorDoes another Feature exist in this Iteration.Iterator defin: Returns true if the iteration has more elements. (In other words, returns true if next would return an element rather than throwing an exception.)
-
next
Description copied from interface:FeatureIteratorGet the next Feature in this iteration. -
remove
public void remove()
-