Interface CfnDataSet.LogicalTableProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDataSet.LogicalTableProperty.Jsii$Proxy
- Enclosing class:
CfnDataSet
@Stability(Stable)
public static interface CfnDataSet.LogicalTableProperty
extends software.amazon.jsii.JsiiSerializable
A logical table is a unit that joins and that data transformations operate on.
A logical table has a source, which can be either a physical table or result of a join. When a logical table points to a physical table, the logical table acts as a mutable copy of that physical table through transform operations.
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.*;
LogicalTableProperty logicalTableProperty = LogicalTableProperty.builder()
.alias("alias")
// the properties below are optional
.dataTransforms(List.of(TransformOperationProperty.builder()
.castColumnTypeOperation(CastColumnTypeOperationProperty.builder()
.newColumnType("newColumnType")
// the properties below are optional
.columnName("columnName")
.format("format")
.subType("subType")
.build())
.createColumnsOperation(CreateColumnsOperationProperty.builder()
.columns(List.of(CalculatedColumnProperty.builder()
.columnId("columnId")
.columnName("columnName")
.expression("expression")
.build()))
.build())
.filterOperation(FilterOperationProperty.builder()
.conditionExpression("conditionExpression")
.build())
.overrideDatasetParameterOperation(OverrideDatasetParameterOperationProperty.builder()
.parameterName("parameterName")
// the properties below are optional
.newDefaultValues(NewDefaultValuesProperty.builder()
.dateTimeStaticValues(List.of("dateTimeStaticValues"))
.decimalStaticValues(List.of(123))
.integerStaticValues(List.of(123))
.stringStaticValues(List.of("stringStaticValues"))
.build())
.newParameterName("newParameterName")
.build())
.projectOperation(ProjectOperationProperty.builder()
.projectedColumns(List.of("projectedColumns"))
.build())
.renameColumnOperation(RenameColumnOperationProperty.builder()
.columnName("columnName")
.newColumnName("newColumnName")
.build())
.tagColumnOperation(TagColumnOperationProperty.builder()
.columnName("columnName")
.tags(List.of(ColumnTagProperty.builder()
.columnDescription(ColumnDescriptionProperty.builder()
.text("text")
.build())
.columnGeographicRole("columnGeographicRole")
.build()))
.build())
.untagColumnOperation(UntagColumnOperationProperty.builder()
.columnName("columnName")
.tagNames(List.of("tagNames"))
.build())
.build()))
.source(LogicalTableSourceProperty.builder()
.dataSetArn("dataSetArn")
.joinInstruction(JoinInstructionProperty.builder()
.leftOperand("leftOperand")
.onClause("onClause")
.rightOperand("rightOperand")
.type("type")
// the properties below are optional
.leftJoinKeyProperties(JoinKeyPropertiesProperty.builder()
.uniqueKey(false)
.build())
.rightJoinKeyProperties(JoinKeyPropertiesProperty.builder()
.uniqueKey(false)
.build())
.build())
.physicalTableId("physicalTableId")
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnDataSet.LogicalTablePropertystatic final classAn implementation forCfnDataSet.LogicalTableProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAlias
A display name for the logical table.- See Also:
-
getDataTransforms
Transform operations that act on this logical table.For this structure to be valid, only one of the attributes can be non-null.
Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnDataSet.TransformOperationProperty>- See Also:
-
getSource
Source of this logical table.Returns union: either
IResolvableorCfnDataSet.LogicalTableSourceProperty- See Also:
-
builder
-