Interface TableDiscovererFactory
-
- All Superinterfaces:
ObjectIdDiscovererFactory<TableId>
- All Known Implementing Classes:
FlussDefaultDiscovererFactory,JdbcTableDiscovererFactory
@PublicEvolving public interface TableDiscovererFactory extends ObjectIdDiscovererFactory<TableId>
Table-specific SPI factory that creates aTableDiscoverer.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.flink.cdc.common.source.discover.ObjectIdDiscovererFactory
ObjectIdDiscovererFactory.DefaultObjectIdDiscovererContext
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static ObjectIdDiscoverer.ContextcreateContext(Configuration configuration, ClassLoader classLoader)Creates a discoverer context with the given configuration and class loader.TableDiscoverercreateDiscoverer()Creates a new uninitializedTableDiscoverer.static TableDiscoverercreateDiscoverer(String type, ClassLoader classLoader)Discovers a table discoverer factory via SPI and delegates discoverer creation to it.default Class<TableId>objectIdClass()Compatibility alias for the old single identifier, now meaning storage-side type.-
Methods inherited from interface org.apache.flink.cdc.common.source.discover.ObjectIdDiscovererFactory
type
-
-
-
-
Method Detail
-
objectIdClass
default Class<TableId> objectIdClass()
Compatibility alias for the old single identifier, now meaning storage-side type.- Specified by:
objectIdClassin interfaceObjectIdDiscovererFactory<TableId>
-
createDiscoverer
TableDiscoverer createDiscoverer()
Creates a new uninitializedTableDiscoverer.- Specified by:
createDiscovererin interfaceObjectIdDiscovererFactory<TableId>
-
createContext
static ObjectIdDiscoverer.Context createContext(Configuration configuration, ClassLoader classLoader)
Creates a discoverer context with the given configuration and class loader.
-
createDiscoverer
static TableDiscoverer createDiscoverer(String type, ClassLoader classLoader)
Discovers a table discoverer factory via SPI and delegates discoverer creation to it.
-
-