Class SortedFeatureIterator

Object
SortedFeatureIterator
All Implemented Interfaces:
Closeable, AutoCloseable, SimpleFeatureIterator, FeatureIterator<SimpleFeature>

public class SortedFeatureIterator extends Object implements SimpleFeatureIterator
  • Constructor Details

    • SortedFeatureIterator

      public SortedFeatureIterator(SimpleFeatureIterator iterator, SimpleFeatureType schema, SortBy[] sortBy, int maxFeatures) throws IOException
      Builds a new sorting feature iterator
      Parameters:
      iterator - The iterator to be sorted
      schema - The iterator schema
      sortBy - The sorting directives
      maxFeatures - The maximum number of features to keep in memory, or a negative number to use the system default
      Throws:
      IOException
  • Method Details