Package io.deephaven.api.agg.spec
Class AggSpecSortedLast
java.lang.Object
io.deephaven.api.agg.spec.AggSpecBase
io.deephaven.api.agg.spec.AggSpecSortedLast
- All Implemented Interfaces:
AggSpec
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.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.deephaven.api.agg.spec.AggSpec
AggSpec.Visitor
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic AggSpecSortedLast.Builder
builder()
abstract List<SortColumn>
columns()
The columns to sort on to determine the order within each group.final String
Get a simple description for this AggSpec.final <V extends AggSpec.Visitor>
Vwalk
(V visitor) Glue method to deliver this AggSpec to aAggSpec.Visitor
.Methods inherited from class io.deephaven.api.agg.spec.AggSpecBase
aggregation, aggregation, aggregation
-
Constructor Details
-
AggSpecSortedLast
public AggSpecSortedLast()
-
-
Method Details
-
builder
-
description
Description copied from interface:AggSpec
Get a simple description for this AggSpec.- Returns:
- The description
-
columns
The columns to sort on to determine the order within each group.- Returns:
- The sort columns
-
walk
Description copied from interface:AggSpec
Glue method to deliver this AggSpec to aAggSpec.Visitor
.- Parameters:
visitor
- The visitor- Returns:
- The visitor
-