org.geotools.catalog
Interface QueryDefinition
- public interface QueryDefinition
In general, a query definition specifies a Boolean function of multiple binary-valued conditions.
This Boolean function of multiple conditions combines these conditions using AND, OR, and NOT
operators. Each of these conditions has three parts:
- 1. Metadata Element name or identification, to be compared
- 2. Comparison value, to be compared to the value of the Metadata Element
- 3. Type of comparison to perform, between the comparison value and the value of the Metadata Element
- Version:
- Catalog Services
- Author:
- OpenGIS® consortium
Method Summary |
boolean |
accept(CatalogEntry entry)
Determines whether a CatalogEntry fits this query. |
ALL
public static final QueryDefinition ALL
ALL
accepts any Metadata
accept
public boolean accept(CatalogEntry entry)
- Determines whether a CatalogEntry fits this query.
- Parameters:
entry
- A CatalogEntry to evaluate.
- Returns:
- Returns
true
if the specified catalog entry
fits the query. Otherwise false
is returned.
Copyright © GeoTools. All Rights Reserved.