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
-
Method Summary
Modifier and TypeMethodDescriptionabstract ColumnName
column()
static LastRowKey
of
(ColumnName name) static LastRowKey
final <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:Aggregation
Glue method to deliver this Aggregation to aAggSpec.Visitor
.- Specified by:
walk
in interfaceAggregation
- Parameters:
visitor
- The visitor- Returns:
- The visitor
-