Package org.apache.iceberg.actions
Interface ActionsProvider
- All Known Implementing Classes:
SparkActions
public interface ActionsProvider
An API that should be implemented by query engine integrations for providing actions.
-
Method Summary
Modifier and TypeMethodDescriptiondefault DeleteOrphanFiles
deleteOrphanFiles
(Table table) Instantiates an action to delete orphan files.default DeleteReachableFiles
deleteReachableFiles
(String metadataLocation) Instantiates an action to delete all the files reachable from given metadata location.default ExpireSnapshots
expireSnapshots
(Table table) Instantiates an action to expire snapshots.default MigrateTable
migrateTable
(String tableIdent) Instantiates an action to migrate an existing table to Iceberg.default RewriteDataFiles
rewriteDataFiles
(Table table) Instantiates an action to rewrite data files.default RewriteManifests
rewriteManifests
(Table table) Instantiates an action to rewrite manifests.default RewritePositionDeleteFiles
rewritePositionDeletes
(Table table) Instantiates an action to rewrite position delete filesdefault SnapshotTable
snapshotTable
(String sourceTableIdent) Instantiates an action to snapshot an existing table as a new Iceberg table.
-
Method Details
-
snapshotTable
Instantiates an action to snapshot an existing table as a new Iceberg table. -
migrateTable
Instantiates an action to migrate an existing table to Iceberg. -
deleteOrphanFiles
Instantiates an action to delete orphan files. -
rewriteManifests
Instantiates an action to rewrite manifests. -
rewriteDataFiles
Instantiates an action to rewrite data files. -
expireSnapshots
Instantiates an action to expire snapshots. -
deleteReachableFiles
Instantiates an action to delete all the files reachable from given metadata location. -
rewritePositionDeletes
Instantiates an action to rewrite position delete files
-