Class CqlWrapperCollectorLinkingSorting<O,​R extends Sortable<O>>

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

public final class CqlWrapperCollectorLinkingSorting<O,​R extends Sortable<O>>
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 extends Sortable<O>>
      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 extends Sortable<O>>
      Returns:
      the collected object