Package org.eclipse.rdf4j.sail.shacl.ast.planNodes

## 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.

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `BufferedSplitter​(PlanNode planNode)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `boolean` | `equals​(Object o)` |
    `PlanNode` | `getPlanNode()` |
    `int` | `hashCode()` |

    - ### Methods inherited from class java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### BufferedSplitter

          public BufferedSplitter​(PlanNode planNode)

  - ### Method Detail

    - #### getPlanNode

          public PlanNode getPlanNode()

      Specified by:
        `getPlanNode` in interface `PlanNodeProvider`

    - #### equals

          public boolean equals​(Object o)

      Overrides:
        `equals` in class `Object`

    - #### hashCode

          public int hashCode()

      Overrides:
        `hashCode` in class `Object`