public class SparkPigRecordReader extends PigRecordReader
| Constructor and Description |
|---|
SparkPigRecordReader(org.apache.hadoop.mapreduce.InputFormat<?,?> inputformat,
PigSplit pigSplit,
LoadFunc loadFunc,
org.apache.hadoop.mapreduce.TaskAttemptContext context,
long limit) |
| Modifier and Type | Method and Description |
|---|---|
void |
initialize(org.apache.hadoop.mapreduce.InputSplit split,
org.apache.hadoop.mapreduce.TaskAttemptContext context) |
close, getCurrentKey, getCurrentValue, getProgress, initNextRecordReader, nextKeyValuepublic SparkPigRecordReader(org.apache.hadoop.mapreduce.InputFormat<?,?> inputformat,
PigSplit pigSplit,
LoadFunc loadFunc,
org.apache.hadoop.mapreduce.TaskAttemptContext context,
long limit)
throws IOException,
InterruptedException
inputformat - pigSplit - loadFunc - context - limit - IOExceptionInterruptedExceptionpublic void initialize(org.apache.hadoop.mapreduce.InputSplit split,
org.apache.hadoop.mapreduce.TaskAttemptContext context)
throws IOException,
InterruptedException
initialize in class PigRecordReaderIOExceptionInterruptedExceptionCopyright © 2007-2017 The Apache Software Foundation