org.apache.hadoop.examples
Class SleepJob.EmptySplit

java.lang.Object
  extended by org.apache.hadoop.examples.SleepJob.EmptySplit
All Implemented Interfaces:
org.apache.hadoop.io.Writable, org.apache.hadoop.mapred.InputSplit
Enclosing class:
SleepJob

public static class SleepJob.EmptySplit
extends Object
implements org.apache.hadoop.mapred.InputSplit


Constructor Summary
SleepJob.EmptySplit()
           
 
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

SleepJob.EmptySplit

public SleepJob.EmptySplit()
Method Detail

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

getLength

public long getLength()
Specified by:
getLength in interface org.apache.hadoop.mapred.InputSplit

getLocations

public String[] getLocations()
Specified by:
getLocations in interface org.apache.hadoop.mapred.InputSplit


Copyright © 2014 Apache Software Foundation. All Rights Reserved.