KEYIN - the key typeVALUEIN - the value typepublic static final class BridgeInputFormat.NullRecordReader<KEYIN,VALUEIN>
extends org.apache.hadoop.mapreduce.RecordReader<KEYIN,VALUEIN>
RecordReader.| Constructor and Description |
|---|
NullRecordReader()
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
KEYIN |
getCurrentKey() |
VALUEIN |
getCurrentValue() |
float |
getProgress() |
void |
initialize(org.apache.hadoop.mapreduce.InputSplit split,
org.apache.hadoop.mapreduce.TaskAttemptContext context) |
boolean |
nextKeyValue() |
public void initialize(org.apache.hadoop.mapreduce.InputSplit split,
org.apache.hadoop.mapreduce.TaskAttemptContext context)
throws IOException,
InterruptedException
initialize in class org.apache.hadoop.mapreduce.RecordReader<KEYIN,VALUEIN>IOExceptionInterruptedExceptionpublic boolean nextKeyValue()
throws IOException,
InterruptedException
nextKeyValue in class org.apache.hadoop.mapreduce.RecordReader<KEYIN,VALUEIN>IOExceptionInterruptedExceptionpublic KEYIN getCurrentKey() throws IOException, InterruptedException
getCurrentKey in class org.apache.hadoop.mapreduce.RecordReader<KEYIN,VALUEIN>IOExceptionInterruptedExceptionpublic VALUEIN getCurrentValue() throws IOException, InterruptedException
getCurrentValue in class org.apache.hadoop.mapreduce.RecordReader<KEYIN,VALUEIN>IOExceptionInterruptedExceptionpublic float getProgress()
throws IOException,
InterruptedException
getProgress in class org.apache.hadoop.mapreduce.RecordReader<KEYIN,VALUEIN>IOExceptionInterruptedExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class org.apache.hadoop.mapreduce.RecordReader<KEYIN,VALUEIN>IOExceptionCopyright © 2011–2019 Asakusa Framework Team. All rights reserved.