Package org.geotools.data.complex
Class PartialIndexedMappingFeatureIterator
Object
IndexedMappingFeatureIterator
PartialIndexedMappingFeatureIterator
- All Implemented Interfaces:
Closeable
,AutoCloseable
,Iterator<Feature>
,IMappingFeatureIterator
,FeatureIterator<Feature>
MappingFeatureIterator with partial index query support
- Author:
- Fernando MiƱo, Geosolutions
-
Field Summary
Fields inherited from class IndexedMappingFeatureIterator
ff, indexIterator, indexModeProc, mapping, query, queryMode, sourceIterator, store, transaction, unrolledFilter
-
Constructor Summary
ConstructorsConstructorDescriptionPartialIndexedMappingFeatureIterator
(AppSchemaDataAccess store, FeatureTypeMapping mapping, Query query, Filter unrolledFilter, Transaction transaction, IndexQueryManager indexModeProcessor) PartialIndexedMappingFeatureIterator
(AppSchemaDataAccess store, FeatureTypeMapping mapping, Query query, Filter unrolledFilter, Transaction transaction, IndexQueryManager indexModeProcessor, int maxNumRound) -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
Closes this iterator and releases any system resources associated with it.boolean
hasNext()
Does another Feature exist in this Iteration.next()
Get the next Feature in this iteration.protected Query
Build the query for execute on index source partial Implementation manages pagination by itself, so remove bounds from queryMethods inherited from class IndexedMappingFeatureIterator
getFidAttrMap, getFidIndexName, getFidStepList, getIndexedAttribute, getIndexIterator, getIndexQueryProperties, getNextSourceIdList, initializeIndexIterator, isDenormalized, selectExecutionPlan, unrollFilter, unrollIndex, unrollIndexes, unrollSortBy
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface Iterator
forEachRemaining, remove
-
Constructor Details
-
PartialIndexedMappingFeatureIterator
public PartialIndexedMappingFeatureIterator(AppSchemaDataAccess store, FeatureTypeMapping mapping, Query query, Filter unrolledFilter, Transaction transaction, IndexQueryManager indexModeProcessor) -
PartialIndexedMappingFeatureIterator
public PartialIndexedMappingFeatureIterator(AppSchemaDataAccess store, FeatureTypeMapping mapping, Query query, Filter unrolledFilter, Transaction transaction, IndexQueryManager indexModeProcessor, int maxNumRound)
-
-
Method Details
-
transformQueryToIdsOnly
Build the query for execute on index source partial Implementation manages pagination by itself, so remove bounds from query- Overrides:
transformQueryToIdsOnly
in classIndexedMappingFeatureIterator
- Returns:
- Query
-
hasNext
public boolean hasNext()Description copied from interface:FeatureIterator
Does 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.)
- Returns:
- true if more Features exist, false otherwise.
-
next
Description copied from interface:FeatureIterator
Get the next Feature in this iteration.- Returns:
- The next Feature
-
close
public void close()Description copied from interface:FeatureIterator
Closes this iterator and releases any system resources associated with it.
-