public class DynamicInputDataSetConfiguratorHandler extends InputDataSetConfiguratorHandler
InputDataSetConfiguratorHandler which can be configured dynamically by adding its InputDataSetConfigurator instances.| Constructor and Description |
|---|
DynamicInputDataSetConfiguratorHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
appendConfigurator(InputDataSetConfigurator configurator)
Adds a configurator to the end of the configurators chain.
|
void |
appendConfigurators(java.util.List<InputDataSetConfigurator> configurators)
Adds all the configurators to the end of the configurators chain.
|
void |
clear()
Removes all the configurators from the configurators chain
|
java.util.List<InputDataSetConfigurator> |
getConfigurators(Configuration conf)
Gets a collection of
InputDataSetConfigurator instances supported by this handler. |
void |
prepend(InputDataSetConfigurator configurator)
Adds a configurator at the beginning of the configurators chain
|
boolean |
removeConfigurator(InputDataSetConfigurator configurator)
Removes a configurator from the configurators chain
|
configure, isMultiInputSupported, isSingleInputSupportedpublic DynamicInputDataSetConfiguratorHandler()
public void appendConfigurator(InputDataSetConfigurator configurator)
configurator - an instance of InputDataSetConfiguratorpublic void appendConfigurators(java.util.List<InputDataSetConfigurator> configurators)
configurators - a list of InputDataSetConfiguratorpublic void clear()
public java.util.List<InputDataSetConfigurator> getConfigurators(Configuration conf)
InputDataSetConfiguratorHandlerInputDataSetConfigurator instances supported by this handler.getConfigurators in class InputDataSetConfiguratorHandlerpublic void prepend(InputDataSetConfigurator configurator)
configurator - an instanceof InputDataSetConfiguratorpublic boolean removeConfigurator(InputDataSetConfigurator configurator)
configurator - an instance of InputDataSetConfiguratorCopyright © 2017 Oracle and/or its affiliates. All Rights Reserved.