org.apache.hadoop.examples
Class BaileyBorweinPlouffe.BbpSplit

java.lang.Object
  extended by org.apache.hadoop.mapreduce.InputSplit
      extended by org.apache.hadoop.examples.BaileyBorweinPlouffe.BbpSplit
All Implemented Interfaces:
org.apache.hadoop.io.Writable
Enclosing class:
BaileyBorweinPlouffe

public static class BaileyBorweinPlouffe.BbpSplit
extends org.apache.hadoop.mapreduce.InputSplit
implements org.apache.hadoop.io.Writable

Input split for the BaileyBorweinPlouffe.BbpInputFormat.


Constructor Summary
BaileyBorweinPlouffe.BbpSplit()
          Public default constructor for the Writable interface.
 
Method Summary
 long getLength()
          
 String[] getLocations()
          No location is needed.
 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

BaileyBorweinPlouffe.BbpSplit

public BaileyBorweinPlouffe.BbpSplit()
Public default constructor for the Writable interface.

Method Detail

getLength

public long getLength()

Specified by:
getLength in class org.apache.hadoop.mapreduce.InputSplit

getLocations

public String[] getLocations()
No location is needed.

Specified by:
getLocations in class org.apache.hadoop.mapreduce.InputSplit

readFields

public void readFields(DataInput in)
                throws IOException

Specified by:
readFields in interface org.apache.hadoop.io.Writable
Throws:
IOException

write

public void write(DataOutput out)
           throws IOException

Specified by:
write in interface org.apache.hadoop.io.Writable
Throws:
IOException


Copyright © 2014 Apache Software Foundation. All Rights Reserved.