public class MultiInputFormat extends java.lang.Object
| Constructor and Description |
|---|
MultiInputFormat() |
| Modifier and Type | Method and Description |
|---|---|
static void |
addInputFormat(JobConf toJob,
JobConf... fromJobs)
Used to set the current JobConf with all sub jobs configurations.
|
RecordReader |
getRecordReader(InputSplit split,
JobConf job,
Reporter reporter)
Method getRecordReader delegates to the appropriate InputFormat.
|
InputSplit[] |
getSplits(JobConf job,
int numSplits)
Method getSplits delegates to the appropriate InputFormat.
|
void |
validateInput(JobConf job) |
public MultiInputFormat()
public static void addInputFormat(JobConf toJob, JobConf... fromJobs)
toJob - fromJobs - public void validateInput(JobConf job) throws java.io.IOException
java.io.IOExceptionpublic InputSplit[] getSplits(JobConf job, int numSplits) throws java.io.IOException
job - of type JobConfnumSplits - of type intjava.io.IOException - whenpublic RecordReader getRecordReader(InputSplit split, JobConf job, Reporter reporter) throws java.io.IOException
split - of type InputSplitjob - of type JobConfreporter - of type Reporterjava.io.IOException - whenCopyright © 2007-2021 Cascading Maintainers. All Rights Reserved.