Package io.deephaven.api.agg.spec
Class AggSpecFreeze
java.lang.Object
io.deephaven.api.agg.spec.AggSpecBase
io.deephaven.api.agg.spec.AggSpecEmptyBase
io.deephaven.api.agg.spec.AggSpecFreeze
- All Implemented Interfaces:
AggSpec
Specifies an aggregation that freezes the first value for each group and ignores subsequent changes. When groups are
removed, the corresponding output row is removed. When groups are re-added (on a subsequent update cycle), the newly
added value is then frozen.
- ImplNote:
- Only one row per group is allowed in the output, because the operation has no way to determine which row to freeze otherwise. This is a constraint on the input data.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.deephaven.api.agg.spec.AggSpec
AggSpec.Visitor
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal String
Get a simple description for this AggSpec.static AggSpecFreeze
of()
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
-
AggSpecFreeze
public AggSpecFreeze()
-
-
Method Details
-
of
-
description
Description copied from interface:AggSpec
Get a simple description for this AggSpec.- Returns:
- The description
-
walk
Description copied from interface:AggSpec
Glue method to deliver this AggSpec to aAggSpec.Visitor
.- Parameters:
visitor
- The visitor- Returns:
- The visitor
-