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

#fieldsArray<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:



1364
1365
1366
1367
1368
1369
1370
1371
# File 'gems/aws-sdk-s3tables/lib/aws-sdk-s3tables/types.rb', line 1364

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

#identifier_field_idsArray<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>)


1364
1365
1366
1367
1368
1369
1370
1371
# File 'gems/aws-sdk-s3tables/lib/aws-sdk-s3tables/types.rb', line 1364

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

#schema_idInteger

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

Returns:

  • (Integer)


1364
1365
1366
1367
1368
1369
1370
1371
# File 'gems/aws-sdk-s3tables/lib/aws-sdk-s3tables/types.rb', line 1364

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

#typeString

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)


1364
1365
1366
1367
1368
1369
1370
1371
# File 'gems/aws-sdk-s3tables/lib/aws-sdk-s3tables/types.rb', line 1364

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