Interface TableOptimizerRun.Builder

    • Method Detail

      • startTimestamp

        TableOptimizerRun.Builder startTimestamp​(Instant startTimestamp)

        Represents the epoch timestamp at which the compaction job was started within Lake Formation.

        Parameters:
        startTimestamp - Represents the epoch timestamp at which the compaction job was started within Lake Formation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • endTimestamp

        TableOptimizerRun.Builder endTimestamp​(Instant endTimestamp)

        Represents the epoch timestamp at which the compaction job ended.

        Parameters:
        endTimestamp - Represents the epoch timestamp at which the compaction job ended.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • metrics

        TableOptimizerRun.Builder metrics​(RunMetrics metrics)

        A RunMetrics object containing metrics for the optimizer run.

        Parameters:
        metrics - A RunMetrics object containing metrics for the optimizer run.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • error

        TableOptimizerRun.Builder error​(String error)

        An error that occured during the optimizer run.

        Parameters:
        error - An error that occured during the optimizer run.
        Returns:
        Returns a reference to this object so that method calls can be chained together.