Class BufferedSplitter
java.lang.Object
org.eclipse.rdf4j.sail.shacl.ast.planNodes.BufferedSplitter
- All Implemented Interfaces:
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
-
Constructor Summary
ConstructorDescriptionBufferedSplitter
(PlanNode parent) BufferedSplitter
(PlanNode parent, boolean cached) BufferedSplitter
(PlanNode parent, boolean cached, boolean createId) -
Method Summary
-
Constructor Details
-
BufferedSplitter
-
BufferedSplitter
-
BufferedSplitter
-
-
Method Details
-
getId
-
getPlanNode
- Specified by:
getPlanNode
in interfacePlanNodeProvider
-
equals
-
hashCode
public int hashCode()
-