com.datasalt.pangool.utils.test
Class CollectionInputFormat.CustomInputSplit

java.lang.Object
  extended by org.apache.hadoop.mapreduce.InputSplit
      extended by com.datasalt.pangool.utils.test.CollectionInputFormat.CustomInputSplit
All Implemented Interfaces:
org.apache.hadoop.io.Writable
Enclosing class:
CollectionInputFormat<K,V>

public static class CollectionInputFormat.CustomInputSplit
extends org.apache.hadoop.mapreduce.InputSplit
implements org.apache.hadoop.io.Writable


Constructor Summary
CollectionInputFormat.CustomInputSplit()
           
 
Method Summary
 long getLength()
           
 String[] getLocations()
           
 void readFields(DataInput in)
           
 void write(DataOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CollectionInputFormat.CustomInputSplit

public CollectionInputFormat.CustomInputSplit()
Method Detail

getLocations

public String[] getLocations()
                      throws IOException,
                             InterruptedException
Specified by:
getLocations in class org.apache.hadoop.mapreduce.InputSplit
Throws:
IOException
InterruptedException

getLength

public long getLength()
               throws IOException,
                      InterruptedException
Specified by:
getLength in class org.apache.hadoop.mapreduce.InputSplit
Throws:
IOException
InterruptedException

write

public void write(DataOutput out)
           throws IOException
Specified by:
write in interface org.apache.hadoop.io.Writable
Throws:
IOException

readFields

public void readFields(DataInput in)
                throws IOException
Specified by:
readFields in interface org.apache.hadoop.io.Writable
Throws:
IOException


Copyright © –2014 Datasalt Systems S.L.. All rights reserved.