|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deegree.services.wfs.QueryAnalyzer
public class QueryAnalyzer
Responsible for validating the queries contained in GetFeature requests and generating a corresponding
sequence of feature store queries.
Also performs some normalizing on the values of ValueReferences. TODO describe strategy
| Constructor Summary | |
|---|---|
QueryAnalyzer(List<Query> wfsQueries,
WebFeatureService controller,
WFSFeatureStoreManager service,
GMLVersion outputFormat,
boolean checkInputDomain)
Creates a new QueryAnalyzer. |
|
| Method Summary | |
|---|---|
Collection<FeatureType> |
getFeatureTypes()
Returns all FeatureTypes that may be returned in the response to the request. |
ProjectionClause[] |
getProjection()
Returns the specific XLink-behaviour for features properties. |
Map<FeatureStore,List<Query>> |
getQueries()
Returns the feature store queries that have to performed for this request. |
Query |
getQuery(Query query)
Returns the original GetFeature query that the given query was derived from. |
ICRS |
getRequestedCRS()
Returns the crs that the returned geometries should have. |
String |
getRequestedFeatureId()
In case of a WFS 2.0 GetFeatureById request, this returns the requested id. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public QueryAnalyzer(List<Query> wfsQueries,
WebFeatureService controller,
WFSFeatureStoreManager service,
GMLVersion outputFormat,
boolean checkInputDomain)
throws OWSException
QueryAnalyzer.
wfsQueries - queries be performed, must not be nullservice - WFSFeatureStoreManager to be used, must not be nulloutputFormat - output format, must not be nullcheckInputDomain - true, if geometries in query constraints should be checked against validity domain of the SRS (needed
for CITE 1.1.0 compliance)
OWSException - if the request cannot be performed, e.g. because it queries feature types that are not served| Method Detail |
|---|
public String getRequestedFeatureId()
GetFeatureById request, this returns the requested id.
null if the request is not a GetFeatureById
requestpublic Collection<FeatureType> getFeatureTypes()
FeatureTypes that may be returned in the response to the request.
null if any of the feature types served by the WFS could
be returned (happens only for KVP-request with feature ids and without typenames)public Map<FeatureStore,List<Query>> getQueries()
nullpublic Query getQuery(Query query)
GetFeature query that the given query was derived from.
query -
public ICRS getRequestedCRS()
null (use native crs)public ProjectionClause[] getProjection()
null (no specific behaviour)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||