Interface QueryValueEvaluationStep
- All Known Implementing Classes:
AndValueEvaluationStep,CompareAllQueryValueEvaluationStep,CompareAnyValueEvaluationStep,ExistsQueryValueEvaluationStep,IfValueEvaluationStep,InValueEvaluationStep,ListMemberValueOperationStep,OrValueEvaluationStep,QueryValueEvaluationStep.ApplyFunctionForEachBinding,QueryValueEvaluationStep.ConstantQueryValueEvaluationStep,QueryValueEvaluationStep.Fail,QueryValueEvaluationStep.Minimal,ValueExprTripleRefEvaluationStep
public interface QueryValueEvaluationStep
A step in the query evaluation that works on ValueExpresions.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA minimal implementation that falls calls a function that should return a value per passed in bindingsets.static classA QueryValueEvalationStep that will return the same constant value throughout the query execution.static final classA minimal implementation that falls is known to throw an ValueExprEvaluationException.static final classA minimal implementation that falls back to calling evaluate in the strategy. -
Method Summary
Modifier and TypeMethodDescriptionevaluate(BindingSet bindings) default booleanIf 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
-