public abstract class UpdatedDataFieldsProcessFunctionBase<I,O>
extends org.apache.flink.streaming.api.functions.ProcessFunction<I,O>
Modifier and Type | Class and Description |
---|---|
static class |
UpdatedDataFieldsProcessFunctionBase.ConvertAction
Return type of
canConvert(DataType, DataType) . |
Modifier and Type | Field and Description |
---|---|
protected Catalog |
catalog |
protected Catalog.Loader |
catalogLoader |
Modifier | Constructor and Description |
---|---|
protected |
UpdatedDataFieldsProcessFunctionBase(Catalog.Loader catalogLoader) |
Modifier and Type | Method and Description |
---|---|
protected void |
applySchemaChange(SchemaManager schemaManager,
SchemaChange schemaChange,
Identifier identifier) |
static UpdatedDataFieldsProcessFunctionBase.ConvertAction |
canConvert(DataType oldType,
DataType newType) |
void |
close() |
protected List<SchemaChange> |
extractSchemaChanges(SchemaManager schemaManager,
List<DataField> updatedDataFields) |
void |
open(org.apache.flink.configuration.Configuration parameters) |
onTimer, processElement
getIterationRuntimeContext, getRuntimeContext, setRuntimeContext
protected final Catalog.Loader catalogLoader
protected Catalog catalog
protected UpdatedDataFieldsProcessFunctionBase(Catalog.Loader catalogLoader)
public void open(org.apache.flink.configuration.Configuration parameters)
open
in interface org.apache.flink.api.common.functions.RichFunction
open
in class org.apache.flink.api.common.functions.AbstractRichFunction
protected void applySchemaChange(SchemaManager schemaManager, SchemaChange schemaChange, Identifier identifier) throws Exception
Exception
public static UpdatedDataFieldsProcessFunctionBase.ConvertAction canConvert(DataType oldType, DataType newType)
protected List<SchemaChange> extractSchemaChanges(SchemaManager schemaManager, List<DataField> updatedDataFields)
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.