Class SavedQueryPredicate

All Implemented Interfaces:
PredicateEvaluator

public class SavedQueryPredicate extends PredicateGroupEvaluator
Includes all predicates of a persisted querybuilder query into the current query as a sub PredicateGroupEvaluator. Note that this will not execute an extra query but extend the current query.

Queries can be persisted programmatically using QueryBuilder#storeQuery(). The format can be either a multi-line String property or a nt:file node that contains the query as a text file in Java properties format.

Does not support facet extraction for the predicates of the saved query.

Name:

savedquery

Parameters:

savedquery
path to the saved query (String property or nt:file node)
Since:
5.3