Class: AWSCDK::QuickSight::CfnDataSet::JoinInstructionProperty

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

Overview

The instructions associated with a join.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(left_operand:, on_clause:, right_operand:, type:, left_join_key_properties: nil, right_join_key_properties: nil) ⇒ JoinInstructionProperty

Returns a new instance of JoinInstructionProperty.

Parameters:



3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
# File 'quick_sight/cfn_data_set.rb', line 3654

def initialize(left_operand:, on_clause:, right_operand:, type:, left_join_key_properties: nil, right_join_key_properties: nil)
  @left_operand = left_operand
  Jsii::Type.check_type(@left_operand, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "leftOperand")
  @on_clause = on_clause
  Jsii::Type.check_type(@on_clause, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "onClause")
  @right_operand = right_operand
  Jsii::Type.check_type(@right_operand, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "rightOperand")
  @type = type
  Jsii::Type.check_type(@type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "type")
  @left_join_key_properties = left_join_key_properties.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDataSet::JoinKeyPropertiesProperty.new(**left_join_key_properties.transform_keys(&:to_sym)) : left_join_key_properties
  Jsii::Type.check_type(@left_join_key_properties, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhdGFTZXQuSm9pbktleVByb3BlcnRpZXNQcm9wZXJ0eSJ9XX19")), "leftJoinKeyProperties") unless @left_join_key_properties.nil?
  @right_join_key_properties = right_join_key_properties.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDataSet::JoinKeyPropertiesProperty.new(**right_join_key_properties.transform_keys(&:to_sym)) : right_join_key_properties
  Jsii::Type.check_type(@right_join_key_properties, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhdGFTZXQuSm9pbktleVByb3BlcnRpZXNQcm9wZXJ0eSJ9XX19")), "rightJoinKeyProperties") unless @right_join_key_properties.nil?
end

Instance Attribute Details

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

Join key properties of the left operand.



3693
3694
3695
# File 'quick_sight/cfn_data_set.rb', line 3693

def left_join_key_properties
  @left_join_key_properties
end

#left_operandString (readonly)

The operand on the left side of a join.



3673
3674
3675
# File 'quick_sight/cfn_data_set.rb', line 3673

def left_operand
  @left_operand
end

#on_clauseString (readonly)

The join instructions provided in the ON clause of a join.



3678
3679
3680
# File 'quick_sight/cfn_data_set.rb', line 3678

def on_clause
  @on_clause
end

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

Join key properties of the right operand.



3698
3699
3700
# File 'quick_sight/cfn_data_set.rb', line 3698

def right_join_key_properties
  @right_join_key_properties
end

#right_operandString (readonly)

The operand on the right side of a join.



3683
3684
3685
# File 'quick_sight/cfn_data_set.rb', line 3683

def right_operand
  @right_operand
end

#typeString (readonly)

The type of join that it is.



3688
3689
3690
# File 'quick_sight/cfn_data_set.rb', line 3688

def type
  @type
end

Class Method Details

.jsii_propertiesObject



3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
# File 'quick_sight/cfn_data_set.rb', line 3700

def self.jsii_properties
  {
    :left_operand => "leftOperand",
    :on_clause => "onClause",
    :right_operand => "rightOperand",
    :type => "type",
    :left_join_key_properties => "leftJoinKeyProperties",
    :right_join_key_properties => "rightJoinKeyProperties",
  }
end

Instance Method Details

#to_jsiiObject



3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
# File 'quick_sight/cfn_data_set.rb', line 3711

def to_jsii
  result = {}
  result.merge!({
    "leftOperand" => @left_operand,
    "onClause" => @on_clause,
    "rightOperand" => @right_operand,
    "type" => @type,
    "leftJoinKeyProperties" => @left_join_key_properties,
    "rightJoinKeyProperties" => @right_join_key_properties,
  })
  result.compact
end