Package io.deephaven.api.agg.spec
Class AggSpecDistinct
java.lang.Object
io.deephaven.api.agg.spec.AggSpecBase
io.deephaven.api.agg.spec.AggSpecDistinct
- All Implemented Interfaces:
AggSpec
Specifies an aggregation that outputs the distinct values for each group as a Deephaven vector
(io.deephaven.vector.Vector).
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.deephaven.api.agg.spec.AggSpec
AggSpec.Visitor
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal String
Get a simple description for this AggSpec.abstract boolean
Whethernull
input values should be included in the distinct output values.static AggSpecDistinct
of()
Create a new AggSpecDistinct withincludeNulls
of false.static AggSpecDistinct
of
(boolean includeNulls) Create a new AggSpecDistinct.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
-
Field Details
-
INCLUDE_NULLS_DEFAULT
public static final boolean INCLUDE_NULLS_DEFAULT- See Also:
-
-
Constructor Details
-
AggSpecDistinct
public AggSpecDistinct()
-
-
Method Details
-
of
Create a new AggSpecDistinct withincludeNulls
of false.- Returns:
- the agg spec
-
of
Create a new AggSpecDistinct.- Parameters:
includeNulls
- if nulls should be included as distinct values- Returns:
- the agg spec
-
description
Description copied from interface:AggSpec
Get a simple description for this AggSpec.- Returns:
- The description
-
includeNulls
@Parameter public abstract boolean includeNulls()Whethernull
input values should be included in the distinct output values.- Returns:
- Whether to include nulls
-
walk
Description copied from interface:AggSpec
Glue method to deliver this AggSpec to aAggSpec.Visitor
.- Parameters:
visitor
- The visitor- Returns:
- The visitor
-