public interface Query
Predicate<Feature>while the second domain is equivalent to using
UnaryOperator<Feature>. It is technically possible to use
Queryfor performing more generic feature transformations, for example inserting new properties computed from other properties, but such
Queryusages should be rare since transformations (or more generic processing) are the topic of another package. Queries are rather descriptive objects used by
FeatureSetto optimize search operations as much as possible on the resource, using for example caches and indexes.
Compared to the SQL language,
Query contains the information in the
WHERE clauses of a SQL statement. A
Query typically contains filtering capabilities
and (sometime) simple attribute transformations. Well known query languages include SQL and CQL.
Defined in the
Copyright © 2010–2017 The Apache Software Foundation. All rights reserved.