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
public class BulkedExternalInnerJoin extends AbstractBulkJoinPlanNode
- 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 org.eclipse.rdf4j.sail.shacl.ast.planNodes.AbstractBulkJoinPlanNode
BINDING_NAME, BULK_SIZE, mapper
-
-
Constructor Summary
Constructors Constructor Description BulkedExternalInnerJoin(PlanNode leftNode, SailConnection connection, Resource[] dataGraph, String query, boolean skipBasedOnPreviousConnection, SailConnection previousStateConnection, Function<BindingSet,ValidationTuple> mapper)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
depth()
boolean
equals(Object o)
String
getId()
static Function<BindingSet,ValidationTuple>
getMapper(String a, String c, ConstraintComponent.Scope scope, Resource[] dataGraph)
void
getPlanAsGraphvizDot(StringBuilder stringBuilder)
int
hashCode()
CloseableIteration<? extends ValidationTuple,SailException>
iterator()
void
receiveLogger(ValidationExecutionLogger validationExecutionLogger)
String
toString()
-
Methods inherited from class org.eclipse.rdf4j.sail.shacl.ast.planNodes.AbstractBulkJoinPlanNode
producesSorted, requiresSorted
-
-
-
-
Constructor Detail
-
BulkedExternalInnerJoin
public BulkedExternalInnerJoin(PlanNode leftNode, SailConnection connection, Resource[] dataGraph, String query, boolean skipBasedOnPreviousConnection, SailConnection previousStateConnection, Function<BindingSet,ValidationTuple> mapper)
-
-
Method Detail
-
getMapper
public static Function<BindingSet,ValidationTuple> getMapper(String a, String c, ConstraintComponent.Scope scope, Resource[] dataGraph)
-
iterator
public CloseableIteration<? extends ValidationTuple,SailException> iterator()
-
depth
public int depth()
-
getPlanAsGraphvizDot
public void getPlanAsGraphvizDot(StringBuilder stringBuilder)
-
getId
public String getId()
-
receiveLogger
public void receiveLogger(ValidationExecutionLogger validationExecutionLogger)
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classAbstractBulkJoinPlanNode
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classAbstractBulkJoinPlanNode
-
-