public final class MapReduceParsedInputFormat extends MapReduceMRQLFileInputFormat
Modifier and Type | Class and Description |
---|---|
static class |
MapReduceParsedInputFormat.ParsedRecordReader |
Constructor and Description |
---|
MapReduceParsedInputFormat() |
Modifier and Type | Method and Description |
---|---|
org.apache.hadoop.mapreduce.RecordReader<MRContainer,MRContainer> |
createRecordReader(org.apache.hadoop.mapreduce.InputSplit split,
org.apache.hadoop.mapreduce.TaskAttemptContext context)
record reader for map-reduce
|
Bag |
materialize(org.apache.hadoop.fs.Path path)
Find the parser associated with each file in the path and parse the file,
inserting all results into a Bag.
|
collect
addInputPath, addInputPaths, computeSplitSize, getBlockIndex, getFormatMinSplitSize, getInputPathFilter, getInputPaths, getMaxSplitSize, getMinSplitSize, getSplits, isSplitable, listStatus, setInputPathFilter, setInputPaths, setInputPaths, setMaxInputSplitSize, setMinInputSplitSize
public org.apache.hadoop.mapreduce.RecordReader<MRContainer,MRContainer> createRecordReader(org.apache.hadoop.mapreduce.InputSplit split, org.apache.hadoop.mapreduce.TaskAttemptContext context) throws IOException, InterruptedException
MapReduceMRQLFileInputFormat
createRecordReader
in class MapReduceMRQLFileInputFormat
IOException
InterruptedException
public Bag materialize(org.apache.hadoop.fs.Path path) throws IOException
materialize
in interface MRQLFileInputFormat
materialize
in class MapReduceMRQLFileInputFormat
path
- the path directory with the filesIOException
Copyright © 2013–2014 The Apache Software Foundation. All rights reserved.