Interface IcebergMetadata.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<IcebergMetadata.Builder,,IcebergMetadata> SdkBuilder<IcebergMetadata.Builder,,IcebergMetadata> SdkPojo
- Enclosing class:
IcebergMetadata
-
Method Summary
Modifier and TypeMethodDescriptiondefault IcebergMetadata.BuilderpartitionSpec(Consumer<IcebergPartitionSpec.Builder> partitionSpec) The partition specification for the Iceberg table.partitionSpec(IcebergPartitionSpec partitionSpec) The partition specification for the Iceberg table.properties(Map<String, String> properties) A map of custom configuration properties for the Iceberg table.default IcebergMetadata.Builderschema(Consumer<IcebergSchema.Builder> schema) The schema for an Iceberg table.schema(IcebergSchema schema) The schema for an Iceberg table.default IcebergMetadata.BuilderwriteOrder(Consumer<IcebergSortOrder.Builder> writeOrder) The sort order for the Iceberg table.writeOrder(IcebergSortOrder writeOrder) The sort order for the Iceberg table.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
schema
The schema for an Iceberg table.
- Parameters:
schema- The schema for an Iceberg table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
schema
The schema for an Iceberg table.
This is a convenience method that creates an instance of theIcebergSchema.Builderavoiding the need to create one manually viaIcebergSchema.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toschema(IcebergSchema).- Parameters:
schema- a consumer that will call methods onIcebergSchema.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
partitionSpec
The partition specification for the Iceberg table. Partitioning organizes data into separate files based on the values of one or more fields, which can improve query performance by reducing the amount of data scanned. Each partition field applies a transform (such as identity, year, month, or bucket) to a single field.
- Parameters:
partitionSpec- The partition specification for the Iceberg table. Partitioning organizes data into separate files based on the values of one or more fields, which can improve query performance by reducing the amount of data scanned. Each partition field applies a transform (such as identity, year, month, or bucket) to a single field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
partitionSpec
The partition specification for the Iceberg table. Partitioning organizes data into separate files based on the values of one or more fields, which can improve query performance by reducing the amount of data scanned. Each partition field applies a transform (such as identity, year, month, or bucket) to a single field.
This is a convenience method that creates an instance of theIcebergPartitionSpec.Builderavoiding the need to create one manually viaIcebergPartitionSpec.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topartitionSpec(IcebergPartitionSpec).- Parameters:
partitionSpec- a consumer that will call methods onIcebergPartitionSpec.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
writeOrder
The sort order for the Iceberg table. Sort order defines how data is sorted within data files, which can improve query performance by enabling more efficient data skipping and filtering.
- Parameters:
writeOrder- The sort order for the Iceberg table. Sort order defines how data is sorted within data files, which can improve query performance by enabling more efficient data skipping and filtering.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
writeOrder
The sort order for the Iceberg table. Sort order defines how data is sorted within data files, which can improve query performance by enabling more efficient data skipping and filtering.
This is a convenience method that creates an instance of theIcebergSortOrder.Builderavoiding the need to create one manually viaIcebergSortOrder.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed towriteOrder(IcebergSortOrder).- Parameters:
writeOrder- a consumer that will call methods onIcebergSortOrder.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
properties
A map of custom configuration properties for the Iceberg table.
- Parameters:
properties- A map of custom configuration properties for the Iceberg table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-