Interface BatchTableOptimizer.Builder

All Superinterfaces:
Buildable, CopyableBuilder<BatchTableOptimizer.Builder,BatchTableOptimizer>, SdkBuilder<BatchTableOptimizer.Builder,BatchTableOptimizer>, SdkPojo
Enclosing class:
BatchTableOptimizer

public static interface BatchTableOptimizer.Builder extends SdkPojo, CopyableBuilder<BatchTableOptimizer.Builder,BatchTableOptimizer>
  • Method Details

    • catalogId

      BatchTableOptimizer.Builder catalogId(String catalogId)

      The Catalog ID of the table.

      Parameters:
      catalogId - The Catalog ID of the table.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • databaseName

      BatchTableOptimizer.Builder databaseName(String databaseName)

      The name of the database in the catalog in which the table resides.

      Parameters:
      databaseName - The name of the database in the catalog in which the table resides.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tableName

      BatchTableOptimizer.Builder tableName(String tableName)

      The name of the table.

      Parameters:
      tableName - The name of the table.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tableOptimizer

      BatchTableOptimizer.Builder tableOptimizer(TableOptimizer tableOptimizer)

      A TableOptimizer object that contains details on the configuration and last run of a table optimzer.

      Parameters:
      tableOptimizer - A TableOptimizer object that contains details on the configuration and last run of a table optimzer.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tableOptimizer

      default BatchTableOptimizer.Builder tableOptimizer(Consumer<TableOptimizer.Builder> tableOptimizer)

      A TableOptimizer object that contains details on the configuration and last run of a table optimzer.

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

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

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