Class ArrayBindingBasedQueryEvaluationContext
java.lang.Object
org.eclipse.rdf4j.query.algebra.evaluation.impl.ArrayBindingBasedQueryEvaluationContext
- All Implemented Interfaces:
QueryEvaluationContext
public final class ArrayBindingBasedQueryEvaluationContext
extends Object
implements QueryEvaluationContext
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.rdf4j.query.algebra.evaluation.impl.QueryEvaluationContext
QueryEvaluationContext.Minimal
-
Field Summary
Modifier and TypeFieldDescriptionstatic final BiConsumer
<Value, MutableBindingSet> static final Function
<BindingSet, Binding> static final Function
<BindingSet, Value> static final Predicate
<BindingSet> static final BiConsumer
<Value, MutableBindingSet> -
Constructor Summary
ConstructorDescriptionArrayBindingBasedQueryEvaluationContext
(QueryEvaluationContext context, String[] allVariables, Comparator<Value> comparator) -
Method Summary
Modifier and TypeMethodDescriptionaddBinding
(String variableName) createBindingSet
(BindingSet bindings) static String[]
getBinding
(String variableName) getNow()
hasBinding
(String variableName) setBinding
(String variableName)
-
Field Details
-
HAS_BINDING_FALSE
-
GET_BINDING_NULL
-
GET_VALUE_NULL
-
SET_BINDING_NO_OP
-
ADD_BINDING_NO_OP
-
-
Constructor Details
-
ArrayBindingBasedQueryEvaluationContext
@InternalUseOnly public ArrayBindingBasedQueryEvaluationContext(QueryEvaluationContext context, String[] allVariables, Comparator<Value> comparator)
-
-
Method Details
-
getComparator
- Specified by:
getComparator
in interfaceQueryEvaluationContext
-
getNow
- Specified by:
getNow
in interfaceQueryEvaluationContext
- Returns:
- the shared now;
-
getDataset
- Specified by:
getDataset
in interfaceQueryEvaluationContext
- Returns:
- The dataset that this query is operation on.
-
createBindingSet
- Specified by:
createBindingSet
in interfaceQueryEvaluationContext
-
hasBinding
- Specified by:
hasBinding
in interfaceQueryEvaluationContext
-
getBinding
- Specified by:
getBinding
in interfaceQueryEvaluationContext
-
getValue
- Specified by:
getValue
in interfaceQueryEvaluationContext
-
setBinding
- Specified by:
setBinding
in interfaceQueryEvaluationContext
-
addBinding
- Specified by:
addBinding
in interfaceQueryEvaluationContext
-
createBindingSet
- Specified by:
createBindingSet
in interfaceQueryEvaluationContext
-
findAllVariablesUsedInQuery
-