Package org.apache.iceberg.spark.actions
Class SparkActions
java.lang.Object
org.apache.iceberg.spark.actions.SparkActions
- All Implemented Interfaces:
org.apache.iceberg.actions.ActionsProvider
An implementation of
ActionsProvider for Spark.
This class is the primary API for interacting with actions in Spark that users should use to instantiate particular actions.
-
Method Summary
Modifier and TypeMethodDescriptionorg.apache.iceberg.actions.ComputePartitionStatscomputePartitionStats(org.apache.iceberg.Table table) org.apache.iceberg.actions.ComputeTableStatscomputeTableStats(org.apache.iceberg.Table table) deleteOrphanFiles(org.apache.iceberg.Table table) deleteReachableFiles(String metadataLocation) expireSnapshots(org.apache.iceberg.Table table) static SparkActionsget()static SparkActionsget(org.apache.spark.sql.SparkSession spark) migrateTable(String tableIdent) org.apache.iceberg.actions.RemoveDanglingDeleteFilesremoveDanglingDeleteFiles(org.apache.iceberg.Table table) rewriteDataFiles(org.apache.iceberg.Table table) rewriteManifests(org.apache.iceberg.Table table) rewritePositionDeletes(org.apache.iceberg.Table table) rewriteTablePath(org.apache.iceberg.Table table) snapshotTable(String tableIdent)
-
Method Details
-
get
-
get
-
snapshotTable
- Specified by:
snapshotTablein interfaceorg.apache.iceberg.actions.ActionsProvider
-
migrateTable
- Specified by:
migrateTablein interfaceorg.apache.iceberg.actions.ActionsProvider
-
rewriteDataFiles
- Specified by:
rewriteDataFilesin interfaceorg.apache.iceberg.actions.ActionsProvider
-
deleteOrphanFiles
- Specified by:
deleteOrphanFilesin interfaceorg.apache.iceberg.actions.ActionsProvider
-
rewriteManifests
- Specified by:
rewriteManifestsin interfaceorg.apache.iceberg.actions.ActionsProvider
-
expireSnapshots
- Specified by:
expireSnapshotsin interfaceorg.apache.iceberg.actions.ActionsProvider
-
deleteReachableFiles
- Specified by:
deleteReachableFilesin interfaceorg.apache.iceberg.actions.ActionsProvider
-
rewritePositionDeletes
- Specified by:
rewritePositionDeletesin interfaceorg.apache.iceberg.actions.ActionsProvider
-
computeTableStats
public org.apache.iceberg.actions.ComputeTableStats computeTableStats(org.apache.iceberg.Table table) - Specified by:
computeTableStatsin interfaceorg.apache.iceberg.actions.ActionsProvider
-
computePartitionStats
public org.apache.iceberg.actions.ComputePartitionStats computePartitionStats(org.apache.iceberg.Table table) - Specified by:
computePartitionStatsin interfaceorg.apache.iceberg.actions.ActionsProvider
-
removeDanglingDeleteFiles
public org.apache.iceberg.actions.RemoveDanglingDeleteFiles removeDanglingDeleteFiles(org.apache.iceberg.Table table) - Specified by:
removeDanglingDeleteFilesin interfaceorg.apache.iceberg.actions.ActionsProvider
-
rewriteTablePath
- Specified by:
rewriteTablePathin interfaceorg.apache.iceberg.actions.ActionsProvider
-