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 org.eclipse.rdf4j.sail.shacl.ast.planNodes.AbstractBulkJoinPlanNode
BINDING_NAME, BULK_SIZE, mapper
-
Constructor Summary
ConstructorDescriptionBulkedExternalInnerJoin
(PlanNode leftNode, SailConnection connection, Resource[] dataGraph, org.eclipse.rdf4j.sail.shacl.ast.SparqlFragment query, boolean skipBasedOnPreviousConnection, SailConnection previousStateConnection, Function<BindingSet, ValidationTuple> mapper, ConnectionsGroup connectionsGroup) -
Method Summary
Modifier and TypeMethodDescriptionint
depth()
boolean
getId()
static Function
<BindingSet, ValidationTuple> getMapper
(String a, String c, ConstraintComponent.Scope scope, Resource[] dataGraph) void
getPlanAsGraphvizDot
(StringBuilder stringBuilder) int
hashCode()
CloseableIteration
<? extends ValidationTuple> iterator()
boolean
void
receiveLogger
(ValidationExecutionLogger validationExecutionLogger) boolean
toString()
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.eclipse.rdf4j.sail.shacl.ast.planNodes.PlanNode
isGuaranteedEmpty
-
Constructor Details
-
BulkedExternalInnerJoin
public BulkedExternalInnerJoin(PlanNode leftNode, SailConnection connection, Resource[] dataGraph, org.eclipse.rdf4j.sail.shacl.ast.SparqlFragment query, boolean skipBasedOnPreviousConnection, SailConnection previousStateConnection, Function<BindingSet, ValidationTuple> mapper, ConnectionsGroup connectionsGroup)
-
-
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:
equals
in classAbstractBulkJoinPlanNode
-
hashCode
public int hashCode()- Overrides:
hashCode
in classAbstractBulkJoinPlanNode
-
producesSorted
public boolean producesSorted()- Specified by:
producesSorted
in interfacePlanNode
- Overrides:
producesSorted
in classAbstractBulkJoinPlanNode
-
requiresSorted
public boolean requiresSorted()- Specified by:
requiresSorted
in interfacePlanNode
- Overrides:
requiresSorted
in classAbstractBulkJoinPlanNode
-