public static class DistributedCopy.BlockRecordReader
extends java.lang.Object
Constructor and Description |
---|
DistributedCopy.BlockRecordReader(InputSplit split,
JobConf job,
Reporter reporter) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
DistributedCopy.FileBlockIndex |
createKey() |
WritableByteArray |
createValue() |
long |
getPos() |
float |
getProgress() |
boolean |
next(DistributedCopy.FileBlockIndex key,
WritableByteArray value) |
public DistributedCopy.BlockRecordReader(InputSplit split, JobConf job, Reporter reporter) throws java.io.IOException
java.io.IOException
public DistributedCopy.FileBlockIndex createKey()
public WritableByteArray createValue()
public boolean next(DistributedCopy.FileBlockIndex key, WritableByteArray value) throws java.io.IOException
java.io.IOException
public long getPos() throws java.io.IOException
java.io.IOException
public void close() throws java.io.IOException
java.io.IOException
public float getProgress() throws java.io.IOException
java.io.IOException