public class BlockedNTriplesInputFormat extends AbstractNLineFileInputFormat<org.apache.hadoop.io.LongWritable,TripleWritable>
NTriplesInputFormat or as
whole files with the WholeFileNTriplesInputFormat
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 |
|---|
BlockedNTriplesInputFormat() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.LongWritable,TripleWritable> |
createRecordReader(org.apache.hadoop.mapreduce.InputSplit split,
org.apache.hadoop.mapreduce.TaskAttemptContext context) |
getSplitsaddInputPath, addInputPaths, getInputDirRecursive, getInputPathFilter, getInputPaths, getMaxSplitSize, getMinSplitSize, setInputDirRecursive, setInputPathFilter, setInputPaths, setInputPaths, setMaxInputSplitSize, setMinInputSplitSizepublic org.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.LongWritable,TripleWritable> 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,TripleWritable>Licenced under the Apache License, Version 2.0