Interface MemorizedResultSetTransformer.AggregateFunction

All Known Implementing Classes:
MemorizedResultSetTransformer.ListAggregation
Enclosing class:
MemorizedResultSetTransformer

public static interface MemorizedResultSetTransformer.AggregateFunction
Functional interface for aggregate functions applied to a group of rows.
  • Method Summary

    Modifier and Type
    Method
    Description
    eval(List<Object[]> group, int columnIndex)
    Evaluates the aggregate function over the given group of rows.
  • Method Details

    • eval

      Object eval(List<Object[]> group, int columnIndex)
      Evaluates the aggregate function over the given group of rows.
      Parameters:
      group - the group of rows to aggregate
      columnIndex - the 0-based column index to aggregate
      Returns:
      the aggregated value