Interface QueryEvaluationContext
- All Known Implementing Classes:
ArrayBindingBasedQueryEvaluationContext
,QueryEvaluationContext.Minimal
public interface QueryEvaluationContext
A QueryEvaluationContext stores values and methods that are valid throughout the lifetime of a query execution.
A classic case is the case of NOW() evaluation to the same instant for all invocations of that function in one query
evaluation.
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptiondefault BiConsumer<Value,
MutableBindingSet> addBinding
(String variableName) default MutableBindingSet
default MutableBindingSet
createBindingSet
(BindingSet bindings) default Function<BindingSet,
Binding> getBinding
(String variableName) getNow()
default Function<BindingSet,
Value> default Predicate<BindingSet>
hasBinding
(String variableName) default BiConsumer<Value,
MutableBindingSet> setBinding
(String variableName)