Class DataFileRewriteRunner
java.lang.Object
org.apache.flink.api.common.functions.AbstractRichFunction
org.apache.flink.streaming.api.functions.ProcessFunction<DataFileRewritePlanner.PlannedGroup,DataFileRewriteRunner.ExecutedGroup>
 
org.apache.iceberg.flink.maintenance.operator.DataFileRewriteRunner
- All Implemented Interfaces:
- Serializable,- org.apache.flink.api.common.functions.Function,- org.apache.flink.api.common.functions.RichFunction
@Internal
public class DataFileRewriteRunner
extends org.apache.flink.streaming.api.functions.ProcessFunction<DataFileRewritePlanner.PlannedGroup,DataFileRewriteRunner.ExecutedGroup> 
Executes a rewrite for a single 
DataFileRewritePlanner.PlannedGroup. Reads the files with the standard FileScanTaskReader, so the delete files are considered, and writes using the TaskWriterFactory. The output is an DataFileRewriteRunner.ExecutedGroup.- See Also:
- 
Nested Class SummaryNested ClassesNested classes/interfaces inherited from class org.apache.flink.streaming.api.functions.ProcessFunctionorg.apache.flink.streaming.api.functions.ProcessFunction.Context, org.apache.flink.streaming.api.functions.ProcessFunction.OnTimerContext
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidopen(org.apache.flink.api.common.functions.OpenContext context) voidprocessElement(DataFileRewritePlanner.PlannedGroup value, org.apache.flink.streaming.api.functions.ProcessFunction<DataFileRewritePlanner.PlannedGroup, DataFileRewriteRunner.ExecutedGroup>.org.apache.flink.streaming.api.functions.ProcessFunction.Context ctx, org.apache.flink.util.Collector<DataFileRewriteRunner.ExecutedGroup> out) Methods inherited from class org.apache.flink.streaming.api.functions.ProcessFunctiononTimerMethods inherited from class org.apache.flink.api.common.functions.AbstractRichFunctionclose, getIterationRuntimeContext, getRuntimeContext, setRuntimeContext
- 
Constructor Details- 
DataFileRewriteRunner
 
- 
- 
Method Details- 
openpublic void open(org.apache.flink.api.common.functions.OpenContext context) - Specified by:
- openin interface- org.apache.flink.api.common.functions.RichFunction
- Overrides:
- openin class- org.apache.flink.api.common.functions.AbstractRichFunction
 
- 
processElementpublic void processElement(DataFileRewritePlanner.PlannedGroup value, org.apache.flink.streaming.api.functions.ProcessFunction<DataFileRewritePlanner.PlannedGroup, DataFileRewriteRunner.ExecutedGroup>.org.apache.flink.streaming.api.functions.ProcessFunction.Context ctx, org.apache.flink.util.Collector<DataFileRewriteRunner.ExecutedGroup> out) throws Exception- Specified by:
- processElementin class- org.apache.flink.streaming.api.functions.ProcessFunction<DataFileRewritePlanner.PlannedGroup,- DataFileRewriteRunner.ExecutedGroup> 
- Throws:
- Exception
 
 
-