You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::QuickSight::Types::TransformOperation
- Inherits:
-
Struct
- Object
- Struct
- Aws::QuickSight::Types::TransformOperation
- Defined in:
- (unknown)
Overview
When passing TransformOperation as input to an Aws::Client method, you can use a vanilla Hash:
{
project_operation: {
projected_columns: ["String"], # required
},
filter_operation: {
condition_expression: "Expression", # required
},
create_columns_operation: {
columns: [ # required
{
column_name: "ColumnName", # required
column_id: "ColumnId", # required
expression: "Expression", # required
},
],
},
rename_column_operation: {
column_name: "ColumnName", # required
new_column_name: "ColumnName", # required
},
cast_column_type_operation: {
column_name: "ColumnName", # required
new_column_type: "STRING", # required, accepts STRING, INTEGER, DECIMAL, DATETIME
format: "TypeCastFormat",
},
tag_column_operation: {
column_name: "ColumnName", # required
tags: [ # required
{
column_geographic_role: "COUNTRY", # accepts COUNTRY, STATE, COUNTY, CITY, POSTCODE, LONGITUDE, LATITUDE
column_description: {
text: "ColumnDescriptiveText",
},
},
],
},
}
A data transformation on a logical table. This is a variant type structure. For this structure to be valid, only one of the attributes can be non-null.
Instance Attribute Summary collapse
-
#cast_column_type_operation ⇒ Types::CastColumnTypeOperation
A transform operation that casts a column to a different type.
-
#create_columns_operation ⇒ Types::CreateColumnsOperation
An operation that creates calculated columns.
-
#filter_operation ⇒ Types::FilterOperation
An operation that filters rows based on some condition.
-
#project_operation ⇒ Types::ProjectOperation
An operation that projects columns.
-
#rename_column_operation ⇒ Types::RenameColumnOperation
An operation that renames a column.
-
#tag_column_operation ⇒ Types::TagColumnOperation
An operation that tags a column with additional information.
Instance Attribute Details
#cast_column_type_operation ⇒ Types::CastColumnTypeOperation
A transform operation that casts a column to a different type.
#create_columns_operation ⇒ Types::CreateColumnsOperation
An operation that creates calculated columns. Columns created in one such operation form a lexical closure.
#filter_operation ⇒ Types::FilterOperation
An operation that filters rows based on some condition.
#project_operation ⇒ Types::ProjectOperation
An operation that projects columns. Operations that come after a projection can only refer to projected columns.
#rename_column_operation ⇒ Types::RenameColumnOperation
An operation that renames a column.
#tag_column_operation ⇒ Types::TagColumnOperation
An operation that tags a column with additional information.