public class RewriteDataFilesAction extends BaseRewriteDataFilesAction<RewriteDataFilesAction>
| Constructor and Description |
|---|
RewriteDataFilesAction(org.apache.flink.streaming.api.environment.StreamExecutionEnvironment env,
Table table) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
commit(SnapshotUpdate<?> update) |
protected FileIO |
fileIO() |
protected java.util.List<java.lang.String> |
getManifestListPaths(java.lang.Iterable<Snapshot> snapshots)
Returns all the path locations of all Manifest Lists for a given list of snapshots
|
protected java.util.List<java.lang.String> |
getOtherMetadataFilePaths(TableOperations ops)
Returns all Metadata file paths which may not be in the current metadata.
|
RewriteDataFilesAction |
maxParallelism(int parallelism) |
protected java.lang.String |
metadataTableName(MetadataTableType type) |
protected java.lang.String |
metadataTableName(java.lang.String tableName,
MetadataTableType type) |
protected java.util.List<DataFile> |
rewriteDataForTasks(java.util.List<CombinedScanTask> combinedScanTasks) |
protected RewriteDataFilesAction |
self() |
ThisT |
set(java.lang.String property,
java.lang.String value) |
caseSensitive, caseSensitive, encryptionManager, execute, filter, outputSpecId, splitLookback, splitOpenFileCost, table, targetSizeInBytespublic RewriteDataFilesAction(org.apache.flink.streaming.api.environment.StreamExecutionEnvironment env,
Table table)
protected FileIO fileIO()
fileIO in class BaseRewriteDataFilesAction<RewriteDataFilesAction>protected java.util.List<DataFile> rewriteDataForTasks(java.util.List<CombinedScanTask> combinedScanTasks)
rewriteDataForTasks in class BaseRewriteDataFilesAction<RewriteDataFilesAction>protected RewriteDataFilesAction self()
public RewriteDataFilesAction maxParallelism(int parallelism)
public ThisT set(java.lang.String property,
java.lang.String value)
set in interface SnapshotUpdateAction<ThisT,R>protected void commit(SnapshotUpdate<?> update)
protected java.lang.String metadataTableName(MetadataTableType type)
protected java.lang.String metadataTableName(java.lang.String tableName,
MetadataTableType type)
protected java.util.List<java.lang.String> getManifestListPaths(java.lang.Iterable<Snapshot> snapshots)
snapshots - snapshotsprotected java.util.List<java.lang.String> getOtherMetadataFilePaths(TableOperations ops)
ops - TableOperations for the table we will be getting paths from