org.apache.pig.backend.hadoop.executionengine.mapReduceLayer
Class PigMapReduce.Reduce.IllustratorContext

java.lang.Object
  extended by org.apache.hadoop.mapreduce.JobContext
      extended by org.apache.hadoop.mapreduce.TaskAttemptContext
          extended by org.apache.hadoop.mapreduce.TaskInputOutputContext<KEYIN,VALUEIN,KEYOUT,VALUEOUT>
              extended by org.apache.hadoop.mapreduce.ReduceContext<KEYIN,VALUEIN,KEYOUT,VALUEOUT>
                  extended by org.apache.hadoop.mapreduce.Reducer.Context
                      extended by org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.PigMapReduce.Reduce.IllustratorContext
All Implemented Interfaces:
org.apache.hadoop.util.Progressable
Enclosing class:
PigMapReduce.Reduce

public class PigMapReduce.Reduce.IllustratorContext
extends org.apache.hadoop.mapreduce.Reducer.Context


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.hadoop.mapreduce.ReduceContext
org.apache.hadoop.mapreduce.ReduceContext.ValueIterable, org.apache.hadoop.mapreduce.ReduceContext.ValueIterator
 
Field Summary
 
Fields inherited from class org.apache.hadoop.mapreduce.ReduceContext
reporter
 
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
 
Constructor Summary
PigMapReduce.Reduce.IllustratorContext(org.apache.hadoop.mapred.jobcontrol.Job job, List<Pair<PigNullableWritable,org.apache.hadoop.io.Writable>> input, POPackage pkg)
           
 
Method Summary
 PigNullableWritable getCurrentKey()
           
 Iterable<NullableTuple> getValues()
           
 boolean nextKey()
           
 void progress()
           
 void write(PigNullableWritable k, org.apache.hadoop.io.Writable t)
           
 
Methods inherited from class org.apache.hadoop.mapreduce.ReduceContext
getCurrentValue, nextKeyValue
 
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
 

Constructor Detail

PigMapReduce.Reduce.IllustratorContext

public PigMapReduce.Reduce.IllustratorContext(org.apache.hadoop.mapred.jobcontrol.Job job,
                                              List<Pair<PigNullableWritable,org.apache.hadoop.io.Writable>> input,
                                              POPackage pkg)
                                       throws IOException,
                                              InterruptedException
Throws:
IOException
InterruptedException
Method Detail

getCurrentKey

public PigNullableWritable getCurrentKey()
Overrides:
getCurrentKey in class org.apache.hadoop.mapreduce.ReduceContext<PigNullableWritable,NullableTuple,PigNullableWritable,org.apache.hadoop.io.Writable>

nextKey

public boolean nextKey()
Overrides:
nextKey in class org.apache.hadoop.mapreduce.ReduceContext<PigNullableWritable,NullableTuple,PigNullableWritable,org.apache.hadoop.io.Writable>

getValues

public Iterable<NullableTuple> getValues()
Overrides:
getValues in class org.apache.hadoop.mapreduce.ReduceContext<PigNullableWritable,NullableTuple,PigNullableWritable,org.apache.hadoop.io.Writable>

write

public void write(PigNullableWritable k,
                  org.apache.hadoop.io.Writable t)
Overrides:
write in class org.apache.hadoop.mapreduce.TaskInputOutputContext<PigNullableWritable,NullableTuple,PigNullableWritable,org.apache.hadoop.io.Writable>

progress

public void progress()
Specified by:
progress in interface org.apache.hadoop.util.Progressable
Overrides:
progress in class org.apache.hadoop.mapreduce.TaskInputOutputContext<PigNullableWritable,NullableTuple,PigNullableWritable,org.apache.hadoop.io.Writable>


Copyright © ${year} The Apache Software Foundation