public class MultiInputSplit extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CASCADING_SOURCE_PATH
Deprecated.
see
FileType.CASCADING_SOURCE_PATH. |
| Constructor and Description |
|---|
MultiInputSplit()
This constructor is used internally by Hadoop.
|
MultiInputSplit(InputSplit inputSplit,
java.util.Map<java.lang.String,java.lang.String> config) |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(JobConf jobConf) |
static java.lang.String |
getCurrentTapSourcePath(JobConf jobConf)
Method getCurrentTapSourcePath finds and returns the current source Tap filename path, if any.
|
long |
getLength() |
java.lang.String[] |
getLocations() |
InputSplit |
getWrappedInputSplit() |
void |
readFields(java.io.DataInput in) |
void |
write(java.io.DataOutput out) |
@Deprecated public static final java.lang.String CASCADING_SOURCE_PATH
FileType.CASCADING_SOURCE_PATH.public MultiInputSplit(InputSplit inputSplit, java.util.Map<java.lang.String,java.lang.String> config)
public MultiInputSplit()
#configure(org.apache.hadoop.mapred.JobConf)
and readFields(java.io.DataInput) are called to properly initialize.public static java.lang.String getCurrentTapSourcePath(JobConf jobConf)
Use this method inside an Operation to find the current file being processed.
jobConf - public void configure(JobConf jobConf)
public long getLength() throws java.io.IOException
java.io.IOExceptionpublic java.lang.String[] getLocations() throws java.io.IOException
java.io.IOExceptionpublic InputSplit getWrappedInputSplit()
public void write(java.io.DataOutput out) throws java.io.IOException
java.io.IOExceptionpublic void readFields(java.io.DataInput in) throws java.io.IOException
java.io.IOExceptionCopyright © 2007-2021 Cascading Maintainers. All Rights Reserved.