public class GenomicsDBInputSplit
extends org.apache.hadoop.mapreduce.InputSplit
implements org.apache.hadoop.io.Writable
| Modifier and Type | Field and Description |
|---|---|
(package private) String[] |
hosts |
(package private) long |
length |
(package private) org.apache.log4j.Logger |
logger |
| Constructor and Description |
|---|
GenomicsDBInputSplit()
Default constructor
|
GenomicsDBInputSplit(long length) |
| Modifier and Type | Method and Description |
|---|---|
long |
getLength() |
String[] |
getLocations()
Called from
NewHadoopRDD.getPreferredLocations(Partition) |
void |
readFields(DataInput dataInput) |
void |
write(DataOutput dataOutput) |
String[] hosts
long length
org.apache.log4j.Logger logger
public GenomicsDBInputSplit()
public GenomicsDBInputSplit(long length)
public void write(DataOutput dataOutput) throws IOException
write in interface org.apache.hadoop.io.WritableIOExceptionpublic void readFields(DataInput dataInput) throws IOException
readFields in interface org.apache.hadoop.io.WritableIOExceptionpublic long getLength()
throws IOException,
InterruptedException
getLength in class org.apache.hadoop.mapreduce.InputSplitIOExceptionInterruptedExceptionpublic String[] getLocations() throws IOException, InterruptedException
NewHadoopRDD.getPreferredLocations(Partition)getLocations in class org.apache.hadoop.mapreduce.InputSplitIOExceptionInterruptedExceptionCopyright © 2017. All rights reserved.