Interface TableOptimizer.Builder

  • Method Details

    • type

      The type of table optimizer. The valid values are:

      • compaction: for managing compaction with a table optimizer.

      • retention: for managing the retention of snapshot with a table optimizer.

      • orphan_file_deletion: for managing the deletion of orphan files with a table optimizer.

      Parameters:
      type - The type of table optimizer. The valid values are:

      • compaction: for managing compaction with a table optimizer.

      • retention: for managing the retention of snapshot with a table optimizer.

      • orphan_file_deletion: for managing the deletion of orphan files with a table optimizer.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • type

      The type of table optimizer. The valid values are:

      • compaction: for managing compaction with a table optimizer.

      • retention: for managing the retention of snapshot with a table optimizer.

      • orphan_file_deletion: for managing the deletion of orphan files with a table optimizer.

      Parameters:
      type - The type of table optimizer. The valid values are:

      • compaction: for managing compaction with a table optimizer.

      • retention: for managing the retention of snapshot with a table optimizer.

      • orphan_file_deletion: for managing the deletion of orphan files with a table optimizer.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • configuration

      A TableOptimizerConfiguration object that was specified when creating or updating a table optimizer.

      Parameters:
      configuration - A TableOptimizerConfiguration object that was specified when creating or updating a table optimizer.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • configuration

      A TableOptimizerConfiguration object that was specified when creating or updating a table optimizer.

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

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

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

      A TableOptimizerRun object representing the last run of the table optimizer.

      Parameters:
      lastRun - A TableOptimizerRun object representing the last run of the table optimizer.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastRun

      A TableOptimizerRun object representing the last run of the table optimizer.

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

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

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