@Role public interface QueryFilter
Query.addFilter(QueryFilter), it will be called by the
QueryExecutorbefore the query is executed. Queries can be filtered during 2 stages:
UniqueDocumentFilterwhich transform statements in order to make them return distinct documents names and which also filters query results in order to return only those names.
|Modifier and Type||Method and Description|
Transforms a query.
Filter a list of query results.
Transform a query statement.
statement- the query statement to transform.
language- the language of the query statement.
results- the original result list.
Note: executes before
query- the query to transform
Copyright © 2004–2018 XWiki. All rights reserved.