public class MRReaderMapReduce extends MRReader
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.hadoop.mapreduce.RecordReader |
recordReader |
| Constructor and Description |
|---|
MRReaderMapReduce(org.apache.hadoop.mapred.JobConf jobConf,
org.apache.hadoop.mapreduce.InputSplit inputSplit,
org.apache.tez.common.counters.TezCounters tezCounters,
org.apache.tez.common.counters.TezCounter inputRecordCounter,
long clusterId,
int vertexIndex,
int appId,
int taskIndex,
int taskAttemptNumber,
org.apache.tez.runtime.api.InputContext context) |
MRReaderMapReduce(org.apache.hadoop.mapred.JobConf jobConf,
org.apache.tez.common.counters.TezCounters tezCounters,
org.apache.tez.common.counters.TezCounter inputRecordCounter,
long clusterId,
int vertexIndex,
int appId,
int taskIndex,
int taskAttemptNumber,
org.apache.tez.runtime.api.InputContext context) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
Object |
getCurrentKey() |
Object |
getCurrentValue() |
float |
getProgress() |
Object |
getRecordReader() |
Object |
getSplit() |
boolean |
isSetup() |
boolean |
next() |
void |
setSplit(Object inputSplit) |
notifyDone, notifyProgresspublic MRReaderMapReduce(org.apache.hadoop.mapred.JobConf jobConf,
org.apache.tez.common.counters.TezCounters tezCounters,
org.apache.tez.common.counters.TezCounter inputRecordCounter,
long clusterId,
int vertexIndex,
int appId,
int taskIndex,
int taskAttemptNumber,
org.apache.tez.runtime.api.InputContext context)
throws IOException
IOExceptionpublic MRReaderMapReduce(org.apache.hadoop.mapred.JobConf jobConf,
org.apache.hadoop.mapreduce.InputSplit inputSplit,
org.apache.tez.common.counters.TezCounters tezCounters,
org.apache.tez.common.counters.TezCounter inputRecordCounter,
long clusterId,
int vertexIndex,
int appId,
int taskIndex,
int taskAttemptNumber,
org.apache.tez.runtime.api.InputContext context)
throws IOException
IOExceptionpublic void setSplit(Object inputSplit) throws IOException
setSplit in class MRReaderIOExceptionpublic float getProgress()
throws IOException,
InterruptedException
getProgress in class MRReaderIOExceptionInterruptedExceptionpublic void close()
throws IOException
close in class MRReaderIOExceptionpublic Object getRecordReader()
getRecordReader in class MRReaderpublic boolean next()
throws IOException
next in class org.apache.tez.runtime.library.api.KeyValueReaderIOExceptionpublic Object getCurrentKey() throws IOException
getCurrentKey in class org.apache.tez.runtime.library.api.KeyValueReaderIOExceptionpublic Object getCurrentValue() throws IOException
getCurrentValue in class org.apache.tez.runtime.library.api.KeyValueReaderIOExceptionCopyright © 2017 Apache Software Foundation. All rights reserved.