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
IOException
public 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
IOException
public void setSplit(Object inputSplit) throws IOException
setSplit
in class MRReader
IOException
public float getProgress() throws IOException, InterruptedException
getProgress
in class MRReader
IOException
InterruptedException
public void close() throws IOException
close
in class MRReader
IOException
public Object getRecordReader()
getRecordReader
in class MRReader
public boolean next() throws IOException
next
in class org.apache.tez.runtime.library.api.KeyValueReader
IOException
public Object getCurrentKey() throws IOException
getCurrentKey
in class org.apache.tez.runtime.library.api.KeyValueReader
IOException
public Object getCurrentValue() throws IOException
getCurrentValue
in class org.apache.tez.runtime.library.api.KeyValueReader
IOException
Copyright © 2015 Apache Software Foundation. All rights reserved.