cascading.tap.hadoop
Class MultiInputSplit
java.lang.Object
cascading.tap.hadoop.MultiInputSplit
- All Implemented Interfaces:
- Writable, InputSplit, JobConfigurable
public class MultiInputSplit
- extends java.lang.Object
- implements InputSplit, JobConfigurable
Class MultiInputSplit is used by MultiInputFormat
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MultiInputSplit
public MultiInputSplit(InputSplit inputSplit,
java.util.Map<java.lang.String,java.lang.String> config)
MultiInputSplit
public MultiInputSplit()
getCurrentTapSourcePath
public static java.lang.String getCurrentTapSourcePath(JobConf jobConf)
- Method getCurrentTapSourcePath finds and returns the current source Tap filename path, if any.
Use this method inside an Operation to find the current file being processed.
- Parameters:
jobConf
-
- Returns:
- a String
configure
public void configure(JobConf jobConf)
- Specified by:
configure
in interface JobConfigurable
getLength
public long getLength()
throws java.io.IOException
- Specified by:
getLength
in interface InputSplit
- Throws:
java.io.IOException
getLocations
public java.lang.String[] getLocations()
throws java.io.IOException
- Specified by:
getLocations
in interface InputSplit
- Throws:
java.io.IOException
write
public void write(java.io.DataOutput out)
throws java.io.IOException
- Specified by:
write
in interface Writable
- Throws:
java.io.IOException
readFields
public void readFields(java.io.DataInput in)
throws java.io.IOException
- Specified by:
readFields
in interface Writable
- Throws:
java.io.IOException
Copyright © 2007-2011 Concurrent, Inc. All Rights Reserved.