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, nextKeyValue
public 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
- IOException
InterruptedException
public void initialize(org.apache.hadoop.mapreduce.InputSplit split, org.apache.hadoop.mapreduce.TaskAttemptContext context) throws IOException, InterruptedException
initialize
in class PigRecordReader
IOException
InterruptedException
Copyright © 2007-2017 The Apache Software Foundation