@Deprecated @Internal public interface ManagedTableFactory extends DynamicTableFactory
FactoryUtil.CONNECTOR option.DynamicTableFactory.Context| 限定符和类型 | 字段和说明 |
|---|---|
static String |
DEFAULT_IDENTIFIER
已过时。
factoryIdentifier() for the managed table factory. |
| 限定符和类型 | 方法和说明 |
|---|---|
static ManagedTableFactory |
discoverManagedTableFactory(ClassLoader classLoader)
已过时。
Discovers the unique implementation of
ManagedTableFactory without identifier. |
Map<String,String> |
enrichOptions(DynamicTableFactory.Context context)
已过时。
Enrich options from catalog and session information.
|
default String |
factoryIdentifier()
已过时。
Returns a unique identifier among same factory interfaces.
|
Map<String,String> |
onCompactTable(DynamicTableFactory.Context context,
CatalogPartitionSpec partitionSpec)
已过时。
Notifies the listener that a table compaction occurred.
|
void |
onCreateTable(DynamicTableFactory.Context context,
boolean ignoreIfExists)
已过时。
Notifies the listener that a table creation occurred.
|
void |
onDropTable(DynamicTableFactory.Context context,
boolean ignoreIfNotExists)
已过时。
Notifies the listener that a table drop occurred.
|
forwardOptionsoptionalOptions, requiredOptionsstatic final String DEFAULT_IDENTIFIER
factoryIdentifier() for the managed table factory.default String factoryIdentifier()
FactoryFor consistency, an identifier should be declared as one lower case word (e.g. kafka). If multiple factories exist for different versions, a version should be appended
using "-" (e.g. elasticsearch-7).
factoryIdentifier 在接口中 FactoryMap<String,String> enrichOptions(DynamicTableFactory.Context context)
void onCreateTable(DynamicTableFactory.Context context, boolean ignoreIfExists)
void onDropTable(DynamicTableFactory.Context context, boolean ignoreIfNotExists)
Map<String,String> onCompactTable(DynamicTableFactory.Context context, CatalogPartitionSpec partitionSpec)
static ManagedTableFactory discoverManagedTableFactory(ClassLoader classLoader)
ManagedTableFactory without identifier.Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.