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 TypeMethodDescriptionintdepth()booleangetId()voidgetPlanAsGraphvizDot(StringBuilder stringBuilder) inthashCode()CloseableIteration<? extends ValidationTuple, SailException> iterator()booleanvoidreceiveLogger(ValidationExecutionLogger validationExecutionLogger) booleantoString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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:
getPlanAsGraphvizDotin interfacePlanNode
-
getId
-
toString
-
receiveLogger
- Specified by:
receiveLoggerin interfacePlanNode
-
producesSorted
public boolean producesSorted()- Specified by:
producesSortedin interfacePlanNode
-
requiresSorted
public boolean requiresSorted()- Specified by:
requiresSortedin interfacePlanNode
-
equals
-
hashCode
-