Class AggregationFunction
- java.lang.Object
-
- software.amazon.awssdk.services.quicksight.model.AggregationFunction
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<AggregationFunction.Builder,AggregationFunction>
@Generated("software.amazon.awssdk:codegen") public final class AggregationFunction extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AggregationFunction.Builder,AggregationFunction>
An aggregation function aggregates values from a dimension or measure.
This is a union type structure. For this structure to be valid, only one of the attributes can be defined.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
AggregationFunction.Builder
-
Method Summary
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
numericalAggregationFunction
public final NumericalAggregationFunction numericalAggregationFunction()
Aggregation for numerical values.
- Returns:
- Aggregation for numerical values.
-
categoricalAggregationFunction
public final CategoricalAggregationFunction categoricalAggregationFunction()
Aggregation for categorical values.
-
COUNT
: Aggregate by the total number of values, including duplicates. -
DISTINCT_COUNT
: Aggregate by the total number of distinct values.
If the service returns an enum value that is not available in the current SDK version,
categoricalAggregationFunction
will returnCategoricalAggregationFunction.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromcategoricalAggregationFunctionAsString()
.- Returns:
- Aggregation for categorical values.
-
COUNT
: Aggregate by the total number of values, including duplicates. -
DISTINCT_COUNT
: Aggregate by the total number of distinct values.
-
- See Also:
CategoricalAggregationFunction
-
-
categoricalAggregationFunctionAsString
public final String categoricalAggregationFunctionAsString()
Aggregation for categorical values.
-
COUNT
: Aggregate by the total number of values, including duplicates. -
DISTINCT_COUNT
: Aggregate by the total number of distinct values.
If the service returns an enum value that is not available in the current SDK version,
categoricalAggregationFunction
will returnCategoricalAggregationFunction.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromcategoricalAggregationFunctionAsString()
.- Returns:
- Aggregation for categorical values.
-
COUNT
: Aggregate by the total number of values, including duplicates. -
DISTINCT_COUNT
: Aggregate by the total number of distinct values.
-
- See Also:
CategoricalAggregationFunction
-
-
dateAggregationFunction
public final DateAggregationFunction dateAggregationFunction()
Aggregation for date values.
-
COUNT
: Aggregate by the total number of values, including duplicates. -
DISTINCT_COUNT
: Aggregate by the total number of distinct values. -
MIN
: Select the smallest date value. -
MAX
: Select the largest date value.
If the service returns an enum value that is not available in the current SDK version,
dateAggregationFunction
will returnDateAggregationFunction.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromdateAggregationFunctionAsString()
.- Returns:
- Aggregation for date values.
-
COUNT
: Aggregate by the total number of values, including duplicates. -
DISTINCT_COUNT
: Aggregate by the total number of distinct values. -
MIN
: Select the smallest date value. -
MAX
: Select the largest date value.
-
- See Also:
DateAggregationFunction
-
-
dateAggregationFunctionAsString
public final String dateAggregationFunctionAsString()
Aggregation for date values.
-
COUNT
: Aggregate by the total number of values, including duplicates. -
DISTINCT_COUNT
: Aggregate by the total number of distinct values. -
MIN
: Select the smallest date value. -
MAX
: Select the largest date value.
If the service returns an enum value that is not available in the current SDK version,
dateAggregationFunction
will returnDateAggregationFunction.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromdateAggregationFunctionAsString()
.- Returns:
- Aggregation for date values.
-
COUNT
: Aggregate by the total number of values, including duplicates. -
DISTINCT_COUNT
: Aggregate by the total number of distinct values. -
MIN
: Select the smallest date value. -
MAX
: Select the largest date value.
-
- See Also:
DateAggregationFunction
-
-
attributeAggregationFunction
public final AttributeAggregationFunction attributeAggregationFunction()
Aggregation for attributes.
- Returns:
- Aggregation for attributes.
-
toBuilder
public AggregationFunction.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<AggregationFunction.Builder,AggregationFunction>
-
builder
public static AggregationFunction.Builder builder()
-
serializableBuilderClass
public static Class<? extends AggregationFunction.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToField
in interfaceSdkPojo
-
-