Class: AWSCDK::QuickSight::CfnDataSet::LogicalTableProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnDataSet::LogicalTableProperty
- Defined in:
- quick_sight/cfn_data_set.rb
Overview
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.
Instance Attribute Summary collapse
-
#_alias ⇒ String
readonly
A display name for the logical table.
. -
#data_transforms ⇒ AWSCDK::IResolvable, ...
readonly
Transform operations that act on this logical table.
-
#source ⇒ AWSCDK::IResolvable, AWSCDK::QuickSight::CfnDataSet::LogicalTableSourceProperty
readonly
Information about the source of a logical table.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(_alias:, source:, data_transforms: nil) ⇒ LogicalTableProperty
constructor
A new instance of LogicalTableProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(_alias:, source:, data_transforms: nil) ⇒ LogicalTableProperty
Returns a new instance of LogicalTableProperty.
3899 3900 3901 3902 3903 3904 3905 3906 |
# File 'quick_sight/cfn_data_set.rb', line 3899 def initialize(_alias:, source:, data_transforms: nil) @_alias = _alias Jsii::Type.check_type(@_alias, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "alias") @source = source.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDataSet::LogicalTableSourceProperty.new(**source.transform_keys(&:to_sym)) : source Jsii::Type.check_type(@source, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhdGFTZXQuTG9naWNhbFRhYmxlU291cmNlUHJvcGVydHkifV19fQ==")), "source") @data_transforms = data_transforms Jsii::Type.check_type(@data_transforms, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfcXVpY2tzaWdodC5DZm5EYXRhU2V0LlRyYW5zZm9ybU9wZXJhdGlvblByb3BlcnR5In1dfX0sImtpbmQiOiJhcnJheSJ9fV19fQ==")), "dataTransforms") unless @data_transforms.nil? end |
Instance Attribute Details
#_alias ⇒ String (readonly)
A display name for the logical table.
.
3912 3913 3914 |
# File 'quick_sight/cfn_data_set.rb', line 3912 def _alias @_alias end |
#data_transforms ⇒ AWSCDK::IResolvable, ... (readonly)
Transform operations that act on this logical table. For this structure to be valid, only one of the attributes can be non-null.
3927 3928 3929 |
# File 'quick_sight/cfn_data_set.rb', line 3927 def data_transforms @data_transforms end |
#source ⇒ AWSCDK::IResolvable, AWSCDK::QuickSight::CfnDataSet::LogicalTableSourceProperty (readonly)
Information about the source of a logical table. This is a variant type structure. For this structure to be valid, only one of the attributes can be non-null.
3920 3921 3922 |
# File 'quick_sight/cfn_data_set.rb', line 3920 def source @source end |
Class Method Details
.jsii_properties ⇒ Object
3929 3930 3931 3932 3933 3934 3935 |
# File 'quick_sight/cfn_data_set.rb', line 3929 def self.jsii_properties { :_alias => "alias", :source => "source", :data_transforms => "dataTransforms", } end |
Instance Method Details
#to_jsii ⇒ Object
3937 3938 3939 3940 3941 3942 3943 3944 3945 |
# File 'quick_sight/cfn_data_set.rb', line 3937 def to_jsii result = {} result.merge!({ "alias" => @_alias, "source" => @source, "dataTransforms" => @data_transforms, }) result.compact end |