java.io.Closeable, java.lang.AutoCloseablepublic class VirtualRecordReader<K,V>
extends org.apache.hadoop.mapreduce.RecordReader<K,V>
| Constructor | Description |
|---|---|
VirtualRecordReader() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
close() |
|
K |
getCurrentKey() |
|
V |
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 java.io.IOException,
java.lang.InterruptedException
public boolean nextKeyValue()
throws java.io.IOException,
java.lang.InterruptedException
public K getCurrentKey() throws java.io.IOException, java.lang.InterruptedException
public V getCurrentValue() throws java.io.IOException, java.lang.InterruptedException
public float getProgress()
throws java.io.IOException,
java.lang.InterruptedException
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.