public class TableFactoryUtil extends Object
TableFactory using the TableFactoryService.| Constructor and Description |
|---|
TableFactoryUtil() |
| Modifier and Type | Method and Description |
|---|---|
static Optional<org.apache.flink.table.sinks.TableSink> |
createTableSinkForCatalogTable(org.apache.flink.table.catalog.Catalog catalog,
org.apache.flink.table.catalog.CatalogTable catalogTable,
org.apache.flink.table.catalog.ObjectPath tablePath)
Creates a table sink for a
CatalogTable using table factory associated with the catalog. |
static <T> org.apache.flink.table.sinks.TableSink<T> |
findAndCreateTableSink(org.apache.flink.table.catalog.CatalogTable table)
Returns a table sink matching the
CatalogTable. |
static <T> org.apache.flink.table.sinks.TableSink<T> |
findAndCreateTableSink(org.apache.flink.table.descriptors.Descriptor descriptor)
Returns a table sink matching the descriptor.
|
static <T> org.apache.flink.table.sources.TableSource<T> |
findAndCreateTableSource(org.apache.flink.table.catalog.CatalogTable table)
Returns a table source matching the
CatalogTable. |
static <T> org.apache.flink.table.sources.TableSource<T> |
findAndCreateTableSource(org.apache.flink.table.descriptors.Descriptor descriptor)
Returns a table source matching the descriptor.
|
public static <T> org.apache.flink.table.sources.TableSource<T> findAndCreateTableSource(org.apache.flink.table.descriptors.Descriptor descriptor)
public static <T> org.apache.flink.table.sinks.TableSink<T> findAndCreateTableSink(org.apache.flink.table.descriptors.Descriptor descriptor)
public static <T> org.apache.flink.table.sinks.TableSink<T> findAndCreateTableSink(org.apache.flink.table.catalog.CatalogTable table)
CatalogTable.public static <T> org.apache.flink.table.sources.TableSource<T> findAndCreateTableSource(org.apache.flink.table.catalog.CatalogTable table)
CatalogTable.public static Optional<org.apache.flink.table.sinks.TableSink> createTableSinkForCatalogTable(org.apache.flink.table.catalog.Catalog catalog, org.apache.flink.table.catalog.CatalogTable catalogTable, org.apache.flink.table.catalog.ObjectPath tablePath)
CatalogTable using table factory associated with the catalog.Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.