/** * Returns the feature collection if the features of the feature source which meet the specified * query criteria. */ public final ContentFeatureCollection getFeatures(Query query) throws IOException { query = joinQuery(query); return new ContentFeatureCollection(this, query); }
/** Returns the feature collection of all the features of the feature source. */ public final ContentFeatureCollection getFeatures() throws IOException { Query query = joinQuery(Query.ALL); return new ContentFeatureCollection(this, query); }
public SimpleFeatureCollection sort(org.opengis.filter.sort.SortBy sort) { Query query = new Query(); query.setSortBy(new org.opengis.filter.sort.SortBy[] {sort}); query = DataUtilities.mixQueries(this.query, query, null); return new ContentFeatureCollection(featureSource, query); }
public SimpleFeatureCollection subCollection(Filter filter) { Query query = new Query(); query.setFilter(filter); query = DataUtilities.mixQueries(this.query, query, null); return new ContentFeatureCollection(featureSource, query); }
/** * Returns the feature collection of all the features of the feature source. */ public final ContentFeatureCollection getFeatures() throws IOException { Query query = joinQuery(Query.ALL); return new ContentFeatureCollection( this, query ); }
/** * Returns the feature collection if the features of the feature source which * meet the specified query criteria. */ public final ContentFeatureCollection getFeatures(Query query) throws IOException { query = joinQuery( query ); return new ContentFeatureCollection( this, query ); }
public SimpleFeatureCollection subCollection(Filter filter) { Query query = new DefaultQuery(); ((DefaultQuery)query).setFilter( filter ); query = DataUtilities.mixQueries(this.query, query, null); return new ContentFeatureCollection( featureSource, query ); }
public SimpleFeatureCollection sort(org.opengis.filter.sort.SortBy sort) { Query query = new DefaultQuery(); ((DefaultQuery)query).setSortBy( new org.opengis.filter.sort.SortBy[]{sort}); query = DataUtilities.mixQueries( this.query, query, null ); return new ContentFeatureCollection( featureSource, query ); }