Interface QueryValueEvaluationStep
- All Known Implementing Classes:
QueryValueEvaluationStep.ConstantQueryValueEvaluationStep
,QueryValueEvaluationStep.Minimal
public interface QueryValueEvaluationStep
A step in the query evaluation that works on ValueExpresions.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic class
A QueryValueEvalationStep that will return the same constant value throughout the query execution.static final class
A minimal implementation that falls back to calling evaluate in the strategy. -
Method Summary
Modifier and TypeMethodDescriptionevaluate
(BindingSet bindings) default boolean
If an value expression results in a constant then it may be executed once per query invocation.
-
Method Details
-
evaluate
- Throws:
QueryEvaluationException
-
isConstant
default boolean isConstant()If an value expression results in a constant then it may be executed once per query invocation. This can reduce computation time significantly.- Returns:
- if this ValueExpresionStep will always return the same value
-