public static class BaileyBorweinPlouffe.BbpSplit extends InputSplit implements Writable
BaileyBorweinPlouffe.BbpInputFormat.| Constructor and Description |
|---|
BaileyBorweinPlouffe.BbpSplit()
Public default constructor for the Writable interface.
|
| Modifier and Type | Method and Description |
|---|---|
long |
getLength()
Get the size of the split, so that the input splits can be sorted by size.
|
String[] |
getLocations()
No location is needed.
|
void |
readFields(DataInput in)
Deserialize the fields of this object from
in. |
void |
write(DataOutput out)
Serialize the fields of this object to
out. |
public BaileyBorweinPlouffe.BbpSplit()
public long getLength()
getLength in class InputSplitpublic String[] getLocations()
getLocations in class InputSplitpublic void readFields(DataInput in) throws IOException
in.
For efficiency, implementations should attempt to re-use storage in the existing object where possible.
readFields in interface Writablein - DataInput to deseriablize this object from.IOExceptionpublic void write(DataOutput out) throws IOException
out.write in interface Writableout - DataOuput to serialize this object into.IOExceptionCopyright © 2013 Apache Software Foundation. All rights reserved.