public class ExecutableOperationUtils extends Object
Constructor and Description |
---|
ExecutableOperationUtils() |
Modifier and Type | Method and Description |
---|---|
static org.apache.flink.table.connector.sink.DynamicTableSink |
createDynamicTableSink(org.apache.flink.table.catalog.Catalog catalog,
java.util.function.Supplier<Optional<org.apache.flink.table.factories.DynamicTableSinkFactory>> sinkFactorySupplier,
org.apache.flink.table.catalog.ObjectIdentifier objectIdentifier,
org.apache.flink.table.catalog.ResolvedCatalogTable catalogTable,
Map<String,String> enrichmentOptions,
org.apache.flink.configuration.ReadableConfig configuration,
ClassLoader classLoader,
boolean isTemporary)
Creates a
DynamicTableSink from a CatalogTable . |
public static org.apache.flink.table.connector.sink.DynamicTableSink createDynamicTableSink(@Nullable org.apache.flink.table.catalog.Catalog catalog, java.util.function.Supplier<Optional<org.apache.flink.table.factories.DynamicTableSinkFactory>> sinkFactorySupplier, org.apache.flink.table.catalog.ObjectIdentifier objectIdentifier, org.apache.flink.table.catalog.ResolvedCatalogTable catalogTable, Map<String,String> enrichmentOptions, org.apache.flink.configuration.ReadableConfig configuration, ClassLoader classLoader, boolean isTemporary)
DynamicTableSink
from a CatalogTable
.
It'll try to create table sink from to , then try to create from passed secondly. Otherwise, an attempt is made to discover a matching
factory using Java SPI (see Factory
for details).
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.