public static class InputFormatBase.RangeInputSplit
extends org.apache.hadoop.mapreduce.InputSplit
implements org.apache.hadoop.io.Writable
Constructor and Description |
---|
InputFormatBase.RangeInputSplit() |
Modifier and Type | Method and Description |
---|---|
long |
getLength()
This implementation of length is only an estimate, it does not provide exact values.
|
String[] |
getLocations() |
static float |
getProgress(ByteSequence start,
ByteSequence end,
ByteSequence position) |
float |
getProgress(Key currentKey) |
Range |
getRange() |
void |
readFields(DataInput in) |
void |
write(DataOutput out) |
public Range getRange()
public static float getProgress(ByteSequence start, ByteSequence end, ByteSequence position)
public float getProgress(Key currentKey)
public long getLength() throws IOException
getLength
in class org.apache.hadoop.mapreduce.InputSplit
IOException
public String[] getLocations() throws IOException
getLocations
in class org.apache.hadoop.mapreduce.InputSplit
IOException
public void readFields(DataInput in) throws IOException
readFields
in interface org.apache.hadoop.io.Writable
IOException
public void write(DataOutput out) throws IOException
write
in interface org.apache.hadoop.io.Writable
IOException
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.