Class StatementPatternQueryEvaluationStep
java.lang.Object
org.eclipse.rdf4j.query.algebra.evaluation.impl.evaluationsteps.StatementPatternQueryEvaluationStep
- All Implemented Interfaces:
 QueryEvaluationStep
Evaluate the StatementPattern - taking care of graph/datasets - avoiding redoing work every call of evaluate if
possible.
- 
Nested Class Summary
Nested classes/interfaces inherited from interface QueryEvaluationStep
QueryEvaluationStep.DelayedEvaluationIteration - 
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Resource[]static final Resource[]static final EmptyIteration<? extends Statement> Fields inherited from interface QueryEvaluationStep
EMPTY - 
Constructor Summary
ConstructorsConstructorDescriptionStatementPatternQueryEvaluationStep(StatementPattern statementPattern, QueryEvaluationContext context, TripleSource tripleSource)  - 
Method Summary
Modifier and TypeMethodDescriptionevaluate(BindingSet bindings) extractContextsFromDatasets(Var contextVar, boolean emptyGraph, Set<IRI> graphs) filterContextOrEqualVariables(StatementPattern statementPattern, Value subjValue, Value predValue, Value objValue, Resource[] contexts) Generate a predicate that tests for Named contexts are matched by retrieving all statements from the store and filtering out the statements that do not have a context. 
- 
Field Details
- 
EMPTY_ITERATION
 - 
DEFAULT_CONTEXT
 - 
ALL_CONTEXT
 
 - 
 - 
Constructor Details
- 
StatementPatternQueryEvaluationStep
public StatementPatternQueryEvaluationStep(StatementPattern statementPattern, QueryEvaluationContext context, TripleSource tripleSource)  
 - 
 - 
Method Details
- 
evaluate
- Specified by:
 evaluatein interfaceQueryEvaluationStep
 - 
filterContextOrEqualVariables
protected static Predicate<Statement> filterContextOrEqualVariables(StatementPattern statementPattern, Value subjValue, Value predValue, Value objValue, Resource[] contexts) Generate a predicate that tests for Named contexts are matched by retrieving all statements from the store and filtering out the statements that do not have a context. Or the same variable might have been used multiple times in this StatementPattern, verify value equality in those cases. - 
extractContextsFromDatasets
 
 -