Examples of SortedFeatureReader


Examples of org.geotools.data.sort.SortedFeatureReader

        if (naturalOrder) {
            reader = getNativeReader(propertyNames, filter, startIndex, maxFeatures, screenMap);
        } else {
            reader = getNativeReader(propertyNames, filter, null, null, screenMap);
            // sorting
            reader = new SortedFeatureReader(DataUtilities.simple(reader), query);
            if (startIndex > 0) {
                // skip the first n records
                for (int i = 0; i < startIndex && reader.hasNext(); i++) {
                    reader.next();
                }
View Full Code Here

Examples of org.geotools.data.sort.SortedFeatureReader

        }
       
        // sorting
        if ( query.getSortBy() != null && query.getSortBy().length != 0 ) {
            if ( !canSort() ) {
                reader = new SortedFeatureReader(DataUtilities.simple(reader), query);
            }
        }

       
        // offset
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.