Package io.deephaven.api.agg
Class FirstRowKey
java.lang.Object
io.deephaven.api.agg.FirstRowKey
- All Implemented Interfaces:
Aggregation
An
aggregation
that provides a single output column with the first 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 first 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 FirstRowKey
of
(ColumnName name) static FirstRowKey
final <V extends Aggregation.Visitor>
Vwalk
(V visitor) Glue method to deliver this Aggregation to aAggSpec.Visitor
.
-
Constructor Details
-
FirstRowKey
public FirstRowKey()
-
-
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
-