Interface CfnDataSetPropsMixin.AggregateOperationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDataSetPropsMixin.AggregateOperationProperty.Jsii$Proxy
- Enclosing class:
CfnDataSetPropsMixin
@Stability(Stable)
public static interface CfnDataSetPropsMixin.AggregateOperationProperty
extends software.amazon.jsii.JsiiSerializable
A transform operation that groups rows by specified columns and applies aggregation functions to calculate summary values.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.quicksight.*;
AggregateOperationProperty aggregateOperationProperty = AggregateOperationProperty.builder()
.aggregations(List.of(AggregationProperty.builder()
.aggregationFunction(DataPrepAggregationFunctionProperty.builder()
.listAggregation(DataPrepListAggregationFunctionProperty.builder()
.distinct(false)
.inputColumnName("inputColumnName")
.separator("separator")
.build())
.percentileAggregation(DataPrepPercentileAggregationFunctionProperty.builder()
.inputColumnName("inputColumnName")
.percentileValue(123)
.build())
.simpleAggregation(DataPrepSimpleAggregationFunctionProperty.builder()
.functionType("functionType")
.inputColumnName("inputColumnName")
.build())
.build())
.newColumnId("newColumnId")
.newColumnName("newColumnName")
.build()))
.alias("alias")
.groupByColumnNames(List.of("groupByColumnNames"))
.source(TransformOperationSourceProperty.builder()
.columnIdMappings(List.of(DataSetColumnIdMappingProperty.builder()
.sourceColumnId("sourceColumnId")
.targetColumnId("targetColumnId")
.build()))
.transformOperationId("transformOperationId")
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnDataSetPropsMixin.AggregateOperationPropertystatic final classAn implementation forCfnDataSetPropsMixin.AggregateOperationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectThe list of aggregation functions to apply to the grouped data, such asSUM,COUNT, orAVERAGE.default StringgetAlias()Alias for this operation.The list of column names to group by when performing the aggregation.default ObjectThe source transform operation that provides input data for the aggregation.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAggregations
The list of aggregation functions to apply to the grouped data, such asSUM,COUNT, orAVERAGE.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnDataSetPropsMixin.AggregationProperty>- See Also:
-
getAlias
Alias for this operation.- See Also:
-
getGroupByColumnNames
The list of column names to group by when performing the aggregation.Rows with the same values in these columns will be grouped together.
- See Also:
-
getSource
The source transform operation that provides input data for the aggregation.Returns union: either
IResolvableorCfnDataSetPropsMixin.TransformOperationSourceProperty- See Also:
-
builder
-