Class CfnDataSet.CastColumnTypeOperationProperty
A transform operation that casts a column to a different type.
Inheritance
System.Object
CfnDataSet.CastColumnTypeOperationProperty
Implements
Namespace: Amazon.CDK.AWS.QuickSight
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CastColumnTypeOperationProperty : Object, CfnDataSet.ICastColumnTypeOperationProperty
Syntax (vb)
Public Class CastColumnTypeOperationProperty
Inherits Object
Implements CfnDataSet.ICastColumnTypeOperationProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.QuickSight;
var castColumnTypeOperationProperty = new CastColumnTypeOperationProperty {
ColumnName = "columnName",
NewColumnType = "newColumnType",
// the properties below are optional
Format = "format",
SubType = "subType"
};
Synopsis
Constructors
CastColumnTypeOperationProperty() |
Properties
ColumnName | Column name. |
Format | When casting a column from string to datetime type, you can supply a string in a format supported by Amazon QuickSight to denote the source data format. |
NewColumnType | New column data type. |
SubType | The sub data type of the new column. |
Constructors
CastColumnTypeOperationProperty()
public CastColumnTypeOperationProperty()
Properties
ColumnName
Column name.
public string ColumnName { get; set; }
Property Value
System.String
Remarks
Format
When casting a column from string to datetime type, you can supply a string in a format supported by Amazon QuickSight to denote the source data format.
public string Format { get; set; }
Property Value
System.String
Remarks
NewColumnType
New column data type.
public string NewColumnType { get; set; }
Property Value
System.String
Remarks
SubType
The sub data type of the new column.
public string SubType { get; set; }
Property Value
System.String
Remarks
Sub types are only available for decimal columns that are part of a SPICE dataset.