public interface FilterPredicate
FilterPredicates do not contain closures or instances of anonymous classes, rather they are expressed as an expression tree of operators.
FilterPredicates are implemented in terms of the visitor pattern.
See Operators for the implementation of the operator tokens,
and FilterApi for the dsl functions for constructing an expression tree.
| Modifier and Type | Interface and Description |
|---|---|
static interface |
FilterPredicate.Visitor<R>
A FilterPredicate Visitor must visit all the operators in a FilterPredicate expression tree,
and must handle recursion itself, per the visitor pattern.
|
| Modifier and Type | Method and Description |
|---|---|
<R> R |
accept(FilterPredicate.Visitor<R> visitor)
A FilterPredicate must accept a Visitor, per the visitor pattern.
|
<R> R accept(FilterPredicate.Visitor<R> visitor)
R - return type of the visitorvisitor - a visitorCopyright © 2023 The Apache Software Foundation. All rights reserved.