Class: AWSCDK::QuickSight::CfnDataSet::TransformStepProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnDataSet::TransformStepProperty
- Defined in:
- quick_sight/cfn_data_set.rb
Overview
A step in data preparation that performs a specific operation on the data.
Instance Attribute Summary collapse
-
#aggregate_step ⇒ AWSCDK::IResolvable, ...
readonly
A transform step that groups data and applies aggregation functions to calculate summary values.
-
#append_step ⇒ AWSCDK::IResolvable, ...
readonly
A transform step that combines rows from multiple sources by stacking them vertically.
-
#cast_column_types_step ⇒ AWSCDK::IResolvable, ...
readonly
A transform step that changes the data types of one or more columns.
-
#create_columns_step ⇒ AWSCDK::IResolvable, ...
readonly
A transform operation that creates calculated columns.
-
#filters_step ⇒ AWSCDK::IResolvable, ...
readonly
A transform step that applies filter conditions.
-
#import_table_step ⇒ AWSCDK::IResolvable, ...
readonly
A transform step that brings data from a source table.
-
#join_step ⇒ AWSCDK::IResolvable, ...
readonly
A transform step that combines data from two sources based on specified join conditions.
-
#pivot_step ⇒ AWSCDK::IResolvable, ...
readonly
A transform step that converts row values into columns to reshape the data structure.
-
#project_step ⇒ AWSCDK::IResolvable, ...
readonly
A transform operation that projects columns.
-
#rename_columns_step ⇒ AWSCDK::IResolvable, ...
readonly
A transform step that changes the names of one or more columns.
-
#unpivot_step ⇒ AWSCDK::IResolvable, ...
readonly
A transform step that converts columns into rows to normalize the data structure.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(aggregate_step: nil, append_step: nil, cast_column_types_step: nil, create_columns_step: nil, filters_step: nil, import_table_step: nil, join_step: nil, pivot_step: nil, project_step: nil, rename_columns_step: nil, unpivot_step: nil) ⇒ TransformStepProperty
constructor
A new instance of TransformStepProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(aggregate_step: nil, append_step: nil, cast_column_types_step: nil, create_columns_step: nil, filters_step: nil, import_table_step: nil, join_step: nil, pivot_step: nil, project_step: nil, rename_columns_step: nil, unpivot_step: nil) ⇒ TransformStepProperty
Returns a new instance of TransformStepProperty.
5905 5906 5907 5908 5909 5910 5911 5912 5913 5914 5915 5916 5917 5918 5919 5920 5921 5922 5923 5924 5925 5926 5927 5928 |
# File 'quick_sight/cfn_data_set.rb', line 5905 def initialize(aggregate_step: nil, append_step: nil, cast_column_types_step: nil, create_columns_step: nil, filters_step: nil, import_table_step: nil, join_step: nil, pivot_step: nil, project_step: nil, rename_columns_step: nil, unpivot_step: nil) @aggregate_step = aggregate_step.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDataSet::AggregateOperationProperty.new(**aggregate_step.transform_keys(&:to_sym)) : aggregate_step Jsii::Type.check_type(@aggregate_step, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhdGFTZXQuQWdncmVnYXRlT3BlcmF0aW9uUHJvcGVydHkifV19fQ==")), "aggregateStep") unless @aggregate_step.nil? @append_step = append_step.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDataSet::AppendOperationProperty.new(**append_step.transform_keys(&:to_sym)) : append_step Jsii::Type.check_type(@append_step, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhdGFTZXQuQXBwZW5kT3BlcmF0aW9uUHJvcGVydHkifV19fQ==")), "appendStep") unless @append_step.nil? @cast_column_types_step = cast_column_types_step.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDataSet::CastColumnTypesOperationProperty.new(**cast_column_types_step.transform_keys(&:to_sym)) : cast_column_types_step Jsii::Type.check_type(@cast_column_types_step, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhdGFTZXQuQ2FzdENvbHVtblR5cGVzT3BlcmF0aW9uUHJvcGVydHkifV19fQ==")), "castColumnTypesStep") unless @cast_column_types_step.nil? @create_columns_step = create_columns_step.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDataSet::CreateColumnsOperationProperty.new(**create_columns_step.transform_keys(&:to_sym)) : create_columns_step Jsii::Type.check_type(@create_columns_step, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhdGFTZXQuQ3JlYXRlQ29sdW1uc09wZXJhdGlvblByb3BlcnR5In1dfX0=")), "createColumnsStep") unless @create_columns_step.nil? @filters_step = filters_step.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDataSet::FiltersOperationProperty.new(**filters_step.transform_keys(&:to_sym)) : filters_step Jsii::Type.check_type(@filters_step, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhdGFTZXQuRmlsdGVyc09wZXJhdGlvblByb3BlcnR5In1dfX0=")), "filtersStep") unless @filters_step.nil? @import_table_step = import_table_step.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDataSet::ImportTableOperationProperty.new(**import_table_step.transform_keys(&:to_sym)) : import_table_step Jsii::Type.check_type(@import_table_step, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhdGFTZXQuSW1wb3J0VGFibGVPcGVyYXRpb25Qcm9wZXJ0eSJ9XX19")), "importTableStep") unless @import_table_step.nil? @join_step = join_step.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDataSet::JoinOperationProperty.new(**join_step.transform_keys(&:to_sym)) : join_step Jsii::Type.check_type(@join_step, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhdGFTZXQuSm9pbk9wZXJhdGlvblByb3BlcnR5In1dfX0=")), "joinStep") unless @join_step.nil? @pivot_step = pivot_step.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDataSet::PivotOperationProperty.new(**pivot_step.transform_keys(&:to_sym)) : pivot_step Jsii::Type.check_type(@pivot_step, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhdGFTZXQuUGl2b3RPcGVyYXRpb25Qcm9wZXJ0eSJ9XX19")), "pivotStep") unless @pivot_step.nil? @project_step = project_step.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDataSet::ProjectOperationProperty.new(**project_step.transform_keys(&:to_sym)) : project_step Jsii::Type.check_type(@project_step, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhdGFTZXQuUHJvamVjdE9wZXJhdGlvblByb3BlcnR5In1dfX0=")), "projectStep") unless @project_step.nil? @rename_columns_step = rename_columns_step.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDataSet::RenameColumnsOperationProperty.new(**rename_columns_step.transform_keys(&:to_sym)) : rename_columns_step Jsii::Type.check_type(@rename_columns_step, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhdGFTZXQuUmVuYW1lQ29sdW1uc09wZXJhdGlvblByb3BlcnR5In1dfX0=")), "renameColumnsStep") unless @rename_columns_step.nil? @unpivot_step = unpivot_step.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDataSet::UnpivotOperationProperty.new(**unpivot_step.transform_keys(&:to_sym)) : unpivot_step Jsii::Type.check_type(@unpivot_step, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhdGFTZXQuVW5waXZvdE9wZXJhdGlvblByb3BlcnR5In1dfX0=")), "unpivotStep") unless @unpivot_step.nil? end |
Instance Attribute Details
#aggregate_step ⇒ AWSCDK::IResolvable, ... (readonly)
A transform step that groups data and applies aggregation functions to calculate summary values.
5934 5935 5936 |
# File 'quick_sight/cfn_data_set.rb', line 5934 def aggregate_step @aggregate_step end |
#append_step ⇒ AWSCDK::IResolvable, ... (readonly)
A transform step that combines rows from multiple sources by stacking them vertically.
5939 5940 5941 |
# File 'quick_sight/cfn_data_set.rb', line 5939 def append_step @append_step end |
#cast_column_types_step ⇒ AWSCDK::IResolvable, ... (readonly)
A transform step that changes the data types of one or more columns.
5944 5945 5946 |
# File 'quick_sight/cfn_data_set.rb', line 5944 def cast_column_types_step @cast_column_types_step end |
#create_columns_step ⇒ AWSCDK::IResolvable, ... (readonly)
A transform operation that creates calculated columns. Columns created in one such operation form a lexical closure.
5952 5953 5954 |
# File 'quick_sight/cfn_data_set.rb', line 5952 def create_columns_step @create_columns_step end |
#filters_step ⇒ AWSCDK::IResolvable, ... (readonly)
A transform step that applies filter conditions.
5957 5958 5959 |
# File 'quick_sight/cfn_data_set.rb', line 5957 def filters_step @filters_step end |
#import_table_step ⇒ AWSCDK::IResolvable, ... (readonly)
A transform step that brings data from a source table.
5962 5963 5964 |
# File 'quick_sight/cfn_data_set.rb', line 5962 def import_table_step @import_table_step end |
#join_step ⇒ AWSCDK::IResolvable, ... (readonly)
A transform step that combines data from two sources based on specified join conditions.
5967 5968 5969 |
# File 'quick_sight/cfn_data_set.rb', line 5967 def join_step @join_step end |
#pivot_step ⇒ AWSCDK::IResolvable, ... (readonly)
A transform step that converts row values into columns to reshape the data structure.
5972 5973 5974 |
# File 'quick_sight/cfn_data_set.rb', line 5972 def pivot_step @pivot_step end |
#project_step ⇒ AWSCDK::IResolvable, ... (readonly)
A transform operation that projects columns. Operations that come after a projection can only refer to projected columns.
5980 5981 5982 |
# File 'quick_sight/cfn_data_set.rb', line 5980 def project_step @project_step end |
#rename_columns_step ⇒ AWSCDK::IResolvable, ... (readonly)
A transform step that changes the names of one or more columns.
5985 5986 5987 |
# File 'quick_sight/cfn_data_set.rb', line 5985 def rename_columns_step @rename_columns_step end |
#unpivot_step ⇒ AWSCDK::IResolvable, ... (readonly)
A transform step that converts columns into rows to normalize the data structure.
5990 5991 5992 |
# File 'quick_sight/cfn_data_set.rb', line 5990 def unpivot_step @unpivot_step end |
Class Method Details
.jsii_properties ⇒ Object
5992 5993 5994 5995 5996 5997 5998 5999 6000 6001 6002 6003 6004 6005 6006 |
# File 'quick_sight/cfn_data_set.rb', line 5992 def self.jsii_properties { :aggregate_step => "aggregateStep", :append_step => "appendStep", :cast_column_types_step => "castColumnTypesStep", :create_columns_step => "createColumnsStep", :filters_step => "filtersStep", :import_table_step => "importTableStep", :join_step => "joinStep", :pivot_step => "pivotStep", :project_step => "projectStep", :rename_columns_step => "renameColumnsStep", :unpivot_step => "unpivotStep", } end |
Instance Method Details
#to_jsii ⇒ Object
6008 6009 6010 6011 6012 6013 6014 6015 6016 6017 6018 6019 6020 6021 6022 6023 6024 |
# File 'quick_sight/cfn_data_set.rb', line 6008 def to_jsii result = {} result.merge!({ "aggregateStep" => @aggregate_step, "appendStep" => @append_step, "castColumnTypesStep" => @cast_column_types_step, "createColumnsStep" => @create_columns_step, "filtersStep" => @filters_step, "importTableStep" => @import_table_step, "joinStep" => @join_step, "pivotStep" => @pivot_step, "projectStep" => @project_step, "renameColumnsStep" => @rename_columns_step, "unpivotStep" => @unpivot_step, }) result.compact end |