Example usage for Java org.apache.hadoop.mapreduce.lib.input FileInputFormat fields, constructors, methods, implement or subclass
The text is from its open source code.
String | INPUT_DIR |
String | SPLIT_MAXSIZE |
String | SPLIT_MINSIZE |
String | PATHFILTER_CLASS |
String | NUM_INPUT_FILES |
String | INPUT_DIR_RECURSIVE |
String | LIST_STATUS_NUM_THREADS |
void | addInputPath(Job job, Path path) Add a Path to the list of inputs for the map-reduce job. |
void | addInputPaths(Job job, String commaSeparatedPaths) Add the given comma separated paths to the list of inputs for the map-reduce job. |
boolean | getInputDirRecursive(JobContext job) |
Path[] | getInputPaths(JobContext context) Get the list of input Path s for the map-reduce job. |
List | getSplits(JobContext job) Generate the list of files and make them into FileSplits. |
void | setInputDirRecursive(Job job, boolean inputDirRecursive) |
void | setInputPathFilter(Job job, Class extends PathFilter> filter) Set a PathFilter to be applied to the input paths for the map-reduce job. |
void | setInputPaths(Job job, String commaSeparatedPaths) Sets the given comma separated paths as the list of inputs for the map-reduce job. |
void | setInputPaths(Job job, Path... inputPaths) Set the array of Path s as the list of inputs for the map-reduce job. |
void | setMaxInputSplitSize(Job job, long size) Set the maximum split size |
void | setMinInputSplitSize(Job job, long size) Set the minimum input split size |