Class BulkedExternalInnerJoin
java.lang.Object
org.eclipse.rdf4j.sail.shacl.ast.planNodes.AbstractBulkJoinPlanNode
org.eclipse.rdf4j.sail.shacl.ast.planNodes.BulkedExternalInnerJoin
- All Implemented Interfaces:
 PlanNode
- Author:
 - HÃ¥vard Ottestad
        
This inner join algorithm assumes the left iterator is unique for tuple[0], eg. no two tuples have the same value at index 0. The right iterator is allowed to contain duplicates.
External means that this plan node can join the iterator from a plan node with an external source (Repository or SailConnection) based on a query or a predicate.
 
- 
Field Summary
Fields inherited from class AbstractBulkJoinPlanNode
BINDING_NAME, BULK_SIZE, DEFAULT_VARS, mapper - 
Constructor Summary
ConstructorsConstructorDescriptionBulkedExternalInnerJoin(PlanNode leftNode, SailConnection connection, Resource[] dataGraph, SparqlFragment query, boolean skipBasedOnPreviousConnection, SailConnection previousStateConnection, Function<BindingSet, ValidationTuple> mapper, ConnectionsGroup connectionsGroup, List<StatementMatcher.Variable> vars)  - 
Method Summary
Modifier and TypeMethodDescriptionintdepth()booleangetId()static Function<BindingSet, ValidationTuple> getMapper(String a, String c, ConstraintComponent.Scope scope, Resource[] dataGraph) voidgetPlanAsGraphvizDot(StringBuilder stringBuilder) inthashCode()CloseableIteration<? extends ValidationTuple> iterator()booleanvoidreceiveLogger(ValidationExecutionLogger validationExecutionLogger) booleantoString()Methods inherited from interface PlanNode
isGuaranteedEmpty 
- 
Constructor Details
- 
BulkedExternalInnerJoin
public BulkedExternalInnerJoin(PlanNode leftNode, SailConnection connection, Resource[] dataGraph, SparqlFragment query, boolean skipBasedOnPreviousConnection, SailConnection previousStateConnection, Function<BindingSet, ValidationTuple> mapper, ConnectionsGroup connectionsGroup, List<StatementMatcher.Variable> vars)  
 - 
 - 
Method Details
- 
getMapper
public static Function<BindingSet, ValidationTuple> getMapper(String a, String c, ConstraintComponent.Scope scope, Resource[] dataGraph)  - 
iterator
 - 
depth
public int depth() - 
getPlanAsGraphvizDot
 - 
toString
 - 
getId
 - 
receiveLogger
 - 
equals
- Overrides:
 equalsin classAbstractBulkJoinPlanNode
 - 
hashCode
public int hashCode()- Overrides:
 hashCodein classAbstractBulkJoinPlanNode
 - 
producesSorted
public boolean producesSorted()- Specified by:
 producesSortedin interfacePlanNode- Overrides:
 producesSortedin classAbstractBulkJoinPlanNode
 - 
requiresSorted
public boolean requiresSorted()- Specified by:
 requiresSortedin interfacePlanNode- Overrides:
 requiresSortedin classAbstractBulkJoinPlanNode
 
 -