public final class InputSplitWrapper extends Object implements IOReadableWritable
| Constructor and Description |
|---|
InputSplitWrapper()
Default constructor for serialization/deserialization.
|
InputSplitWrapper(JobID jobID,
InputSplit inputSplit)
Constructs a new input split wrapper.
|
| Modifier and Type | Method and Description |
|---|---|
InputSplit |
getInputSplit()
Returns the wrapped input split.
|
void |
read(DataInputView in) |
void |
write(DataOutputView out) |
public InputSplitWrapper(JobID jobID, InputSplit inputSplit)
jobID - the ID of the job the input split belongs toinputSplit - the input split to be wrappedpublic InputSplitWrapper()
public void write(DataOutputView out) throws IOException
write in interface IOReadableWritableIOExceptionpublic void read(DataInputView in) throws IOException
read in interface IOReadableWritableIOExceptionpublic InputSplit getInputSplit()
null in case no more input
splits shall be consumed by the requesting task.nullCopyright © 2014 The Apache Software Foundation. All rights reserved.