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, org.apache.hadoop.conf.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(org.apache.hadoop.conf.Configuration conf)
Gets a collection of
InputDataSetConfigurator instances supported by this handler. |
boolean |
isMultiInputSupported(org.apache.hadoop.conf.Configuration conf) |
boolean |
isSingleInputSupported(org.apache.hadoop.conf.Configuration conf) |
public abstract java.lang.Iterable<InputDataSetConfigurator> getConfigurators(org.apache.hadoop.conf.Configuration conf)
InputDataSetConfigurator instances supported by this handler.conf -public void configure(AbstractInputDataSet dataSet, org.apache.hadoop.conf.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 boolean isSingleInputSupported(org.apache.hadoop.conf.Configuration conf)
public boolean isMultiInputSupported(org.apache.hadoop.conf.Configuration conf)
Copyright © 2016 Oracle and/or its affiliates. All Rights Reserved.