public class MultiFileCollectionInputFormat extends org.apache.hadoop.mapred.MultiFileInputFormat<org.apache.hadoop.io.Text,SplitAwareWrapper<Document>>
Modifier and Type | Field and Description |
---|---|
protected static org.apache.log4j.Logger |
logger
logger for this class
|
Constructor and Description |
---|
MultiFileCollectionInputFormat() |
Modifier and Type | Method and Description |
---|---|
org.apache.hadoop.mapred.RecordReader<org.apache.hadoop.io.Text,SplitAwareWrapper<Document>> |
getRecordReader(org.apache.hadoop.mapred.InputSplit genericSplit,
org.apache.hadoop.mapred.JobConf job,
org.apache.hadoop.mapred.Reporter reporter) |
org.apache.hadoop.mapred.InputSplit[] |
getSplits(org.apache.hadoop.mapred.JobConf job,
int numSplits) |
public org.apache.hadoop.mapred.RecordReader<org.apache.hadoop.io.Text,SplitAwareWrapper<Document>> getRecordReader(org.apache.hadoop.mapred.InputSplit genericSplit, 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,SplitAwareWrapper<Document>>
getRecordReader
in class org.apache.hadoop.mapred.MultiFileInputFormat<org.apache.hadoop.io.Text,SplitAwareWrapper<Document>>
IOException
public org.apache.hadoop.mapred.InputSplit[] getSplits(org.apache.hadoop.mapred.JobConf job, int numSplits) throws IOException
getSplits
in interface org.apache.hadoop.mapred.InputFormat<org.apache.hadoop.io.Text,SplitAwareWrapper<Document>>
getSplits
in class org.apache.hadoop.mapred.MultiFileInputFormat<org.apache.hadoop.io.Text,SplitAwareWrapper<Document>>
IOException
Terrier 4.0. Copyright © 2004-2014 University of Glasgow