Class: Aws::S3Tables::Types::SchemaField

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

Overview

Contains details about a schema field.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#id ⇒ Integer

An optional unique identifier for the schema field. Field IDs are used by Apache Iceberg to track schema evolution and maintain compatibility across schema changes. If not specified, S3 Tables automatically assigns field IDs.

Returns:

  • (Integer)


3527
3528
3529
3530
3531
3532
3533
3534
# File 'gems/aws-sdk-s3tables/lib/aws-sdk-s3tables/types.rb', line 3527

class SchemaField < Struct.new(
  :id,
  :name,
  :type,
  :required)
  SENSITIVE = []
  include Aws::Structure
end

#name ⇒ String

The name of the field.

Returns:

  • (String)


3527
3528
3529
3530
3531
3532
3533
3534
# File 'gems/aws-sdk-s3tables/lib/aws-sdk-s3tables/types.rb', line 3527

class SchemaField < Struct.new(
  :id,
  :name,
  :type,
  :required)
  SENSITIVE = []
  include Aws::Structure
end

#required ⇒ Boolean

A Boolean value that specifies whether values are required for each row in this field. By default, this is false and null values are allowed in the field. If this is true the field does not allow null values.

Returns:

  • (Boolean)


3527
3528
3529
3530
3531
3532
3533
3534
# File 'gems/aws-sdk-s3tables/lib/aws-sdk-s3tables/types.rb', line 3527

class SchemaField < Struct.new(
  :id,
  :name,
  :type,
  :required)
  SENSITIVE = []
  include Aws::Structure
end

#type ⇒ String

The field type. S3 Tables supports all Apache Iceberg primitive types. For more information, see the Apache Iceberg documentation.

Returns:

  • (String)


3527
3528
3529
3530
3531
3532
3533
3534
# File 'gems/aws-sdk-s3tables/lib/aws-sdk-s3tables/types.rb', line 3527

class SchemaField < Struct.new(
  :id,
  :name,
  :type,
  :required)
  SENSITIVE = []
  include Aws::Structure
end