public abstract class CloneProcessFunction<I,O>
extends org.apache.flink.streaming.api.functions.ProcessFunction<I,O>
Modifier and Type | Field and Description |
---|---|
protected DataFileMetaSerializer |
dataFileSerializer |
protected HiveCatalog |
hiveCatalog |
protected static org.slf4j.Logger |
LOG |
protected Map<String,String> |
sourceCatalogConfig |
protected Map<Identifier,Table> |
tableCache |
protected Catalog |
targetCatalog |
protected Map<String,String> |
targetCatalogConfig |
Constructor and Description |
---|
CloneProcessFunction(Map<String,String> sourceCatalogConfig,
Map<String,String> targetCatalogConfig) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
protected Table |
getTable(Identifier identifier) |
void |
open(org.apache.flink.configuration.Configuration conf)
Do not annotate with
@override here to maintain compatibility with Flink 2.0+. |
void |
open(OpenContext openContext)
Do not annotate with
@override here to maintain compatibility with Flink 1.18-. |
onTimer, processElement
protected static final org.slf4j.Logger LOG
protected transient HiveCatalog hiveCatalog
protected transient Catalog targetCatalog
protected transient Map<Identifier,Table> tableCache
protected transient DataFileMetaSerializer dataFileSerializer
public void open(OpenContext openContext) throws Exception
@override
here to maintain compatibility with Flink 1.18-.Exception
public void open(org.apache.flink.configuration.Configuration conf) throws Exception
@override
here to maintain compatibility with Flink 2.0+.open
in interface org.apache.flink.api.common.functions.RichFunction
open
in class org.apache.flink.api.common.functions.AbstractRichFunction
Exception
protected Table getTable(Identifier identifier)
Copyright © 2023–2025 The Apache Software Foundation. All rights reserved.