Package org.apache.iceberg.actions
Interface Action<ThisT,R>
- Type Parameters:
ThisT
- the child Java API class, returned by method chainingR
- the Java type of the result produced by this action
- All Known Subinterfaces:
ComputeTableStats
,ConvertEqualityDeleteFiles
,DeleteOrphanFiles
,DeleteReachableFiles
,ExpireSnapshots
,MigrateTable
,RemoveDanglingDeleteFiles
,RewriteDataFiles
,RewriteManifests
,RewritePositionDeleteFiles
,RewriteTablePath
,SnapshotDeltaLakeTable
,SnapshotTable
,SnapshotUpdate<ThisT,
,R> SnapshotUpdateAction<ThisT,
R>
- All Known Implementing Classes:
BaseRewriteDataFilesAction
,ComputeTableStatsSparkAction
,DeleteOrphanFilesSparkAction
,DeleteReachableFilesSparkAction
,ExpireSnapshotsSparkAction
,MigrateTableSparkAction
,RewriteDataFilesAction
,RewriteDataFilesSparkAction
,RewriteManifestsSparkAction
,RewritePositionDeleteFilesSparkAction
,SnapshotTableSparkAction
public interface Action<ThisT,R>
An action performed on a table.
-
Method Summary
-
Method Details
-
option
Configures this action with an extra option.Certain actions allow users to control internal details of their execution via options.
- Parameters:
name
- an option namevalue
- an option value- Returns:
- this for method chaining
-
options
Configures this action with extra options.Certain actions allow users to control internal details of their execution via options.
- Parameters:
options
- a map of extra options- Returns:
- this for method chaining
-
execute
R execute()Executes this action.- Returns:
- the result of this action
-