public abstract class BGZFSplitFileInputFormat<K,V>
extends org.apache.hadoop.mapreduce.lib.input.FileInputFormat<K,V>
InputFormat for BGZF-compressed
files.
A BGZFBlockIndex for each Path used is required, or an
IOException is thrown out of getSplits(org.apache.hadoop.mapreduce.JobContext).
| Constructor and Description |
|---|
BGZFSplitFileInputFormat() |
| Modifier and Type | Method and Description |
|---|---|
List<org.apache.hadoop.mapreduce.InputSplit> |
getSplits(org.apache.hadoop.mapreduce.JobContext job)
The splits returned are FileSplits.
|
boolean |
isSplitable(org.apache.hadoop.mapreduce.JobContext job,
org.apache.hadoop.fs.Path path) |
addInputPath, addInputPathRecursively, addInputPaths, computeSplitSize, getBlockIndex, getFormatMinSplitSize, getInputDirRecursive, getInputPathFilter, getInputPaths, getMaxSplitSize, getMinSplitSize, listStatus, makeSplit, setInputDirRecursive, setInputPathFilter, setInputPaths, setInputPaths, setMaxInputSplitSize, setMinInputSplitSizepublic List<org.apache.hadoop.mapreduce.InputSplit> getSplits(org.apache.hadoop.mapreduce.JobContext job) throws IOException
getSplits in class org.apache.hadoop.mapreduce.lib.input.FileInputFormat<K,V>IOExceptionCopyright © 2016. All rights reserved.