Class ExecutableOperationUtils


  • @Internal
    public class ExecutableOperationUtils
    extends Object
    Utils for the executable operation.
    • Constructor Detail

      • ExecutableOperationUtils

        public ExecutableOperationUtils()
    • Method Detail

      • createDynamicTableSink

        public static org.apache.flink.table.connector.sink.DynamicTableSink createDynamicTableSink​(@Nullable
                                                                                                    org.apache.flink.table.catalog.Catalog catalog,
                                                                                                    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.

        It'll try to create table sink from to {@param catalog}, then try to create from {@param sinkFactorySupplier} passed secondly. Otherwise, an attempt is made to discover a matching factory using Java SPI (see Factory for details).