public abstract class StreamFileInputFormat<T>
extends org.apache.hadoop.mapreduce.lib.input.CombineFileInputFormat<String,T>
Constructor and Description |
---|
StreamFileInputFormat() |
Modifier and Type | Method and Description |
---|---|
abstract org.apache.hadoop.mapreduce.RecordReader<String,T> |
createRecordReader(org.apache.hadoop.mapreduce.InputSplit split,
org.apache.hadoop.mapreduce.TaskAttemptContext taContext) |
void |
setMinPartitions(org.apache.hadoop.mapreduce.JobContext context,
int minPartitions)
Allow minPartitions set by end-user in order to keep compatibility with old Hadoop API
which is set through setMaxSplitSize
|
public void setMinPartitions(org.apache.hadoop.mapreduce.JobContext context, int minPartitions)
public abstract org.apache.hadoop.mapreduce.RecordReader<String,T> createRecordReader(org.apache.hadoop.mapreduce.InputSplit split, org.apache.hadoop.mapreduce.TaskAttemptContext taContext)
createRecordReader
in class org.apache.hadoop.mapreduce.lib.input.CombineFileInputFormat<String,T>