Class: AWSCDK::CleanRooms::CfnConfiguredTable::AggregationConstraintProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::CleanRooms::CfnConfiguredTable::AggregationConstraintProperty
- Defined in:
- clean_rooms/cfn_configured_table.rb
Overview
Constraint on query output removing output rows that do not meet a minimum number of distinct values of a specified column.
Instance Attribute Summary collapse
-
#column_name ⇒ String
readonly
Column in aggregation constraint for which there must be a minimum number of distinct values in an output row for it to be in the query output.
-
#minimum ⇒ Numeric
readonly
The minimum number of distinct values that an output row must be an aggregation of.
-
#type ⇒ String
readonly
The type of aggregation the constraint allows.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(column_name:, minimum:, type:) ⇒ AggregationConstraintProperty
constructor
A new instance of AggregationConstraintProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(column_name:, minimum:, type:) ⇒ AggregationConstraintProperty
Returns a new instance of AggregationConstraintProperty.
666 667 668 669 670 671 672 673 |
# File 'clean_rooms/cfn_configured_table.rb', line 666 def initialize(column_name:, minimum:, type:) @column_name = column_name Jsii::Type.check_type(@column_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "columnName") @minimum = minimum Jsii::Type.check_type(@minimum, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "minimum") @type = type Jsii::Type.check_type(@type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "type") end |
Instance Attribute Details
#column_name ⇒ String (readonly)
Column in aggregation constraint for which there must be a minimum number of distinct values in an output row for it to be in the query output.
679 680 681 |
# File 'clean_rooms/cfn_configured_table.rb', line 679 def column_name @column_name end |
#minimum ⇒ Numeric (readonly)
The minimum number of distinct values that an output row must be an aggregation of.
Minimum threshold of distinct values for a specified column that must exist in an output row for it to be in the query output.
686 687 688 |
# File 'clean_rooms/cfn_configured_table.rb', line 686 def minimum @minimum end |
#type ⇒ String (readonly)
The type of aggregation the constraint allows.
The only valid value is currently COUNT_DISTINCT.
693 694 695 |
# File 'clean_rooms/cfn_configured_table.rb', line 693 def type @type end |
Class Method Details
.jsii_properties ⇒ Object
695 696 697 698 699 700 701 |
# File 'clean_rooms/cfn_configured_table.rb', line 695 def self.jsii_properties { :column_name => "columnName", :minimum => "minimum", :type => "type", } end |
Instance Method Details
#to_jsii ⇒ Object
703 704 705 706 707 708 709 710 711 |
# File 'clean_rooms/cfn_configured_table.rb', line 703 def to_jsii result = {} result.merge!({ "columnName" => @column_name, "minimum" => @minimum, "type" => @type, }) result.compact end |