public class FileInputDataSet extends SimpleInputDataSet
| Constructor and Description |
|---|
FileInputDataSet() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getInputString()
Gets the location of the data set's files as a string.
|
org.apache.hadoop.fs.Path[] |
getPaths()
Gets the paths where the data set files are located
|
void |
load(org.apache.hadoop.conf.Configuration conf)
Loads the current state from the given job configuration
|
void |
setInputString(java.lang.String inputString)
Sets the location of the data set's files as a string.
|
void |
setPaths(org.apache.hadoop.fs.Path[] paths)
Sets the paths where the data set files are located
|
void |
store(org.apache.hadoop.conf.Configuration conf)
Stores the current state into the given job configuration
|
getInputFormatClass, getLength, getRecordInfoProviderClass, getSpatialConfig, setInputFormatClass, setLength, setRecordInfoProviderClass, setSpatialConfigpublic void setInputString(java.lang.String inputString)
inputString - a string containing the input data set's filespublic java.lang.String getInputString()
public org.apache.hadoop.fs.Path[] getPaths()
public void setPaths(org.apache.hadoop.fs.Path[] paths)
paths - an array of pathspublic void store(org.apache.hadoop.conf.Configuration conf)
ConfigurationStorablestore in interface ConfigurationStorablestore in class SimpleInputDataSetpublic void load(org.apache.hadoop.conf.Configuration conf)
ConfigurationStorableload in interface ConfigurationStorableload in class SimpleInputDataSetCopyright © 2016 Oracle and/or its affiliates. All Rights Reserved.