public class MRReaderMapReduce extends MRReader
| 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) |
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) |
| 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) |
public 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)
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)
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 © 2015 Apache Software Foundation. All rights reserved.