de.kumpe.hadooptimizer.hadoop
Class IndividualInputFormat.IndividualInputSplit<I extends Serializable>

java.lang.Object
  extended by org.apache.hadoop.mapreduce.InputSplit
      extended by 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

Constructor Summary
IndividualInputFormat.IndividualInputSplit(Collection<I> individuals, long seed)
           
 
Method Summary
 long getLength()
           
 String[] getLocations()
           
 long getSeed()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IndividualInputFormat.IndividualInputSplit

public IndividualInputFormat.IndividualInputSplit(Collection<I> individuals,
                                                  long seed)
Method Detail

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.