@PublicEvolving public interface ExternalResourceDriverFactory
ExternalResourceDriver
. Instantiate a driver with configuration.
Drivers that can be instantiated with a factory automatically qualify for being loaded as a
plugin, so long as the driver jar is self-contained (excluding Flink dependencies) and contains a
META-INF/services/org.apache.flink.api.common.externalresource.ExternalResourceDriverFactory
file containing the qualified class name of the factory.
Modifier and Type | Method and Description |
---|---|
ExternalResourceDriver |
createExternalResourceDriver(Configuration config)
Construct the ExternalResourceDriver from configuration.
|
ExternalResourceDriver createExternalResourceDriver(Configuration config) throws Exception
config
- configuration for this external resourceException
- if there is something wrong during the creationCopyright © 2014–2024 The Apache Software Foundation. All rights reserved.