Class: Aws::S3Tables::Types::IcebergSchemaV2

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-s3tables/lib/aws-sdk-s3tables/types.rb

Overview

Contains details about the schema for an Iceberg table. This schema format supports nested and complex data types such as struct, list, and map, in addition to primitive types.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#fields ⇒ Array<Types::SchemaV2Field>

The schema fields for the table. Each field defines a column in the table, including its name, type, and whether it is required.

Returns:



1858
1859
1860
1861
1862
1863
1864
1865
# File 'gems/aws-sdk-s3tables/lib/aws-sdk-s3tables/types.rb', line 1858

class IcebergSchemaV2 < Struct.new(
  :type,
  :fields,
  :schema_id,
  :identifier_field_ids)
  SENSITIVE = []
  include Aws::Structure
end

#identifier_field_ids ⇒ Array<Integer>

The IDs of the fields that uniquely identify each row in the table.

Returns:

  • (Array<Integer>)


1858
1859
1860
1861
1862
1863
1864
1865
# File 'gems/aws-sdk-s3tables/lib/aws-sdk-s3tables/types.rb', line 1858

class IcebergSchemaV2 < Struct.new(
  :type,
  :fields,
  :schema_id,
  :identifier_field_ids)
  SENSITIVE = []
  include Aws::Structure
end

#schema_id ⇒ Integer

An optional ID for the schema. Apache Iceberg uses schema IDs to track schema evolution.

Returns:

  • (Integer)


1858
1859
1860
1861
1862
1863
1864
1865
# File 'gems/aws-sdk-s3tables/lib/aws-sdk-s3tables/types.rb', line 1858

class IcebergSchemaV2 < Struct.new(
  :type,
  :fields,
  :schema_id,
  :identifier_field_ids)
  SENSITIVE = []
  include Aws::Structure
end

#type ⇒ String

The type of the top-level schema, which is always a struct type as defined in the Apache Iceberg specification. This value must be struct.

Returns:

  • (String)


1858
1859
1860
1861
1862
1863
1864
1865
# File 'gems/aws-sdk-s3tables/lib/aws-sdk-s3tables/types.rb', line 1858

class IcebergSchemaV2 < Struct.new(
  :type,
  :fields,
  :schema_id,
  :identifier_field_ids)
  SENSITIVE = []
  include Aws::Structure
end