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

#idInteger

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)


2120
2121
2122
2123
2124
2125
2126
2127
# File 'gems/aws-sdk-s3tables/lib/aws-sdk-s3tables/types.rb', line 2120

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

#nameString

The name of the field.

Returns:

  • (String)


2120
2121
2122
2123
2124
2125
2126
2127
# File 'gems/aws-sdk-s3tables/lib/aws-sdk-s3tables/types.rb', line 2120

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

#requiredBoolean

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)


2120
2121
2122
2123
2124
2125
2126
2127
# File 'gems/aws-sdk-s3tables/lib/aws-sdk-s3tables/types.rb', line 2120

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

#typeString

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

Returns:

  • (String)


2120
2121
2122
2123
2124
2125
2126
2127
# File 'gems/aws-sdk-s3tables/lib/aws-sdk-s3tables/types.rb', line 2120

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