public class Warp10InputSplit
extends org.apache.hadoop.mapreduce.InputSplit
implements org.apache.hadoop.io.Writable
| Constructor and Description |
|---|
Warp10InputSplit() |
| Modifier and Type | Method and Description |
|---|---|
void |
addEntry(java.lang.String fetcher,
java.lang.String entry) |
void |
addFetcher(java.lang.String fetcher) |
Warp10InputSplit |
build() |
byte[] |
getBytes() |
long |
getLength() |
java.lang.String[] |
getLocations() |
void |
readFields(java.io.DataInput in) |
void |
write(java.io.DataOutput out) |
public void addEntry(java.lang.String fetcher,
java.lang.String entry)
throws java.io.IOException
java.io.IOExceptionpublic void addFetcher(java.lang.String fetcher)
public Warp10InputSplit build() throws java.io.IOException
java.io.IOExceptionpublic long getLength()
throws java.io.IOException
getLength in class org.apache.hadoop.mapreduce.InputSplitjava.io.IOExceptionpublic java.lang.String[] getLocations()
throws java.io.IOException
getLocations in class org.apache.hadoop.mapreduce.InputSplitjava.io.IOExceptionpublic void readFields(java.io.DataInput in)
throws java.io.IOException
readFields in interface org.apache.hadoop.io.Writablejava.io.IOExceptionpublic void write(java.io.DataOutput out)
throws java.io.IOException
write in interface org.apache.hadoop.io.Writablejava.io.IOExceptionpublic byte[] getBytes()