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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal StringGet a simple description for this AggSpec.abstract booleanWhethernullinput values should be included in the distinct output values.static AggSpecDistinctof()Create a new AggSpecDistinct withincludeNullsof false.static AggSpecDistinctof(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 withincludeNullsof 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:AggSpecGet a simple description for this AggSpec.- Returns:
- The description
-
includeNulls
@Parameter public abstract boolean includeNulls()Whethernullinput values should be included in the distinct output values.- Returns:
- Whether to include nulls
-
walk
Description copied from interface:AggSpecGlue method to deliver this AggSpec to aAggSpec.Visitor.- Parameters:
visitor- The visitor- Returns:
- The visitor
-