public interface ConfigLoaderFactory
ConfigLoader
instance to load full job config.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CONFIG_LOADER_PROPERTIES_PREFIX
job.config.loader.properties prefix wraps properties needed for
ConfigLoader to loader config. |
Modifier and Type | Method and Description |
---|---|
ConfigLoader |
getLoader(Config config)
Get an instance of
ConfigLoader |
static final java.lang.String CONFIG_LOADER_PROPERTIES_PREFIX
ConfigLoader
to loader config.
e.g. PropertiesConfigLoaderFactory will read job.config.loader.properties.path to locate the config file locationConfigLoader getLoader(Config config)
ConfigLoader
config
- start up config which specifies properties needed for the loader to load full job config.