D
- The type of data set the configurator supports
public interface DataSetConfigurator<D extends IODataSet>
Modifier and Type | Method and Description |
---|---|
boolean |
acceptsDataSet(D dataSet)
Returns true if the current configurator can configure the given data set
|
void |
configure(D dataSet, Configuration conf)
Setups the given data set using the given job's configuration
|
boolean acceptsDataSet(D dataSet)
dataSet
- a data setvoid configure(D dataSet, Configuration conf) throws java.lang.Exception
dataSet
- a data setconf
- a job configurationjava.lang.Exception
Copyright © 2017 Oracle and/or its affiliates. All Rights Reserved.