Class CqlWrapperCollectorLinkingFinalizing<O,​R>

java.lang.Object
one.microstream.util.cql.CqlWrapperCollectorLinkingFinalizing<O,​R>
All Implemented Interfaces:
Consumer<O>, Aggregator<O,​R>

public final class CqlWrapperCollectorLinkingFinalizing<O,​R>
extends Object
implements Aggregator<O,​R>
  • Method Details

    • accept

      public final void accept​(O element)
      Description copied from interface: Aggregator
      Aggregate single element to the collecting object.
      Specified by:
      accept in interface Aggregator<O,​R>
      Specified by:
      accept in interface Consumer<O>
      Parameters:
      element - to aggregate
    • yield

      public final R yield()
      Description copied from interface: Aggregator
      Builds or aggregates the added elements to one collected object.
      Specified by:
      yield in interface Aggregator<O,​R>
      Returns:
      the collected object