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 using the V2 format. 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:



1756
1757
1758
1759
1760
1761
1762
1763
# File 'gems/aws-sdk-s3tables/lib/aws-sdk-s3tables/types.rb', line 1756

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

#identifier_field_ids ⇒ Array<Integer>

A list of field IDs that are used as the identifier fields for the table. Identifier fields uniquely identify a row in the table.

Returns:

  • (Array<Integer>)


1756
1757
1758
1759
1760
1761
1762
1763
# File 'gems/aws-sdk-s3tables/lib/aws-sdk-s3tables/types.rb', line 1756

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

#schema_id ⇒ Integer

An optional unique identifier for the schema. Schema IDs are used by Apache Iceberg to track schema evolution.

Returns:

  • (Integer)


1756
1757
1758
1759
1760
1761
1762
1763
# File 'gems/aws-sdk-s3tables/lib/aws-sdk-s3tables/types.rb', line 1756

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)


1756
1757
1758
1759
1760
1761
1762
1763
# File 'gems/aws-sdk-s3tables/lib/aws-sdk-s3tables/types.rb', line 1756

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