Class: AWSCDK::QuickSight::CfnDataSet::JoinOperationProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
quick_sight/cfn_data_set.rb

Overview

A transform operation that combines data from two sources based on specified join conditions.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(_alias:, left_operand:, on_clause:, right_operand:, type:, left_operand_properties: nil, right_operand_properties: nil) ⇒ JoinOperationProperty

Returns a new instance of JoinOperationProperty.

Parameters:



3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
# File 'quick_sight/cfn_data_set.rb', line 3806

def initialize(_alias:, left_operand:, on_clause:, right_operand:, type:, left_operand_properties: nil, right_operand_properties: nil)
  @_alias = _alias
  Jsii::Type.check_type(@_alias, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "alias")
  @left_operand = left_operand.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDataSet::TransformOperationSourceProperty.new(**left_operand.transform_keys(&:to_sym)) : left_operand
  Jsii::Type.check_type(@left_operand, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhdGFTZXQuVHJhbnNmb3JtT3BlcmF0aW9uU291cmNlUHJvcGVydHkifV19fQ==")), "leftOperand")
  @on_clause = on_clause
  Jsii::Type.check_type(@on_clause, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "onClause")
  @right_operand = right_operand.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDataSet::TransformOperationSourceProperty.new(**right_operand.transform_keys(&:to_sym)) : right_operand
  Jsii::Type.check_type(@right_operand, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhdGFTZXQuVHJhbnNmb3JtT3BlcmF0aW9uU291cmNlUHJvcGVydHkifV19fQ==")), "rightOperand")
  @type = type
  Jsii::Type.check_type(@type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "type")
  @left_operand_properties = left_operand_properties.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDataSet::JoinOperandPropertiesProperty.new(**left_operand_properties.transform_keys(&:to_sym)) : left_operand_properties
  Jsii::Type.check_type(@left_operand_properties, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhdGFTZXQuSm9pbk9wZXJhbmRQcm9wZXJ0aWVzUHJvcGVydHkifV19fQ==")), "leftOperandProperties") unless @left_operand_properties.nil?
  @right_operand_properties = right_operand_properties.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDataSet::JoinOperandPropertiesProperty.new(**right_operand_properties.transform_keys(&:to_sym)) : right_operand_properties
  Jsii::Type.check_type(@right_operand_properties, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhdGFTZXQuSm9pbk9wZXJhbmRQcm9wZXJ0aWVzUHJvcGVydHkifV19fQ==")), "rightOperandProperties") unless @right_operand_properties.nil?
end

Instance Attribute Details

#_aliasString (readonly)

Alias for this operation.



3827
3828
3829
# File 'quick_sight/cfn_data_set.rb', line 3827

def _alias
  @_alias
end

#left_operand_propertiesAWSCDK::IResolvable, ... (readonly)

Properties that control how the left operand's columns are handled in the join result.



3852
3853
3854
# File 'quick_sight/cfn_data_set.rb', line 3852

def left_operand_properties
  @left_operand_properties
end

#on_clauseString (readonly)

The join condition that specifies how to match rows between the left and right operands.



3837
3838
3839
# File 'quick_sight/cfn_data_set.rb', line 3837

def on_clause
  @on_clause
end

#right_operand_propertiesAWSCDK::IResolvable, ... (readonly)

Properties that control how the right operand's columns are handled in the join result.



3857
3858
3859
# File 'quick_sight/cfn_data_set.rb', line 3857

def right_operand_properties
  @right_operand_properties
end

#typeString (readonly)

The type of join to perform, such as INNER , LEFT , RIGHT , or OUTER .



3847
3848
3849
# File 'quick_sight/cfn_data_set.rb', line 3847

def type
  @type
end

Class Method Details

.jsii_propertiesObject



3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
# File 'quick_sight/cfn_data_set.rb', line 3859

def self.jsii_properties
  {
    :_alias => "alias",
    :left_operand => "leftOperand",
    :on_clause => "onClause",
    :right_operand => "rightOperand",
    :type => "type",
    :left_operand_properties => "leftOperandProperties",
    :right_operand_properties => "rightOperandProperties",
  }
end

Instance Method Details

#to_jsiiObject



3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
# File 'quick_sight/cfn_data_set.rb', line 3871

def to_jsii
  result = {}
  result.merge!({
    "alias" => @_alias,
    "leftOperand" => @left_operand,
    "onClause" => @on_clause,
    "rightOperand" => @right_operand,
    "type" => @type,
    "leftOperandProperties" => @left_operand_properties,
    "rightOperandProperties" => @right_operand_properties,
  })
  result.compact
end