public class MultiInputSplit
extends java.lang.Object
implements org.apache.hadoop.mapred.InputSplit, org.apache.hadoop.mapred.JobConfigurable
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CASCADING_SOURCE_PATH |
Constructor and Description |
---|
MultiInputSplit()
This constructor is used internally by Hadoop.
|
MultiInputSplit(org.apache.hadoop.mapred.InputSplit inputSplit,
java.util.Map<java.lang.String,java.lang.String> config) |
Modifier and Type | Method and Description |
---|---|
void |
configure(org.apache.hadoop.mapred.JobConf jobConf) |
static java.lang.String |
getCurrentTapSourcePath(org.apache.hadoop.mapred.JobConf jobConf)
Method getCurrentTapSourcePath finds and returns the current source Tap filename path, if any.
|
long |
getLength() |
java.lang.String[] |
getLocations() |
org.apache.hadoop.mapred.InputSplit |
getWrappedInputSplit() |
void |
readFields(java.io.DataInput in) |
void |
write(java.io.DataOutput out) |
public static final java.lang.String CASCADING_SOURCE_PATH
public MultiInputSplit(org.apache.hadoop.mapred.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(org.apache.hadoop.mapred.JobConf jobConf)
jobConf
- public void configure(org.apache.hadoop.mapred.JobConf jobConf)
configure
in interface org.apache.hadoop.mapred.JobConfigurable
public long getLength() throws java.io.IOException
getLength
in interface org.apache.hadoop.mapred.InputSplit
java.io.IOException
public java.lang.String[] getLocations() throws java.io.IOException
getLocations
in interface org.apache.hadoop.mapred.InputSplit
java.io.IOException
public org.apache.hadoop.mapred.InputSplit getWrappedInputSplit()
public void write(java.io.DataOutput out) throws java.io.IOException
write
in interface org.apache.hadoop.io.Writable
java.io.IOException
public void readFields(java.io.DataInput in) throws java.io.IOException
readFields
in interface org.apache.hadoop.io.Writable
java.io.IOException