Interface TableOptimizer.Builder

    • Method Detail

      • type

        TableOptimizer.Builder type​(String 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:
        TableOptimizerType, TableOptimizerType
      • type

        TableOptimizer.Builder type​(TableOptimizerType 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:
        TableOptimizerType, TableOptimizerType
      • configuration

        TableOptimizer.Builder configuration​(TableOptimizerConfiguration 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.
      • lastRun

        TableOptimizer.Builder lastRun​(TableOptimizerRun 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.