Interface MigrationStats.Builder

  • Method Details

    • objectsMigrated

      MigrationStats.Builder objectsMigrated(Long objectsMigrated)

      The number of source objects whose data the migration wrote to the destination table. Migrated data can be queried after the migration commits it. If the migration fails or is cancelled, some migrated objects might not be committed.

      Parameters:
      objectsMigrated - The number of source objects whose data the migration wrote to the destination table. Migrated data can be queried after the migration commits it. If the migration fails or is cancelled, some migrated objects might not be committed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • objectsFailedMigration

      MigrationStats.Builder objectsFailedMigration(Long objectsFailedMigration)

      The number of source objects that didn't migrate, because they failed or because another object, such as an object in the same partition, failed. The object migration report lists the cause for each object.

      Parameters:
      objectsFailedMigration - The number of source objects that didn't migrate, because they failed or because another object, such as an object in the same partition, failed. The object migration report lists the cause for each object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • objectsPendingMigration

      MigrationStats.Builder objectsPendingMigration(Long objectsPendingMigration)

      The number of source objects that haven't migrated or failed yet. When a migration fails or is cancelled, these are the objects that it didn't migrate.

      Parameters:
      objectsPendingMigration - The number of source objects that haven't migrated or failed yet. When a migration fails or is cancelled, these are the objects that it didn't migrate.
      Returns:
      Returns a reference to this object so that method calls can be chained together.