Class CfnDataSet.TransformOperationProperty
A data transformation on a logical table.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.QuickSight
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class TransformOperationProperty : Object, CfnDataSet.ITransformOperationProperty
Syntax (vb)
Public Class TransformOperationProperty
Inherits Object
Implements CfnDataSet.ITransformOperationProperty
Remarks
This is a variant type structure. For this structure to be valid, only one of the attributes can be non-null.
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 transformOperationProperty = new TransformOperationProperty {
CastColumnTypeOperation = new CastColumnTypeOperationProperty {
ColumnName = "columnName",
NewColumnType = "newColumnType",
// the properties below are optional
Format = "format",
SubType = "subType"
},
CreateColumnsOperation = new CreateColumnsOperationProperty {
Columns = new [] { new CalculatedColumnProperty {
ColumnId = "columnId",
ColumnName = "columnName",
Expression = "expression"
} }
},
FilterOperation = new FilterOperationProperty {
ConditionExpression = "conditionExpression"
},
OverrideDatasetParameterOperation = new OverrideDatasetParameterOperationProperty {
ParameterName = "parameterName",
// the properties below are optional
NewDefaultValues = new NewDefaultValuesProperty {
DateTimeStaticValues = new [] { "dateTimeStaticValues" },
DecimalStaticValues = new [] { 123 },
IntegerStaticValues = new [] { 123 },
StringStaticValues = new [] { "stringStaticValues" }
},
NewParameterName = "newParameterName"
},
ProjectOperation = new ProjectOperationProperty {
ProjectedColumns = new [] { "projectedColumns" }
},
RenameColumnOperation = new RenameColumnOperationProperty {
ColumnName = "columnName",
NewColumnName = "newColumnName"
},
TagColumnOperation = new TagColumnOperationProperty {
ColumnName = "columnName",
Tags = new [] { new ColumnTagProperty {
ColumnDescription = new ColumnDescriptionProperty {
Text = "text"
},
ColumnGeographicRole = "columnGeographicRole"
} }
},
UntagColumnOperation = new UntagColumnOperationProperty {
ColumnName = "columnName",
TagNames = new [] { "tagNames" }
}
};
Synopsis
Constructors
Transform |
Properties
Cast |
A transform operation that casts a column to a different type. |
Create |
An operation that creates calculated columns. |
Filter |
An operation that filters rows based on some condition. |
Override |
A transform operation that overrides the dataset parameter values that are defined in another dataset. |
Project |
An operation that projects columns. |
Rename |
An operation that renames a column. |
Tag |
An operation that tags a column with additional information. |
Untag |
<p>A transform operation that removes tags associated with a column.</p>. |
Constructors
TransformOperationProperty()
public TransformOperationProperty()
Properties
CastColumnTypeOperation
A transform operation that casts a column to a different type.
public object CastColumnTypeOperation { get; set; }
Property Value
System.
Remarks
CreateColumnsOperation
An operation that creates calculated columns.
public object CreateColumnsOperation { get; set; }
Property Value
System.
Remarks
Columns created in one such operation form a lexical closure.
FilterOperation
An operation that filters rows based on some condition.
public object FilterOperation { get; set; }
Property Value
System.
Remarks
OverrideDatasetParameterOperation
A transform operation that overrides the dataset parameter values that are defined in another dataset.
public object OverrideDatasetParameterOperation { get; set; }
Property Value
System.
Remarks
ProjectOperation
An operation that projects columns.
public object ProjectOperation { get; set; }
Property Value
System.
Remarks
Operations that come after a projection can only refer to projected columns.
RenameColumnOperation
An operation that renames a column.
public object RenameColumnOperation { get; set; }
Property Value
System.
Remarks
TagColumnOperation
An operation that tags a column with additional information.
public object TagColumnOperation { get; set; }
Property Value
System.
Remarks
UntagColumnOperation
<p>A transform operation that removes tags associated with a column.</p>.
public object UntagColumnOperation { get; set; }
Property Value
System.