private static class NMapInputFormat.SingleRecordReader<K,V> extends org.apache.hadoop.mapreduce.RecordReader<K,V>
Modifier and Type | Field and Description |
---|---|
private K |
key |
(package private) boolean |
providedKey |
private V |
value |
Constructor and Description |
---|
SingleRecordReader(K key,
V value) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
K |
getCurrentKey() |
V |
getCurrentValue() |
float |
getProgress() |
void |
initialize(org.apache.hadoop.mapreduce.InputSplit split,
org.apache.hadoop.mapreduce.TaskAttemptContext tac) |
boolean |
nextKeyValue() |
boolean providedKey
SingleRecordReader(K key, V value)
public void close()
public K getCurrentKey()
public V getCurrentValue()
public float getProgress()
public void initialize(org.apache.hadoop.mapreduce.InputSplit split, org.apache.hadoop.mapreduce.TaskAttemptContext tac)
public boolean nextKeyValue()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.