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)


2172
2173
2174
2175
2176
2177
2178
2179
# File 'gems/aws-sdk-s3tables/lib/aws-sdk-s3tables/types.rb', line 2172

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

#nameString

The name of the field.

Returns:

  • (String)


2172
2173
2174
2175
2176
2177
2178
2179
# File 'gems/aws-sdk-s3tables/lib/aws-sdk-s3tables/types.rb', line 2172

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)


2172
2173
2174
2175
2176
2177
2178
2179
# File 'gems/aws-sdk-s3tables/lib/aws-sdk-s3tables/types.rb', line 2172

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)


2172
2173
2174
2175
2176
2177
2178
2179
# File 'gems/aws-sdk-s3tables/lib/aws-sdk-s3tables/types.rb', line 2172

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