Class: AWSCDK::S3Tables::CfnTable::IcebergPartitionSpecProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::S3Tables::CfnTable::IcebergPartitionSpecProperty
- Defined in:
- s3_tables/cfn_table.rb
Overview
Partition specification for an Iceberg table.
Instance Attribute Summary collapse
-
#fields ⇒ AWSCDK::IResolvable, Array<AWSCDK::IResolvable, AWSCDK::S3Tables::CfnTable::IcebergPartitionFieldProperty>
readonly
List of partition fields for an Iceberg table.
-
#spec_id ⇒ Numeric?
readonly
The partition spec ID (defaults to 0 if not specified).
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(fields:, spec_id: nil) ⇒ IcebergPartitionSpecProperty
constructor
A new instance of IcebergPartitionSpecProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(fields:, spec_id: nil) ⇒ IcebergPartitionSpecProperty
Returns a new instance of IcebergPartitionSpecProperty.
847 848 849 850 851 852 |
# File 's3_tables/cfn_table.rb', line 847 def initialize(fields:, spec_id: nil) @fields = fields Jsii::Type.check_type(@fields, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfczN0YWJsZXMuQ2ZuVGFibGUuSWNlYmVyZ1BhcnRpdGlvbkZpZWxkUHJvcGVydHkifV19fSwia2luZCI6ImFycmF5In19XX19")), "fields") @spec_id = spec_id Jsii::Type.check_type(@spec_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "specId") unless @spec_id.nil? end |
Instance Attribute Details
#fields ⇒ AWSCDK::IResolvable, Array<AWSCDK::IResolvable, AWSCDK::S3Tables::CfnTable::IcebergPartitionFieldProperty> (readonly)
List of partition fields for an Iceberg table.
858 859 860 |
# File 's3_tables/cfn_table.rb', line 858 def fields @fields end |
#spec_id ⇒ Numeric? (readonly)
The partition spec ID (defaults to 0 if not specified).
863 864 865 |
# File 's3_tables/cfn_table.rb', line 863 def spec_id @spec_id end |
Class Method Details
.jsii_properties ⇒ Object
865 866 867 868 869 870 |
# File 's3_tables/cfn_table.rb', line 865 def self.jsii_properties { :fields => "fields", :spec_id => "specId", } end |
Instance Method Details
#to_jsii ⇒ Object
872 873 874 875 876 877 878 879 |
# File 's3_tables/cfn_table.rb', line 872 def to_jsii result = {} result.merge!({ "fields" => @fields, "specId" => @spec_id, }) result.compact end |