org.deegree.protocol.wfs.query
Class FilterQuery
java.lang.Object
org.deegree.protocol.wfs.query.Query
org.deegree.protocol.wfs.query.AdHocQuery
org.deegree.protocol.wfs.query.FilterQuery
public class FilterQuery
- extends AdHocQuery
A AdHocQuery
that selects features using an optional Filter
.
NOTE: XML-based queries are always of this type. Only for KVP requests it is possible to specify a BBOX
or a FEATUREID
parameter.
- Version:
- $Revision: $, $Date: $
- Author:
- Markus Schneider, last edited by: $Author: schneider $
Methods inherited from class org.deegree.protocol.wfs.query.Query |
getHandle |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FilterQuery
public FilterQuery(String handle,
TypeName[] typeNames,
String featureVersion,
ICRS srsName,
ProjectionClause[] projectionClauses,
SortProperty[] sortBy,
Filter filter)
- Creates a new
FilterQuery
instance.
- Parameters:
handle
- client-generated query identifier, may be null
typeNames
- requested feature types (with optional aliases), must not be null
and must contain at
least one entryfeatureVersion
- version of the feature instances to be retrieved, may be null
srsName
- WFS-supported SRS that should be used for returned feature geometries, may be null
projectionClauses
- limits the properties of the features that shall be returned, may be null
(return all
properties)sortBy
- properties whose values should be used to order the set of feature instances that satisfy the query,
may be null
filter
- filter constraint, may be null
FilterQuery
public FilterQuery(QName typeName,
ICRS srsName,
SortProperty[] sortBy,
Filter filter)
- Creates a new
FilterQuery
instance from the most commonly used parameters.
- Parameters:
typeName
- requested feature type name, must not be nullsrsName
- WFS-supported SRS that should be used for returned feature geometries, may be nullsortBy
- properties whose values should be used to order the set of feature instances that satisfy the query,
may be nullfilter
- filter constraint, may be null
getFilter
public Filter getFilter()
- Returns the filter constraint.
- Returns:
- the filter constraint, may be null
Copyright © 2011. All Rights Reserved.