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(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 |
setInputFormatClassAsString(java.lang.String inputFormatClassStr)
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(Configuration conf)
Stores the current state into the given job configuration
|
public java.lang.Class<?> getInputFormatClass()
AbstractInputDataSetgetInputFormatClass in interface AbstractInputDataSetpublic long getLength()
AbstractInputDataSetgetLength in interface AbstractInputDataSetpublic java.lang.Class<? extends RecordInfoProvider<?,?>> getRecordInfoProviderClass()
AbstractInputDataSetRecordInfoProvider class used to extract required information from the key-value pairs provided by the InputFormat.getRecordInfoProviderClass in interface AbstractInputDataSetRecordInfoProviderpublic SpatialConfig getSpatialConfig()
AbstractInputDataSetgetSpatialConfig in interface AbstractInputDataSetSpatialConfig instancepublic void load(Configuration conf)
ConfigurationStorableload in interface ConfigurationStorablepublic void setInputFormatClass(java.lang.Class<?> inputFormatClass)
AbstractInputDataSetsetInputFormatClass in interface AbstractInputDataSetinputFormatClass - a subclass of either, org.apache.hadoop.mapred.InputFormat or org.apache.hadoop.mapreduce.InputFormat.public void setInputFormatClassAsString(java.lang.String inputFormatClassStr)
AbstractInputDataSetsetInputFormatClassAsString in interface AbstractInputDataSetinputFormatClassStr - a fully qualified name a subclass of either, org.apache.hadoop.mapred.InputFormat or org.apache.hadoop.mapreduce.InputFormat.public void setLength(long length)
AbstractInputDataSetsetLength in interface AbstractInputDataSetlength - the data set lengthpublic void setRecordInfoProviderClass(java.lang.Class<? extends RecordInfoProvider<?,?>> recordInfoProviderClass)
AbstractInputDataSetRecordInfoProvider class used to extract required information from the key-value pairs provided by the InputFormat.setRecordInfoProviderClass in interface AbstractInputDataSetrecordInfoProviderClass - a subclass of RecordInfoProviderpublic void setSpatialConfig(SpatialConfig spatialConfig)
AbstractInputDataSetsetSpatialConfig in interface AbstractInputDataSetspatialConfig - a SpatialConfig instance.public void store(Configuration conf)
ConfigurationStorablestore in interface ConfigurationStorableCopyright © 2016 Oracle and/or its affiliates. All Rights Reserved.