Package org.apache.iceberg.actions
Interface RewriteManifests
- All Superinterfaces:
Action<RewriteManifests,,RewriteManifests.Result> SnapshotUpdate<RewriteManifests,RewriteManifests.Result>
- All Known Implementing Classes:
RewriteManifestsSparkAction
An action that rewrites manifests.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceThe action result that contains a summary of the execution. -
Method Summary
Modifier and TypeMethodDescriptionrewriteIf(Predicate<ManifestFile> predicate) Rewrites only manifests that match the given predicate.specId(int specId) Rewrites manifests for a given spec id.stagingLocation(String stagingLocation) Passes a location where the staged manifests should be written.Methods inherited from interface org.apache.iceberg.actions.SnapshotUpdate
snapshotProperty
-
Method Details
-
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
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
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
-