public class CloneUtils extends Object
CloneAction
.Modifier and Type | Class and Description |
---|---|
static class |
CloneUtils.DataFileChannelComputer
Shuffle tables.
|
static class |
CloneUtils.TableChannelComputer
Shuffle tables.
|
Constructor and Description |
---|
CloneUtils() |
Modifier and Type | Method and Description |
---|---|
static org.apache.flink.streaming.api.datastream.DataStream<org.apache.flink.api.java.tuple.Tuple2<Identifier,Identifier>> |
buildSource(String sourceDatabase,
String sourceTableName,
String targetDatabase,
String targetTableName,
Catalog sourceCatalog,
org.apache.flink.streaming.api.environment.StreamExecutionEnvironment env) |
static HiveCatalog |
getRootHiveCatalog(Catalog catalog) |
public static org.apache.flink.streaming.api.datastream.DataStream<org.apache.flink.api.java.tuple.Tuple2<Identifier,Identifier>> buildSource(String sourceDatabase, String sourceTableName, String targetDatabase, String targetTableName, Catalog sourceCatalog, org.apache.flink.streaming.api.environment.StreamExecutionEnvironment env) throws Exception
Exception
public static HiveCatalog getRootHiveCatalog(Catalog catalog)
Copyright © 2023–2025 The Apache Software Foundation. All rights reserved.