public class ComparisonExpressionCacheFilterStrategy extends Object implements FilterStrategy
FilterStrategy chain) for supported expressions - currently just
XPathCmpExpr and XPathEqExpr. Repeated evaluations are fetched in O(1) time.| Constructor and Description |
|---|
ComparisonExpressionCacheFilterStrategy() |
| 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 ComparisonExpressionCacheFilterStrategy()
@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.