public class WholeFileNQuadsInputFormat extends AbstractWholeFileInputFormat<org.apache.hadoop.io.LongWritable,QuadWritable>
NQuadsInputFormat
This has the advantage of less parser setup overhead but the disadvantage that the input cannot be split over multiple mappers.
| Constructor and Description |
|---|
WholeFileNQuadsInputFormat() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.LongWritable,QuadWritable> |
createRecordReader(org.apache.hadoop.mapreduce.InputSplit split,
org.apache.hadoop.mapreduce.TaskAttemptContext context) |
addInputPath, addInputPaths, getInputDirRecursive, getInputPathFilter, getInputPaths, getMaxSplitSize, getMinSplitSize, getSplits, setInputDirRecursive, setInputPathFilter, setInputPaths, setInputPaths, setMaxInputSplitSize, setMinInputSplitSizepublic org.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.LongWritable,QuadWritable> createRecordReader(org.apache.hadoop.mapreduce.InputSplit split, org.apache.hadoop.mapreduce.TaskAttemptContext context)
createRecordReader in class org.apache.hadoop.mapreduce.InputFormat<org.apache.hadoop.io.LongWritable,QuadWritable>Licenced under the Apache License, Version 2.0