public class CatalogTableUtil extends Object implements Serializable
| 构造器和说明 |
|---|
CatalogTableUtil() |
| 限定符和类型 | 方法和说明 |
|---|---|
static SeaTunnelRowType |
buildSimpleTextSchema() |
static CatalogTable |
buildSimpleTextTable() |
static CatalogTable |
buildWithConfig(org.apache.seatunnel.shade.com.typesafe.config.Config config) |
static CatalogTable |
buildWithConfig(ReadonlyConfig readonlyConfig) |
static CatalogTable |
buildWithConfig(String catalogName,
ReadonlyConfig readonlyConfig) |
static List<CatalogTable> |
convertDataTypeToCatalogTables(SeaTunnelDataType<?> seaTunnelDataType,
String tableId)
已过时。
|
static SeaTunnelDataType<SeaTunnelRow> |
convertToDataType(List<CatalogTable> catalogTables) |
static MultipleRowType |
convertToMultipleRowType(List<CatalogTable> catalogTables) |
static CatalogTable |
getCatalogTable(String tableName,
SeaTunnelRowType rowType)
已过时。
|
static CatalogTable |
getCatalogTable(String catalog,
String database,
String schema,
String tableName,
SeaTunnelRowType rowType) |
static List<CatalogTable> |
getCatalogTables(ReadonlyConfig readonlyConfig,
ClassLoader classLoader)
已过时。
DO NOT invoke it in any new TableSourceFactory/TableSinkFactory, please directly
use TableSourceFactory/TableSinkFactory instance to get CatalogTable. We just use it to
transition the old CatalogTable creation logic. Details please check
|
static List<CatalogTable> |
getCatalogTables(String factoryId,
ReadonlyConfig readonlyConfig,
ClassLoader classLoader)
已过时。
|
@Deprecated public static CatalogTable getCatalogTable(String tableName, SeaTunnelRowType rowType)
public static CatalogTable getCatalogTable(String catalog, String database, String schema, String tableName, SeaTunnelRowType rowType)
@Deprecated public static List<CatalogTable> getCatalogTables(ReadonlyConfig readonlyConfig, ClassLoader classLoader)
@Deprecated public static List<CatalogTable> getCatalogTables(String factoryId, ReadonlyConfig readonlyConfig, ClassLoader classLoader)
public static CatalogTable buildWithConfig(org.apache.seatunnel.shade.com.typesafe.config.Config config)
public static SeaTunnelDataType<SeaTunnelRow> convertToDataType(List<CatalogTable> catalogTables)
public static MultipleRowType convertToMultipleRowType(List<CatalogTable> catalogTables)
@Deprecated public static List<CatalogTable> convertDataTypeToCatalogTables(SeaTunnelDataType<?> seaTunnelDataType, String tableId)
public static CatalogTable buildWithConfig(ReadonlyConfig readonlyConfig)
public static CatalogTable buildWithConfig(String catalogName, ReadonlyConfig readonlyConfig)
public static SeaTunnelRowType buildSimpleTextSchema()
public static CatalogTable buildSimpleTextTable()
Copyright © 2024 The Apache Software Foundation. All rights reserved.