org.apache.hadoop.examples
Class SleepJob.EmptySplit
java.lang.Object
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SleepJob.EmptySplit
public SleepJob.EmptySplit()
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.