public static class SegmentMerger.ObjectInputFormat extends org.apache.hadoop.mapred.SequenceFileInputFormat<org.apache.hadoop.io.Text,MetaWrapper>
MetaWrapper, to permit merging different
types in reduce and use additional metadata.| Constructor and Description |
|---|
SegmentMerger.ObjectInputFormat() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.hadoop.mapred.RecordReader<org.apache.hadoop.io.Text,MetaWrapper> |
getRecordReader(org.apache.hadoop.mapred.InputSplit split,
org.apache.hadoop.mapred.JobConf job,
org.apache.hadoop.mapred.Reporter reporter) |
public org.apache.hadoop.mapred.RecordReader<org.apache.hadoop.io.Text,MetaWrapper> getRecordReader(org.apache.hadoop.mapred.InputSplit split, org.apache.hadoop.mapred.JobConf job, org.apache.hadoop.mapred.Reporter reporter) throws IOException
getRecordReader in interface org.apache.hadoop.mapred.InputFormat<org.apache.hadoop.io.Text,MetaWrapper>getRecordReader in class org.apache.hadoop.mapred.SequenceFileInputFormat<org.apache.hadoop.io.Text,MetaWrapper>IOExceptionCopyright © 2014 The Apache Software Foundation