Interface CfnDataSet.AggregateOperationProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnDataSet.AggregateOperationProperty.Jsii$Proxy
Enclosing class:
CfnDataSet

@Stability(Stable) public static interface CfnDataSet.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.services.quicksight.*;
 AggregateOperationProperty aggregateOperationProperty = AggregateOperationProperty.builder()
         .aggregations(List.of(AggregationProperty.builder()
                 .aggregationFunction(DataPrepAggregationFunctionProperty.builder()
                         .listAggregation(DataPrepListAggregationFunctionProperty.builder()
                                 .distinct(false)
                                 .separator("separator")
                                 // the properties below are optional
                                 .inputColumnName("inputColumnName")
                                 .build())
                         .percentileAggregation(DataPrepPercentileAggregationFunctionProperty.builder()
                                 .percentileValue(123)
                                 // the properties below are optional
                                 .inputColumnName("inputColumnName")
                                 .build())
                         .simpleAggregation(DataPrepSimpleAggregationFunctionProperty.builder()
                                 .functionType("functionType")
                                 // the properties below are optional
                                 .inputColumnName("inputColumnName")
                                 .build())
                         .build())
                 .newColumnId("newColumnId")
                 .newColumnName("newColumnName")
                 .build()))
         .alias("alias")
         .source(TransformOperationSourceProperty.builder()
                 .transformOperationId("transformOperationId")
                 // the properties below are optional
                 .columnIdMappings(List.of(DataSetColumnIdMappingProperty.builder()
                         .sourceColumnId("sourceColumnId")
                         .targetColumnId("targetColumnId")
                         .build()))
                 .build())
         // the properties below are optional
         .groupByColumnNames(List.of("groupByColumnNames"))
         .build();
 

See Also: