Class PartialIndexedMappingFeatureIterator

Object
IndexedMappingFeatureIterator
PartialIndexedMappingFeatureIterator
All Implemented Interfaces:
Closeable, AutoCloseable, Iterator<Feature>, IMappingFeatureIterator, FeatureIterator<Feature>

public class PartialIndexedMappingFeatureIterator extends IndexedMappingFeatureIterator
MappingFeatureIterator with partial index query support
Author:
Fernando MiƱo, Geosolutions
  • Constructor Details

  • Method Details

    • transformQueryToIdsOnly

      protected Query transformQueryToIdsOnly()
      Build the query for execute on index source partial Implementation manages pagination by itself, so remove bounds from query
      Overrides:
      transformQueryToIdsOnly in class IndexedMappingFeatureIterator
      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

      public Feature 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.