Interface IcebergTableUpdate.Builder

  • Method Details

    • schema

      The updated schema definition for the Iceberg table, specifying any changes to field structure, data types, or schema metadata.

      Parameters:
      schema - The updated schema definition for the Iceberg table, specifying any changes to field structure, data types, or schema metadata.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • schema

      The updated schema definition for the Iceberg table, specifying any changes to field structure, data types, or schema metadata.

      This is a convenience method that creates an instance of the IcebergSchema.Builder avoiding the need to create one manually via IcebergSchema.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to schema(IcebergSchema).

      Parameters:
      schema - a consumer that will call methods on IcebergSchema.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • partitionSpec

      IcebergTableUpdate.Builder partitionSpec(IcebergPartitionSpec partitionSpec)

      The updated partitioning specification that defines how the table data should be reorganized and partitioned.

      Parameters:
      partitionSpec - The updated partitioning specification that defines how the table data should be reorganized and partitioned.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • partitionSpec

      default IcebergTableUpdate.Builder partitionSpec(Consumer<IcebergPartitionSpec.Builder> partitionSpec)

      The updated partitioning specification that defines how the table data should be reorganized and partitioned.

      This is a convenience method that creates an instance of the IcebergPartitionSpec.Builder avoiding the need to create one manually via IcebergPartitionSpec.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to partitionSpec(IcebergPartitionSpec).

      Parameters:
      partitionSpec - a consumer that will call methods on IcebergPartitionSpec.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • sortOrder

      The updated sort order specification that defines how data should be ordered within partitions for optimal query performance.

      Parameters:
      sortOrder - The updated sort order specification that defines how data should be ordered within partitions for optimal query performance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sortOrder

      The updated sort order specification that defines how data should be ordered within partitions for optimal query performance.

      This is a convenience method that creates an instance of the IcebergSortOrder.Builder avoiding the need to create one manually via IcebergSortOrder.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to sortOrder(IcebergSortOrder).

      Parameters:
      sortOrder - a consumer that will call methods on IcebergSortOrder.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • location

      IcebergTableUpdate.Builder location(String location)

      The updated S3 location where the Iceberg table data will be stored.

      Parameters:
      location - The updated S3 location where the Iceberg table data will be stored.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • properties

      IcebergTableUpdate.Builder properties(Map<String,String> properties)

      Updated key-value pairs of table properties and configuration settings for the Iceberg table.

      Parameters:
      properties - Updated key-value pairs of table properties and configuration settings for the Iceberg table.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • action

      The type of update action to be performed on the Iceberg table. Defines the specific operation such as adding schema, setting current schema, adding partition spec, or managing encryption keys.

      Parameters:
      action - The type of update action to be performed on the Iceberg table. Defines the specific operation such as adding schema, setting current schema, adding partition spec, or managing encryption keys.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • action

      The type of update action to be performed on the Iceberg table. Defines the specific operation such as adding schema, setting current schema, adding partition spec, or managing encryption keys.

      Parameters:
      action - The type of update action to be performed on the Iceberg table. Defines the specific operation such as adding schema, setting current schema, adding partition spec, or managing encryption keys.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • encryptionKey

      IcebergTableUpdate.Builder encryptionKey(IcebergEncryptedKey encryptionKey)

      Encryption key information associated with an Iceberg table update operation. Used when adding or removing encryption keys from the table metadata during table evolution.

      Parameters:
      encryptionKey - Encryption key information associated with an Iceberg table update operation. Used when adding or removing encryption keys from the table metadata during table evolution.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • encryptionKey

      default IcebergTableUpdate.Builder encryptionKey(Consumer<IcebergEncryptedKey.Builder> encryptionKey)

      Encryption key information associated with an Iceberg table update operation. Used when adding or removing encryption keys from the table metadata during table evolution.

      This is a convenience method that creates an instance of the IcebergEncryptedKey.Builder avoiding the need to create one manually via IcebergEncryptedKey.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to encryptionKey(IcebergEncryptedKey).

      Parameters:
      encryptionKey - a consumer that will call methods on IcebergEncryptedKey.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • keyId

      Identifier of the encryption key involved in an Iceberg table update operation. References the specific key being added to or removed from the table's encryption configuration.

      Parameters:
      keyId - Identifier of the encryption key involved in an Iceberg table update operation. References the specific key being added to or removed from the table's encryption configuration.
      Returns:
      Returns a reference to this object so that method calls can be chained together.