Class DataFileRewritePlanner
java.lang.Object
org.apache.flink.api.common.functions.AbstractRichFunction
org.apache.flink.streaming.api.functions.ProcessFunction<Trigger,DataFileRewritePlanner.PlannedGroup>
 
org.apache.iceberg.flink.maintenance.operator.DataFileRewritePlanner
- All Implemented Interfaces:
- Serializable,- org.apache.flink.api.common.functions.Function,- org.apache.flink.api.common.functions.RichFunction
@Internal
public class DataFileRewritePlanner
extends org.apache.flink.streaming.api.functions.ProcessFunction<Trigger,DataFileRewritePlanner.PlannedGroup> 
Plans the rewrite groups using the 
BinPackRewriteFilePlanner. The input is the Trigger, the output is zero, or some DataFileRewritePlanner.PlannedGroups.- 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 SummaryConstructorsConstructorDescriptionDataFileRewritePlanner(String tableName, String taskName, int taskIndex, TableLoader tableLoader, int newPartialProgressMaxCommits, long maxRewriteBytes, Map<String, String> rewriterOptions, Expression filter) 
- 
Method SummaryModifier and TypeMethodDescriptionvoidclose()voidopen(org.apache.flink.api.common.functions.OpenContext context) voidprocessElement(Trigger value, org.apache.flink.streaming.api.functions.ProcessFunction<Trigger, DataFileRewritePlanner.PlannedGroup>.org.apache.flink.streaming.api.functions.ProcessFunction.Context ctx, org.apache.flink.util.Collector<DataFileRewritePlanner.PlannedGroup> out) Methods inherited from class org.apache.flink.streaming.api.functions.ProcessFunctiononTimerMethods inherited from class org.apache.flink.api.common.functions.AbstractRichFunctiongetIterationRuntimeContext, getRuntimeContext, setRuntimeContext
- 
Constructor Details- 
DataFileRewritePlannerpublic DataFileRewritePlanner(String tableName, String taskName, int taskIndex, TableLoader tableLoader, int newPartialProgressMaxCommits, long maxRewriteBytes, Map<String, String> rewriterOptions, Expression filter) 
 
- 
- 
Method Details- 
open- Specified by:
- openin interface- org.apache.flink.api.common.functions.RichFunction
- Overrides:
- openin class- org.apache.flink.api.common.functions.AbstractRichFunction
- Throws:
- Exception
 
- 
processElementpublic void processElement(Trigger value, org.apache.flink.streaming.api.functions.ProcessFunction<Trigger, DataFileRewritePlanner.PlannedGroup>.org.apache.flink.streaming.api.functions.ProcessFunction.Context ctx, org.apache.flink.util.Collector<DataFileRewritePlanner.PlannedGroup> out) throws Exception- Specified by:
- processElementin class- org.apache.flink.streaming.api.functions.ProcessFunction<Trigger,- DataFileRewritePlanner.PlannedGroup> 
- Throws:
- Exception
 
- 
close- Specified by:
- closein interface- org.apache.flink.api.common.functions.RichFunction
- Overrides:
- closein class- org.apache.flink.api.common.functions.AbstractRichFunction
- Throws:
- Exception
 
 
-