public class StageInputRecordReader
extends org.apache.hadoop.mapreduce.RecordReader
RecordReader for handling multiple Map operations.| Constructor and Description |
|---|
StageInputRecordReader() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
Object |
getCurrentKey() |
Object |
getCurrentValue() |
float |
getProgress() |
void |
initialize(org.apache.hadoop.mapreduce.InputSplit split,
org.apache.hadoop.mapreduce.TaskAttemptContext taskContext) |
boolean |
nextKeyValue() |
public void initialize(org.apache.hadoop.mapreduce.InputSplit split,
org.apache.hadoop.mapreduce.TaskAttemptContext taskContext)
throws IOException,
InterruptedException
initialize in class org.apache.hadoop.mapreduce.RecordReaderIOExceptionInterruptedExceptionpublic boolean nextKeyValue()
throws IOException,
InterruptedException
nextKeyValue in class org.apache.hadoop.mapreduce.RecordReaderIOExceptionInterruptedExceptionpublic Object getCurrentKey() throws IOException, InterruptedException
getCurrentKey in class org.apache.hadoop.mapreduce.RecordReaderIOExceptionInterruptedExceptionpublic Object getCurrentValue() throws IOException, InterruptedException
getCurrentValue in class org.apache.hadoop.mapreduce.RecordReaderIOExceptionInterruptedExceptionpublic float getProgress()
throws IOException,
InterruptedException
getProgress in class org.apache.hadoop.mapreduce.RecordReaderIOExceptionInterruptedExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class org.apache.hadoop.mapreduce.RecordReaderIOExceptionCopyright © 2011–2019 Asakusa Framework Team. All rights reserved.