Interface IcebergTableMetadata.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<IcebergTableMetadata.Builder,,IcebergTableMetadata> SdkBuilder<IcebergTableMetadata.Builder,,IcebergTableMetadata> SdkPojo
- Enclosing class:
IcebergTableMetadata
-
Method Summary
Modifier and TypeMethodDescriptioncurrentSchemaId(Integer currentSchemaId) The identifier of the schema that is currently active for the Iceberg table.defaultSortOrderId(Integer defaultSortOrderId) The identifier of the sort order that is currently used by default when writing new data to the Iceberg table.defaultSpecId(Integer defaultSpecId) The identifier of the partition specification that is currently used by default when writing new data to the Iceberg table.formatVersion(String formatVersion) The Apache Iceberg table format version, such as1or2.lastColumnId(Integer lastColumnId) The highest column identifier that has been assigned in the Iceberg table's schema, used to ensure unique IDs as new columns are added.lastPartitionId(Integer lastPartitionId) The highest partition field identifier that has been assigned across the table's partition specifications.The base S3 location where the Iceberg table's data and metadata files are stored.partitionSpecs(Collection<IcebergPartitionSpec> partitionSpecs) The list of partition specifications that have been associated with the Iceberg table over its history, supporting partition evolution.partitionSpecs(Consumer<IcebergPartitionSpec.Builder>... partitionSpecs) The list of partition specifications that have been associated with the Iceberg table over its history, supporting partition evolution.partitionSpecs(IcebergPartitionSpec... partitionSpecs) The list of partition specifications that have been associated with the Iceberg table over its history, supporting partition evolution.properties(Map<String, String> properties) A map of key-value pairs that define table-level properties and configuration settings for the Iceberg table.schemas(Collection<IcebergSchema> schemas) The list of schemas that have been associated with the Iceberg table over its history, supporting schema evolution.schemas(Consumer<IcebergSchema.Builder>... schemas) The list of schemas that have been associated with the Iceberg table over its history, supporting schema evolution.schemas(IcebergSchema... schemas) The list of schemas that have been associated with the Iceberg table over its history, supporting schema evolution.sortOrders(Collection<IcebergSortOrder> sortOrders) The list of sort order specifications that have been associated with the Iceberg table over its history.sortOrders(Consumer<IcebergSortOrder.Builder>... sortOrders) The list of sort order specifications that have been associated with the Iceberg table over its history.sortOrders(IcebergSortOrder... sortOrders) The list of sort order specifications that have been associated with the Iceberg table over its history.The unique identifier (UUID) for the Iceberg table, assigned when the table is created and used to track the table across metadata updates.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
-
formatVersion
The Apache Iceberg table format version, such as
1or2. Determines the set of features and on-disk layout supported by the table.- Parameters:
formatVersion- The Apache Iceberg table format version, such as1or2. Determines the set of features and on-disk layout supported by the table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tableUuid
The unique identifier (UUID) for the Iceberg table, assigned when the table is created and used to track the table across metadata updates.
- Parameters:
tableUuid- The unique identifier (UUID) for the Iceberg table, assigned when the table is created and used to track the table across metadata updates.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
location
The base S3 location where the Iceberg table's data and metadata files are stored.
- Parameters:
location- The base S3 location where the Iceberg table's data and metadata files are stored.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
properties
A map of key-value pairs that define table-level properties and configuration settings for the Iceberg table.
- Parameters:
properties- A map of key-value pairs that define table-level properties and configuration settings for the Iceberg table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
schemas
The list of schemas that have been associated with the Iceberg table over its history, supporting schema evolution.
- Parameters:
schemas- The list of schemas that have been associated with the Iceberg table over its history, supporting schema evolution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
schemas
The list of schemas that have been associated with the Iceberg table over its history, supporting schema evolution.
- Parameters:
schemas- The list of schemas that have been associated with the Iceberg table over its history, supporting schema evolution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
schemas
The list of schemas that have been associated with the Iceberg table over its history, supporting schema evolution.
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 toschemas(List<IcebergSchema>).- Parameters:
schemas- 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:
-
currentSchemaId
The identifier of the schema that is currently active for the Iceberg table. Matches an entry in
Schemas.- Parameters:
currentSchemaId- The identifier of the schema that is currently active for the Iceberg table. Matches an entry inSchemas.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastColumnId
The highest column identifier that has been assigned in the Iceberg table's schema, used to ensure unique IDs as new columns are added.
- Parameters:
lastColumnId- The highest column identifier that has been assigned in the Iceberg table's schema, used to ensure unique IDs as new columns are added.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
partitionSpecs
The list of partition specifications that have been associated with the Iceberg table over its history, supporting partition evolution.
- Parameters:
partitionSpecs- The list of partition specifications that have been associated with the Iceberg table over its history, supporting partition evolution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
partitionSpecs
The list of partition specifications that have been associated with the Iceberg table over its history, supporting partition evolution.
- Parameters:
partitionSpecs- The list of partition specifications that have been associated with the Iceberg table over its history, supporting partition evolution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
partitionSpecs
IcebergTableMetadata.Builder partitionSpecs(Consumer<IcebergPartitionSpec.Builder>... partitionSpecs) The list of partition specifications that have been associated with the Iceberg table over its history, supporting partition evolution.
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 topartitionSpecs(List<IcebergPartitionSpec>).- Parameters:
partitionSpecs- 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:
-
defaultSpecId
The identifier of the partition specification that is currently used by default when writing new data to the Iceberg table.
- Parameters:
defaultSpecId- The identifier of the partition specification that is currently used by default when writing new data to the Iceberg table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastPartitionId
The highest partition field identifier that has been assigned across the table's partition specifications.
- Parameters:
lastPartitionId- The highest partition field identifier that has been assigned across the table's partition specifications.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sortOrders
The list of sort order specifications that have been associated with the Iceberg table over its history.
- Parameters:
sortOrders- The list of sort order specifications that have been associated with the Iceberg table over its history.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sortOrders
The list of sort order specifications that have been associated with the Iceberg table over its history.
- Parameters:
sortOrders- The list of sort order specifications that have been associated with the Iceberg table over its history.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sortOrders
The list of sort order specifications that have been associated with the Iceberg table over its history.
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 tosortOrders(List<IcebergSortOrder>).- Parameters:
sortOrders- 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:
-
defaultSortOrderId
The identifier of the sort order that is currently used by default when writing new data to the Iceberg table.
- Parameters:
defaultSortOrderId- The identifier of the sort order that is currently used by default when writing new data to the Iceberg table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-