public class CompactFunction extends org.apache.flink.streaming.api.functions.ProcessFunction<CompactionPlanEvent,CompactionCommitEvent>
CompactionPlanEvent.| Constructor and Description |
|---|
CompactFunction(org.apache.flink.configuration.Configuration conf) |
| Modifier and Type | Method and Description |
|---|---|
void |
open(org.apache.flink.configuration.Configuration parameters) |
void |
processElement(CompactionPlanEvent event,
org.apache.flink.streaming.api.functions.ProcessFunction.Context context,
org.apache.flink.util.Collector<CompactionCommitEvent> collector) |
void |
setExecutor(NonThrownExecutor executor) |
public CompactFunction(org.apache.flink.configuration.Configuration conf)
public void open(org.apache.flink.configuration.Configuration parameters)
throws Exception
open in interface org.apache.flink.api.common.functions.RichFunctionopen in class org.apache.flink.api.common.functions.AbstractRichFunctionExceptionpublic void processElement(CompactionPlanEvent event, org.apache.flink.streaming.api.functions.ProcessFunction.Context context, org.apache.flink.util.Collector<CompactionCommitEvent> collector) throws Exception
processElement in class org.apache.flink.streaming.api.functions.ProcessFunction<CompactionPlanEvent,CompactionCommitEvent>Exception@VisibleForTesting public void setExecutor(NonThrownExecutor executor)
Copyright © 2022 The Apache Software Foundation. All rights reserved.