public abstract class SpatialIndexInputDataSetConfigurator extends FileInputDataSetConfigurator
SpatialIndexInputDataSet
. When used in a InputDataSetConfiguratorHandler
chain, it must precede to a FileInputDataSetConfigurator
or the last will accept instances of SpatialIndexInputDataSet
as that class extends from FileInputDataSet
.Constructor and Description |
---|
SpatialIndexInputDataSetConfigurator() |
Modifier and Type | Method and Description |
---|---|
boolean |
acceptsDataSet(AbstractInputDataSet dataSet)
Returns true if the current configurator can configure the given data set
|
void |
configure(AbstractInputDataSet dataSet, Configuration conf)
Setups the given data set using the given job's configuration
|
validateInputFormatClass, validateInputPaths
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getBaseInputFormatClass
public SpatialIndexInputDataSetConfigurator()
public boolean acceptsDataSet(AbstractInputDataSet dataSet)
DataSetConfigurator
acceptsDataSet
in interface DataSetConfigurator<AbstractInputDataSet>
acceptsDataSet
in class FileInputDataSetConfigurator
dataSet
- a data setpublic void configure(AbstractInputDataSet dataSet, Configuration conf) throws java.lang.Exception
DataSetConfigurator
configure
in interface DataSetConfigurator<AbstractInputDataSet>
configure
in class FileInputDataSetConfigurator
dataSet
- a data setconf
- a job configurationjava.lang.Exception
Copyright © 2017 Oracle and/or its affiliates. All Rights Reserved.