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