public class FulltextPredicateEvaluator extends AbstractPredicateEvaluator
Does not support filtering. Does not support facet extraction.
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
FULLTEXT |
static java.lang.String |
REL_PATH |
| Constructor and Description |
|---|
FulltextPredicateEvaluator() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canFilter(Predicate predicate,
EvaluationContext context)
Returns the same as the deprecated
AbstractPredicateEvaluator.isFiltering(Predicate, EvaluationContext) method (ie. |
boolean |
canXpath(Predicate predicate,
EvaluationContext context)
Returns the inverted boolean value of the deprecated
AbstractPredicateEvaluator.isFiltering(Predicate, EvaluationContext) method (ie. |
java.lang.String |
getXPathExpression(Predicate p,
EvaluationContext context)
Default implementation that always returns
null, ie. |
getFacetExtractor, getOrderByComparator, getOrderByProperties, includes, isFilteringpublic static final java.lang.String FULLTEXT
public static final java.lang.String REL_PATH
public java.lang.String getXPathExpression(Predicate p, EvaluationContext context)
AbstractPredicateEvaluatornull, ie. adds
nothing to the XPath query. Subclasses can choose whether they want to
implement this method or use the
AbstractPredicateEvaluator.includes(Predicate, Row, EvaluationContext) method for advanced
filtering (or both).getXPathExpression in interface PredicateEvaluatorgetXPathExpression in class AbstractPredicateEvaluatorp - predicate (for this evaluator type) which is evaluatedcontext - helper class which provides access to various elements of the
query evaluationpublic boolean canXpath(Predicate predicate, EvaluationContext context)
AbstractPredicateEvaluatorAbstractPredicateEvaluator.isFiltering(Predicate, EvaluationContext) method (ie. if not
overridden, true).canXpath in interface PredicateEvaluatorcanXpath in class AbstractPredicateEvaluatorpredicate - predicate (for this evaluator type) which is evaluatedcontext - helper class which provides access to various elements of the
query evaluationtrue if this evaluator can express itself via xpath,
ie. PredicateEvaluator.getXPathExpression(Predicate, EvaluationContext)public boolean canFilter(Predicate predicate, EvaluationContext context)
AbstractPredicateEvaluatorAbstractPredicateEvaluator.isFiltering(Predicate, EvaluationContext) method (ie. if not
overridden, false).canFilter in interface PredicateEvaluatorcanFilter in class AbstractPredicateEvaluatorpredicate - predicate (for this evaluator type) which is evaluatedcontext - helper class which provides access to various elements of the
query evaluationtrue if this evaluator can be express itself via
filtering, ie.
PredicateEvaluator.includes(Predicate, Row, EvaluationContext)Copyright © 2010 - 2023 Adobe. All Rights Reserved