Interface CfnDataSet.UnpivotOperationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDataSet.UnpivotOperationProperty.Jsii$Proxy
- Enclosing class:
CfnDataSet
@Stability(Stable)
public static interface CfnDataSet.UnpivotOperationProperty
extends software.amazon.jsii.JsiiSerializable
A transform operation that converts columns into rows, normalizing the data structure.
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.*;
UnpivotOperationProperty unpivotOperationProperty = UnpivotOperationProperty.builder()
.alias("alias")
.columnsToUnpivot(List.of(ColumnToUnpivotProperty.builder()
.columnName("columnName")
.newValue("newValue")
.build()))
.source(TransformOperationSourceProperty.builder()
.transformOperationId("transformOperationId")
// the properties below are optional
.columnIdMappings(List.of(DataSetColumnIdMappingProperty.builder()
.sourceColumnId("sourceColumnId")
.targetColumnId("targetColumnId")
.build()))
.build())
.unpivotedLabelColumnId("unpivotedLabelColumnId")
.unpivotedLabelColumnName("unpivotedLabelColumnName")
.unpivotedValueColumnId("unpivotedValueColumnId")
.unpivotedValueColumnName("unpivotedValueColumnName")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnDataSet.UnpivotOperationPropertystatic final classAn implementation forCfnDataSet.UnpivotOperationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()getAlias()Alias for this operation.The list of columns to unpivot from the source data.The source transform operation that provides input data for unpivoting.A unique identifier for the new column that will contain the unpivoted column names.The name for the new column that will contain the unpivoted column names.A unique identifier for the new column that will contain the unpivoted values.The name for the new column that will contain the unpivoted values.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAlias
Alias for this operation.- See Also:
-
getColumnsToUnpivot
The list of columns to unpivot from the source data.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnDataSet.ColumnToUnpivotProperty>- See Also:
-
getSource
The source transform operation that provides input data for unpivoting.Returns union: either
IResolvableorCfnDataSet.TransformOperationSourceProperty- See Also:
-
getUnpivotedLabelColumnId
A unique identifier for the new column that will contain the unpivoted column names.- See Also:
-
getUnpivotedLabelColumnName
The name for the new column that will contain the unpivoted column names.- See Also:
-
getUnpivotedValueColumnId
A unique identifier for the new column that will contain the unpivoted values.- See Also:
-
getUnpivotedValueColumnName
The name for the new column that will contain the unpivoted values.- See Also:
-
builder
-