Class AggSpecSortedLast

java.lang.Object
io.deephaven.api.agg.spec.AggSpecBase
io.deephaven.api.agg.spec.AggSpecSortedLast
All Implemented Interfaces:
AggSpec

@Immutable public abstract class AggSpecSortedLast extends AggSpecBase
Specifies an aggregation that outputs the last value in the input column for each group, after sorting the group on the sort columns.
See Also:
ImplNote:
The sorted-last aggregation only supports SortColumn.Order.ASCENDING columns at the moment.
  • Constructor Details

    • AggSpecSortedLast

      public AggSpecSortedLast()
  • Method Details

    • builder

      public static AggSpecSortedLast.Builder builder()
    • description

      public final String description()
      Description copied from interface: AggSpec
      Get a simple description for this AggSpec.
      Returns:
      The description
    • columns

      public abstract List<SortColumn> columns()
      The columns to sort on to determine the order within each group.
      Returns:
      The sort columns
    • walk

      public final <V extends AggSpec.Visitor> V walk(V visitor)
      Description copied from interface: AggSpec
      Glue method to deliver this AggSpec to a AggSpec.Visitor.
      Parameters:
      visitor - The visitor
      Returns:
      The visitor