org.apache.pig.backend.hadoop.executionengine.mapReduceLayer
Class PigMapBase.IllustratorContext
java.lang.Object
org.apache.hadoop.mapreduce.JobContext
org.apache.hadoop.mapreduce.TaskAttemptContext
org.apache.hadoop.mapreduce.TaskInputOutputContext<KEYIN,VALUEIN,KEYOUT,VALUEOUT>
org.apache.hadoop.mapreduce.MapContext<KEYIN,VALUEIN,KEYOUT,VALUEOUT>
org.apache.hadoop.mapreduce.Mapper.Context
org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.PigMapBase.IllustratorContext
- All Implemented Interfaces:
- org.apache.hadoop.util.Progressable
- Enclosing class:
- PigMapBase
public class PigMapBase.IllustratorContext
- extends org.apache.hadoop.mapreduce.Mapper.Context
Fields inherited from class org.apache.hadoop.mapreduce.JobContext |
COMBINE_CLASS_ATTR, conf, INPUT_FORMAT_CLASS_ATTR, MAP_CLASS_ATTR, OUTPUT_FORMAT_CLASS_ATTR, PARTITIONER_CLASS_ATTR, REDUCE_CLASS_ATTR |
Methods inherited from class org.apache.hadoop.mapreduce.MapContext |
getInputSplit |
Methods inherited from class org.apache.hadoop.mapreduce.TaskInputOutputContext |
getCounter, getCounter, getOutputCommitter, setStatus |
Methods inherited from class org.apache.hadoop.mapreduce.TaskAttemptContext |
getStatus, getTaskAttemptID |
Methods inherited from class org.apache.hadoop.mapreduce.JobContext |
getCombinerClass, getConfiguration, getGroupingComparator, getInputFormatClass, getJar, getJobID, getJobName, getMapOutputKeyClass, getMapOutputValueClass, getMapperClass, getNumReduceTasks, getOutputFormatClass, getOutputKeyClass, getOutputValueClass, getPartitionerClass, getReducerClass, getSortComparator, getWorkingDirectory |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PigMapBase.IllustratorContext
public PigMapBase.IllustratorContext(org.apache.hadoop.conf.Configuration conf,
DataBag input,
List<Pair<PigNullableWritable,org.apache.hadoop.io.Writable>> output,
org.apache.hadoop.mapreduce.InputSplit split)
throws IOException,
InterruptedException
- Throws:
IOException
InterruptedException
nextKeyValue
public boolean nextKeyValue()
throws IOException,
InterruptedException
- Overrides:
nextKeyValue
in class org.apache.hadoop.mapreduce.MapContext<org.apache.hadoop.io.Text,Tuple,PigNullableWritable,org.apache.hadoop.io.Writable>
- Throws:
IOException
InterruptedException
getCurrentKey
public org.apache.hadoop.io.Text getCurrentKey()
- Overrides:
getCurrentKey
in class org.apache.hadoop.mapreduce.MapContext<org.apache.hadoop.io.Text,Tuple,PigNullableWritable,org.apache.hadoop.io.Writable>
getCurrentValue
public Tuple getCurrentValue()
- Overrides:
getCurrentValue
in class org.apache.hadoop.mapreduce.MapContext<org.apache.hadoop.io.Text,Tuple,PigNullableWritable,org.apache.hadoop.io.Writable>
write
public void write(PigNullableWritable key,
org.apache.hadoop.io.Writable value)
throws IOException,
InterruptedException
- Overrides:
write
in class org.apache.hadoop.mapreduce.TaskInputOutputContext<org.apache.hadoop.io.Text,Tuple,PigNullableWritable,org.apache.hadoop.io.Writable>
- Throws:
IOException
InterruptedException
progress
public void progress()
- Specified by:
progress
in interface org.apache.hadoop.util.Progressable
- Overrides:
progress
in class org.apache.hadoop.mapreduce.TaskInputOutputContext<org.apache.hadoop.io.Text,Tuple,PigNullableWritable,org.apache.hadoop.io.Writable>
Copyright © ${year} The Apache Software Foundation