public class SimpleInputDataSet extends java.lang.Object implements AbstractInputDataSet
InputDataSetConfigurator
.Constructor and Description |
---|
SimpleInputDataSet() |
Modifier and Type | Method and Description |
---|---|
java.lang.Class<?> |
getInputFormatClass()
Gets the InputFormat class used to read the input data set
|
long |
getLength()
Gets the length (in bytes) of the data set
|
java.lang.Class<? extends RecordInfoProvider<?,?>> |
getRecordInfoProviderClass()
Gets the
RecordInfoProvider class used to extract required information from the key-value pairs provided by the InputFormat. |
SpatialConfig |
getSpatialConfig()
Gets the spatial configuration of the data set which defines the spatial features of the data set such as SRID, dimensions and boundaries.
|
void |
load(org.apache.hadoop.conf.Configuration conf)
Loads the current state from the given job configuration
|
void |
setInputFormatClass(java.lang.Class<?> inputFormatClass)
Sets the InputFormat class used to read the input data set
|
void |
setLength(long length)
Sets the length (in bytes) of the data set
|
void |
setRecordInfoProviderClass(java.lang.Class<? extends RecordInfoProvider<?,?>> recordInfoProviderClass)
Sets the
RecordInfoProvider class used to extract required information from the key-value pairs provided by the InputFormat. |
void |
setSpatialConfig(SpatialConfig spatialConfig)
Sets the spatial configuration of the data set which defines the spatial features of the data set such as SRID, dimensions and boundaries.
|
void |
store(org.apache.hadoop.conf.Configuration conf)
Stores the current state into the given job configuration
|
public java.lang.Class<?> getInputFormatClass()
AbstractInputDataSet
getInputFormatClass
in interface AbstractInputDataSet
public void setInputFormatClass(java.lang.Class<?> inputFormatClass)
AbstractInputDataSet
setInputFormatClass
in interface AbstractInputDataSet
inputFormatClass
- a subclass of either, org.apache.hadoop.mapred.InputFormat or org.apache.hadoop.mapreduce.InputFormat.public java.lang.Class<? extends RecordInfoProvider<?,?>> getRecordInfoProviderClass()
AbstractInputDataSet
RecordInfoProvider
class used to extract required information from the key-value pairs provided by the InputFormat.getRecordInfoProviderClass
in interface AbstractInputDataSet
RecordInfoProvider
public void setRecordInfoProviderClass(java.lang.Class<? extends RecordInfoProvider<?,?>> recordInfoProviderClass)
AbstractInputDataSet
RecordInfoProvider
class used to extract required information from the key-value pairs provided by the InputFormat.setRecordInfoProviderClass
in interface AbstractInputDataSet
recordInfoProviderClass
- a subclass of RecordInfoProvider
public SpatialConfig getSpatialConfig()
AbstractInputDataSet
getSpatialConfig
in interface AbstractInputDataSet
SpatialConfig
instancepublic void setSpatialConfig(SpatialConfig spatialConfig)
AbstractInputDataSet
setSpatialConfig
in interface AbstractInputDataSet
spatialConfig
- a SpatialConfig
instance.public long getLength()
AbstractInputDataSet
getLength
in interface AbstractInputDataSet
public void setLength(long length)
AbstractInputDataSet
setLength
in interface AbstractInputDataSet
length
- the data set lengthpublic void store(org.apache.hadoop.conf.Configuration conf)
ConfigurationStorable
store
in interface ConfigurationStorable
public void load(org.apache.hadoop.conf.Configuration conf)
ConfigurationStorable
load
in interface ConfigurationStorable
Copyright © 2016 Oracle and/or its affiliates. All Rights Reserved.