Interface GroupingAggregatorFunction.PreparedForEvaluation

All Superinterfaces:
AutoCloseable, Closeable, org.elasticsearch.core.Releasable
Enclosing interface:
GroupingAggregatorFunction

public static interface GroupingAggregatorFunction.PreparedForEvaluation extends org.elasticsearch.core.Releasable
View into the agg that's prepared to emit results. Built with a selected range.
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
     
    void
    evaluate(Block[] blocks, int offset, IntVector selectedInPage)
    Build a page of results.
  • Method Details

    • evaluate

      void evaluate(Block[] blocks, int offset, IntVector selectedInPage)
      Build a page of results.
      Parameters:
      blocks - array to write the target blocks
      offset - offset into blocks to write the first block
      selectedInPage - The results to include in this page. This is a subset of the selected set to the method that built this.
    • close

      default void close()
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface Closeable
      Specified by:
      close in interface org.elasticsearch.core.Releasable