Interface Progress.Builder

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

@Mutable @NotThreadSafe public static interface Progress.Builder extends SdkPojo, CopyableBuilder<Progress.Builder,Progress>
  • Method Details

    • progressPercent

      Progress.Builder progressPercent(Double progressPercent)

      The percent complete for the current step of the schema conversion operation.

      Parameters:
      progressPercent - The percent complete for the current step of the schema conversion operation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • totalObjects

      Progress.Builder totalObjects(Long totalObjects)

      The number of objects in this schema conversion operation.

      Parameters:
      totalObjects - The number of objects in this schema conversion operation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • progressStep

      Progress.Builder progressStep(String progressStep)

      The step of the schema conversion operation. This parameter can store one of the following values:

      • IN_PROGRESS – The operation is running.

      • LOADING_METADATA – Loads metadata from the source database.

      • COUNTING_OBJECTS – Determines the number of objects involved in the operation.

      • ANALYZING – Analyzes the source database objects.

      • CONVERTING – Converts the source database objects to a format compatible with the target database.

      • APPLYING – Applies the converted code to the target database.

      • FINISHED – The operation completed successfully.

      Parameters:
      progressStep - The step of the schema conversion operation. This parameter can store one of the following values:

      • IN_PROGRESS – The operation is running.

      • LOADING_METADATA – Loads metadata from the source database.

      • COUNTING_OBJECTS – Determines the number of objects involved in the operation.

      • ANALYZING – Analyzes the source database objects.

      • CONVERTING – Converts the source database objects to a format compatible with the target database.

      • APPLYING – Applies the converted code to the target database.

      • FINISHED – The operation completed successfully.

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

      Progress.Builder processedObject(ProcessedObject processedObject)

      The name of the database object that the schema conversion operation currently uses.

      Parameters:
      processedObject - The name of the database object that the schema conversion operation currently uses.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • processedObject

      default Progress.Builder processedObject(Consumer<ProcessedObject.Builder> processedObject)

      The name of the database object that the schema conversion operation currently uses.

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

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

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