public class IdempotentExpressionCacheFilterStrategy extends Object implements FilterStrategy
FilterStrategy chain) for "idempotent" (with respect to current form
state) predicates. Can only be used for static instances or in cases where form state won't change - will cause
clashes otherwise. Repeated evaluations are fetched in O(1) time.| Constructor and Description |
|---|
IdempotentExpressionCacheFilterStrategy() |
| Modifier and Type | Method and Description |
|---|---|
List<TreeReference> |
filter(DataInstance sourceInstance,
TreeReference nodeSet,
XPathExpression predicate,
List<TreeReference> children,
EvaluationContext evaluationContext,
Supplier<List<TreeReference>> next) |
public IdempotentExpressionCacheFilterStrategy()
@NotNull public List<TreeReference> filter(@NotNull DataInstance sourceInstance, @NotNull TreeReference nodeSet, @NotNull XPathExpression predicate, @NotNull List<TreeReference> children, @NotNull EvaluationContext evaluationContext, @NotNull Supplier<List<TreeReference>> next)
filter in interface FilterStrategyCopyright © 2024. All rights reserved.