Package io.deephaven.api.agg
Class LastRowKey
java.lang.Object
io.deephaven.api.agg.LastRowKey
- All Implemented Interfaces:
Aggregation
An
aggregation that provides a single output column with the last row key from the input table
for each aggregation group in the result.
The primary use case for this aggregation is to allow for a subsequent sort on the output column to order aggregated data by current last occurrence in the input table rather than
encounter order.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.deephaven.api.agg.Aggregation
Aggregation.Visitor -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract ColumnNamecolumn()static LastRowKeyof(ColumnName name) static LastRowKeyfinal <V extends Aggregation.Visitor>
Vwalk(V visitor) Glue method to deliver this Aggregation to aAggSpec.Visitor.
-
Constructor Details
-
LastRowKey
public LastRowKey()
-
-
Method Details
-
of
-
of
-
column
-
walk
Description copied from interface:AggregationGlue method to deliver this Aggregation to aAggSpec.Visitor.- Specified by:
walkin interfaceAggregation- Parameters:
visitor- The visitor- Returns:
- The visitor
-