public final class MapReduceBinaryInputFormat extends MapReduceMRQLFileInputFormat
Modifier and Type | Field and Description |
---|---|
(package private) static org.apache.hadoop.mapreduce.lib.input.SequenceFileInputFormat<MRContainer,MRContainer> |
inputFormat |
Constructor and Description |
---|
MapReduceBinaryInputFormat() |
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)
collect the data from multiple sequence files at the path directory into a Bag
|
collect
addInputPath, addInputPaths, computeSplitSize, getBlockIndex, getFormatMinSplitSize, getInputPathFilter, getInputPaths, getMaxSplitSize, getMinSplitSize, getSplits, isSplitable, listStatus, setInputPathFilter, setInputPaths, setInputPaths, setMaxInputSplitSize, setMinInputSplitSize
static final org.apache.hadoop.mapreduce.lib.input.SequenceFileInputFormat<MRContainer,MRContainer> inputFormat
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 directoryIOException
Copyright © 2013–2014 The Apache Software Foundation. All rights reserved.