public final class FactoryUtil extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
static String |
DEFAULT_ID |
| 构造器和说明 |
|---|
FactoryUtil() |
| 限定符和类型 | 方法和说明 |
|---|---|
static <IN,StateT,CommitInfoT,AggregatedCommitInfoT> |
createAndPrepareSink(CatalogTable catalogTable,
ReadonlyConfig options,
ClassLoader classLoader,
String factoryIdentifier) |
static <T,SplitT extends SourceSplit,StateT extends Serializable> |
createAndPrepareSource(ReadonlyConfig options,
ClassLoader classLoader,
String factoryIdentifier) |
static SeaTunnelTransform<?> |
createAndPrepareTransform(CatalogTable catalogTable,
ReadonlyConfig options,
ClassLoader classLoader,
String factoryIdentifier) |
static <IN,StateT,CommitInfoT,AggregatedCommitInfoT> |
createMultiTableSink(Map<String,SeaTunnelSink> sinks,
ReadonlyConfig options,
ClassLoader classLoader) |
static Optional<Catalog> |
createOptionalCatalog(String catalogName,
ReadonlyConfig options,
ClassLoader classLoader,
String factoryIdentifier) |
static List<Factory> |
discoverFactories(ClassLoader classLoader) |
static <T extends Factory> |
discoverFactories(ClassLoader classLoader,
Class<T> factoryClass) |
static <T extends Factory> |
discoverFactory(ClassLoader classLoader,
Class<T> factoryClass,
String factoryIdentifier) |
static <T extends Factory> |
discoverOptionalFactory(ClassLoader classLoader,
Class<T> factoryClass,
String factoryIdentifier) |
static <T extends Factory> |
getFactoryUrl(T factory) |
static OptionRule |
sinkFullOptionRule(@NonNull TableSinkFactory factory)
This method is called by SeaTunnel Web to get the full option rule of a sink.
|
static OptionRule |
sourceFullOptionRule(@NonNull TableSourceFactory factory)
This method is called by SeaTunnel Web to get the full option rule of a source.
|
public static <T,SplitT extends SourceSplit,StateT extends Serializable> scala.Tuple2<SeaTunnelSource<T,SplitT,StateT>,List<CatalogTable>> createAndPrepareSource(ReadonlyConfig options, ClassLoader classLoader, String factoryIdentifier)
public static <IN,StateT,CommitInfoT,AggregatedCommitInfoT> SeaTunnelSink<IN,StateT,CommitInfoT,AggregatedCommitInfoT> createAndPrepareSink(CatalogTable catalogTable, ReadonlyConfig options, ClassLoader classLoader, String factoryIdentifier)
public static <IN,StateT,CommitInfoT,AggregatedCommitInfoT> SeaTunnelSink<IN,StateT,CommitInfoT,AggregatedCommitInfoT> createMultiTableSink(Map<String,SeaTunnelSink> sinks, ReadonlyConfig options, ClassLoader classLoader)
public static Optional<Catalog> createOptionalCatalog(String catalogName, ReadonlyConfig options, ClassLoader classLoader, String factoryIdentifier)
public static <T extends Factory> Optional<T> discoverOptionalFactory(ClassLoader classLoader, Class<T> factoryClass, String factoryIdentifier)
public static <T extends Factory> T discoverFactory(ClassLoader classLoader, Class<T> factoryClass, String factoryIdentifier)
public static <T extends Factory> List<T> discoverFactories(ClassLoader classLoader, Class<T> factoryClass)
public static List<Factory> discoverFactories(ClassLoader classLoader)
public static OptionRule sourceFullOptionRule(@NonNull @NonNull TableSourceFactory factory)
public static OptionRule sinkFullOptionRule(@NonNull @NonNull TableSinkFactory factory)
public static SeaTunnelTransform<?> createAndPrepareTransform(CatalogTable catalogTable, ReadonlyConfig options, ClassLoader classLoader, String factoryIdentifier)
Copyright © 2024 The Apache Software Foundation. All rights reserved.