Interface ExternalResourceDriverFactory
-
@PublicEvolving public interface ExternalResourceDriverFactoryFactory forExternalResourceDriver. 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.ExternalResourceDriverFactoryfile containing the qualified class name of the factory.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ExternalResourceDrivercreateExternalResourceDriver(Configuration config)Construct the ExternalResourceDriver from configuration.
-
-
-
Method Detail
-
createExternalResourceDriver
ExternalResourceDriver createExternalResourceDriver(Configuration config) throws Exception
Construct the ExternalResourceDriver from configuration.- Parameters:
config- configuration for this external resource- Returns:
- the driver for this external resource
- Throws:
Exception- if there is something wrong during the creation
-
-