Class BufferedSplitter
- java.lang.Object
-
- org.eclipse.rdf4j.sail.shacl.ast.planNodes.BufferedSplitter
-
- All Implemented Interfaces:
PlanNodeProvider
public class BufferedSplitter extends Object implements PlanNodeProvider
- 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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
BufferedSplitter.BufferedSplitterPlaneNode
-
Constructor Summary
Constructors Constructor Description BufferedSplitter(PlanNode parent)
BufferedSplitter(PlanNode parent, boolean cached)
-
-
-
Method Detail
-
getId
public String getId()
-
getPlanNode
public PlanNode getPlanNode()
- Specified by:
getPlanNode
in interfacePlanNodeProvider
-
-