de.kumpe.hadooptimizer.hadoop
Class IndividualInputFormat.IndividualInputSplit<I extends Serializable>
java.lang.Object
org.apache.hadoop.mapreduce.InputSplit
de.kumpe.hadooptimizer.hadoop.IndividualInputFormat.IndividualInputSplit<I>
- All Implemented Interfaces:
- Serializable
- Enclosing class:
- IndividualInputFormat<I extends Serializable>
public static final class IndividualInputFormat.IndividualInputSplit<I extends Serializable>
- extends org.apache.hadoop.mapreduce.InputSplit
- implements Serializable
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IndividualInputFormat.IndividualInputSplit
public IndividualInputFormat.IndividualInputSplit(Collection<I> individuals,
long seed)
getSeed
public long getSeed()
getLength
public long getLength()
throws IOException,
InterruptedException
- Specified by:
getLength
in class org.apache.hadoop.mapreduce.InputSplit
- Throws:
IOException
InterruptedException
getLocations
public String[] getLocations()
throws IOException,
InterruptedException
- Specified by:
getLocations
in class org.apache.hadoop.mapreduce.InputSplit
- Throws:
IOException
InterruptedException
Copyright © 2011 Christian Kumpe. All Rights Reserved.