Class BufferedSplitter.BufferedSplitterPlaneNode
java.lang.Object
org.eclipse.rdf4j.sail.shacl.ast.planNodes.BufferedSplitter.BufferedSplitterPlaneNode
- All Implemented Interfaces:
PlanNode
- Enclosing class:
BufferedSplitter
- Author:
- HÃ¥vard Ottestad
Allows the iterator of one planNode to be used by multiple other nodes by buffering all results from the parent iterator. This will potentially take a fair bit of memory, but maybe be useful for perfomance so that we don't query the underlying datastores for the same data multiple times.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionBufferedSplitterPlaneNode
(BufferedSplitter bufferedSplitter, boolean cached) -
Method Summary
Modifier and TypeMethodDescriptionint
depth()
boolean
getId()
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
-
Field Details
-
cached
public final boolean cached
-
-
Constructor Details
-
BufferedSplitterPlaneNode
-
-
Method Details
-
iterator
-
depth
-
getPlanAsGraphvizDot
- Specified by:
getPlanAsGraphvizDot
in interfacePlanNode
-
getId
-
toString
-
receiveLogger
- Specified by:
receiveLogger
in interfacePlanNode
-
producesSorted
public boolean producesSorted()- Specified by:
producesSorted
in interfacePlanNode
-
requiresSorted
public boolean requiresSorted()- Specified by:
requiresSorted
in interfacePlanNode
-
equals
-
hashCode
-