|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@Role public interface QueryFilter
Query Filter interface. A filter can be added to a query through Query.addFilter(QueryFilter), it will be
called by the QueryExecutor before the query is executed. Queries can be filtered during 2 stages:
UniqueDocumentFilter which transform statements in order
to make them return distinct documents names and which also filters query results in order to return only those
names.
| Method Summary | |
|---|---|
List |
filterResults(List results)
Filter a list of query results. |
String |
filterStatement(String statement,
String language)
Transform a query statement. |
| Method Detail |
|---|
String filterStatement(String statement,
String language)
statement - the query statement to transform.language - the language of the query statement.
List filterResults(List results)
results - the original result list.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||