Interface RewriteManifests

All Superinterfaces:
Action<RewriteManifests,RewriteManifests.Result>, SnapshotUpdate<RewriteManifests,RewriteManifests.Result>
All Known Implementing Classes:
RewriteManifestsSparkAction

public interface RewriteManifests extends SnapshotUpdate<RewriteManifests,RewriteManifests.Result>
An action that rewrites manifests.
  • Method Details

    • specId

      RewriteManifests specId(int specId)
      Rewrites manifests for a given spec id.

      If not set, defaults to the table's default spec ID.

      Parameters:
      specId - a spec id
      Returns:
      this for method chaining
    • rewriteIf

      RewriteManifests rewriteIf(Predicate<ManifestFile> predicate)
      Rewrites only manifests that match the given predicate.

      If not set, all manifests will be rewritten.

      Parameters:
      predicate - a predicate
      Returns:
      this for method chaining
    • stagingLocation

      RewriteManifests stagingLocation(String stagingLocation)
      Passes a location where the staged manifests should be written.

      If not set, defaults to the table's metadata location.

      Parameters:
      stagingLocation - a staging location
      Returns:
      this for method chaining