public abstract class CopyProcessFunction<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 Map<String,String> |
sourceCatalogConfig |
protected Map<Identifier,Table> |
tableCache |
protected Catalog |
targetCatalog |
protected Map<String,String> |
targetCatalogConfig |
Constructor and Description |
---|
CopyProcessFunction(Map<String,String> sourceCatalogConfig,
Map<String,String> targetCatalogConfig) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
protected Table |
getTable(Identifier identifier) |
void |
open(OpenContext openContext) |
onTimer, processElement
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
Exception
protected Table getTable(Identifier identifier)
Copyright © 2023–2025 The Apache Software Foundation. All rights reserved.