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 InputSplit
public String[] getLocations()
getLocations
in class InputSplit
public 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 Writable
in
- DataInput
to deseriablize this object from.IOException
public void write(DataOutput out) throws IOException
out
.write
in interface Writable
out
- DataOuput
to serialize this object into.IOException
Copyright © 2013 Apache Software Foundation. All rights reserved.