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
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
String
getId()
static BufferedSplitter
getInstance(PlanNode parent)
static BufferedSplitter
getInstance(PlanNode parent, boolean cached)
PlanNode
getPlanNode()
int
hashCode()
-
-
-
Method Detail
-
getInstance
public static BufferedSplitter getInstance(PlanNode parent)
-
getInstance
public static BufferedSplitter getInstance(PlanNode parent, boolean cached)
-
getId
public String getId()
-
getPlanNode
public PlanNode getPlanNode()
- Specified by:
getPlanNode
in interfacePlanNodeProvider
-
-