public class MultiTableUpdatedDataFieldsProcessFunction extends UpdatedDataFieldsProcessFunctionBase<org.apache.flink.api.java.tuple.Tuple2<Identifier,List<DataField>>,Void>
ProcessFunction to handle schema changes. New schema is represented by a list of DataFields.
NOTE: To avoid concurrent schema changes, the parallelism of this ProcessFunction must
be 1.
UpdatedDataFieldsProcessFunctionBase.ConvertActioncatalog, catalogLoader| Constructor and Description |
|---|
MultiTableUpdatedDataFieldsProcessFunction(Catalog.Loader catalogLoader) |
| Modifier and Type | Method and Description |
|---|---|
void |
processElement(org.apache.flink.api.java.tuple.Tuple2<Identifier,List<DataField>> updatedDataFields,
org.apache.flink.streaming.api.functions.ProcessFunction.Context context,
org.apache.flink.util.Collector<Void> collector) |
applySchemaChange, canConvert, close, extractSchemaChanges, opengetIterationRuntimeContext, getRuntimeContext, setRuntimeContextpublic MultiTableUpdatedDataFieldsProcessFunction(Catalog.Loader catalogLoader)
public void processElement(org.apache.flink.api.java.tuple.Tuple2<Identifier,List<DataField>> updatedDataFields, org.apache.flink.streaming.api.functions.ProcessFunction.Context context, org.apache.flink.util.Collector<Void> collector) throws Exception
processElement in class org.apache.flink.streaming.api.functions.ProcessFunction<org.apache.flink.api.java.tuple.Tuple2<Identifier,List<DataField>>,Void>ExceptionCopyright © 2023–2024 The Apache Software Foundation. All rights reserved.