Class SortedFeatureIterator

    • Constructor Detail

      • 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