public class BlockedNQuadsInputFormat extends AbstractNLineFileInputFormat<org.apache.hadoop.io.LongWritable,QuadWritable>
NQuadsInputFormat
or as
whole files with the WholeFileNQuadsInputFormat
This provides a compromise between the higher parser setup of creating more parsers and the benefit of being able to split input files over multiple mappers.
Constructor and Description |
---|
BlockedNQuadsInputFormat() |
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) |
getSplits
addInputPath, addInputPaths, getInputDirRecursive, getInputPathFilter, getInputPaths, getMaxSplitSize, getMinSplitSize, setInputDirRecursive, setInputPathFilter, setInputPaths, setInputPaths, setMaxInputSplitSize, setMinInputSplitSize
public 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