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, isSingleInputSupported
public DynamicInputDataSetConfiguratorHandler()
public void appendConfigurator(InputDataSetConfigurator configurator)
configurator
- an instance of InputDataSetConfigurator
public void appendConfigurators(java.util.List<InputDataSetConfigurator> configurators)
configurators
- a list of InputDataSetConfigurator
public void clear()
public java.util.List<InputDataSetConfigurator> getConfigurators(Configuration conf)
InputDataSetConfiguratorHandler
InputDataSetConfigurator
instances supported by this handler.getConfigurators
in class InputDataSetConfiguratorHandler
public void prepend(InputDataSetConfigurator configurator)
configurator
- an instanceof InputDataSetConfigurator
public boolean removeConfigurator(InputDataSetConfigurator configurator)
configurator
- an instance of InputDataSetConfigurator
Copyright © 2017 Oracle and/or its affiliates. All Rights Reserved.