Interface IcebergSchema.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<IcebergSchema.Builder,
,IcebergSchema> SdkBuilder<IcebergSchema.Builder,
,IcebergSchema> SdkPojo
- Enclosing class:
IcebergSchema
-
Method Summary
Modifier and TypeMethodDescriptionfields
(Collection<IcebergStructField> fields) The list of field definitions that make up the table schema, including field names, types, and metadata.fields
(Consumer<IcebergStructField.Builder>... fields) The list of field definitions that make up the table schema, including field names, types, and metadata.fields
(IcebergStructField... fields) The list of field definitions that make up the table schema, including field names, types, and metadata.identifierFieldIds
(Integer... identifierFieldIds) The list of field identifiers that uniquely identify records in the table, used for row-level operations and deduplication.identifierFieldIds
(Collection<Integer> identifierFieldIds) The list of field identifiers that uniquely identify records in the table, used for row-level operations and deduplication.The unique identifier for this schema version within the Iceberg table's schema evolution history.The root type of the schema structure, typically "struct" for Iceberg table schemas.type
(IcebergStructTypeEnum type) The root type of the schema structure, typically "struct" for Iceberg table schemas.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
schemaId
The unique identifier for this schema version within the Iceberg table's schema evolution history.
- Parameters:
schemaId
- The unique identifier for this schema version within the Iceberg table's schema evolution history.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
identifierFieldIds
The list of field identifiers that uniquely identify records in the table, used for row-level operations and deduplication.
- Parameters:
identifierFieldIds
- The list of field identifiers that uniquely identify records in the table, used for row-level operations and deduplication.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
identifierFieldIds
The list of field identifiers that uniquely identify records in the table, used for row-level operations and deduplication.
- Parameters:
identifierFieldIds
- The list of field identifiers that uniquely identify records in the table, used for row-level operations and deduplication.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
The root type of the schema structure, typically "struct" for Iceberg table schemas.
- Parameters:
type
- The root type of the schema structure, typically "struct" for Iceberg table schemas.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The root type of the schema structure, typically "struct" for Iceberg table schemas.
- Parameters:
type
- The root type of the schema structure, typically "struct" for Iceberg table schemas.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
fields
The list of field definitions that make up the table schema, including field names, types, and metadata.
- Parameters:
fields
- The list of field definitions that make up the table schema, including field names, types, and metadata.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fields
The list of field definitions that make up the table schema, including field names, types, and metadata.
- Parameters:
fields
- The list of field definitions that make up the table schema, including field names, types, and metadata.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fields
The list of field definitions that make up the table schema, including field names, types, and metadata.
This is a convenience method that creates an instance of theIcebergStructField.Builder
avoiding the need to create one manually viaIcebergStructField.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofields(List<IcebergStructField>)
.- Parameters:
fields
- a consumer that will call methods onIcebergStructField.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-