public abstract class InputDataSetConfiguratorHandler
extends java.lang.Object
InputDataSetConfigurator instances. Given an instance of AbstractInputDataSet, a configurator handler will look at its list of InputDataSetConfigurator to find a configurator that can be used to setup the given input data set.| Constructor and Description |
|---|
InputDataSetConfiguratorHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(AbstractInputDataSet dataSet, Configuration conf)
Looks for a configurator suited for the input data set and calls the
InputDataSetConfigurator#configure(AbstractInputDataSet, Configuration) if found. |
abstract java.lang.Iterable<InputDataSetConfigurator> |
getConfigurators(Configuration conf)
Gets a collection of
InputDataSetConfigurator instances supported by this handler. |
boolean |
isMultiInputSupported(Configuration conf) |
boolean |
isSingleInputSupported(Configuration conf) |
public void configure(AbstractInputDataSet dataSet, Configuration conf) throws java.lang.Exception
InputDataSetConfigurator#configure(AbstractInputDataSet, Configuration) if found. If no configurator is found and Exception is raiseddataSet - an input data setconf - a job configurationjava.lang.Exceptionpublic abstract java.lang.Iterable<InputDataSetConfigurator> getConfigurators(Configuration conf)
InputDataSetConfigurator instances supported by this handler.conf -public boolean isMultiInputSupported(Configuration conf)
public boolean isSingleInputSupported(Configuration conf)
Copyright © 2017 Oracle and/or its affiliates. All Rights Reserved.