Interface PlanningStats.Builder

  • Method Details

    • objectsScanned

      PlanningStats.Builder objectsScanned(Long objectsScanned)

      The number of source objects that the migration found under the source table's location, whether or not it migrates them. The object compatibility report has one row for each.

      Parameters:
      objectsScanned - The number of source objects that the migration found under the source table's location, whether or not it migrates them. The object compatibility report has one row for each.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • objectsPlanned

      PlanningStats.Builder objectsPlanned(Long objectsPlanned)

      The number of source objects in the migration. For a start, these are the source objects in the Amazon Web Services Glue table's partitions, or under the table's location if the table isn't partitioned. For a sync, these are all the source objects of the table after the sync, including objects that earlier migrations migrated.

      Parameters:
      objectsPlanned - The number of source objects in the migration. For a start, these are the source objects in the Amazon Web Services Glue table's partitions, or under the table's location if the table isn't partitioned. For a sync, these are all the source objects of the table after the sync, including objects that earlier migrations migrated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • partitionCount

      PlanningStats.Builder partitionCount(Long partitionCount)

      The number of partitions in the destination table after this migration, or 0 if the source table isn't partitioned. This value is returned when planning produces a valid plan.

      Parameters:
      partitionCount - The number of partitions in the destination table after this migration, or 0 if the source table isn't partitioned. This value is returned when planning produces a valid plan.
      Returns:
      Returns a reference to this object so that method calls can be chained together.