Class AggSpecSortedFirst

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

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

    • AggSpecSortedFirst

      public AggSpecSortedFirst()
  • Method Details

    • builder

      public static AggSpecSortedFirst.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