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 QueryValueEvaluationStepA step in the query evaluation that works on ValueExpresions.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classQueryValueEvaluationStep.ApplyFunctionForEachBindingA minimal implementation that falls calls a function that should return a value per passed in bindingsets.static classQueryValueEvaluationStep.ConstantQueryValueEvaluationStepA QueryValueEvalationStep that will return the same constant value throughout the query execution.static classQueryValueEvaluationStep.FailA minimal implementation that falls is known to throw an ValueExprEvaluationException.static classQueryValueEvaluationStep.MinimalA minimal implementation that falls back to calling evaluate in the strategy.
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Valueevaluate(BindingSet bindings)default booleanisConstant()If an value expression results in a constant then it may be executed once per query invocation.
-
-
-
Method Detail
-
evaluate
Value evaluate(BindingSet bindings) throws QueryEvaluationException
- 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
-
-