org.apache.pig.backend.hadoop.executionengine.mapReduceLayer
Class DistinctCombiner.Combine

java.lang.Object
  extended by org.apache.hadoop.mapred.MapReduceBase
      extended by org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.DistinctCombiner.Combine
All Implemented Interfaces:
Closeable, org.apache.hadoop.mapred.JobConfigurable, org.apache.hadoop.mapred.Reducer<PigNullableWritable,NullableTuple,PigNullableWritable,org.apache.hadoop.io.Writable>
Enclosing class:
DistinctCombiner

public static class DistinctCombiner.Combine
extends org.apache.hadoop.mapred.MapReduceBase
implements org.apache.hadoop.mapred.Reducer<PigNullableWritable,NullableTuple,PigNullableWritable,org.apache.hadoop.io.Writable>


Constructor Summary
DistinctCombiner.Combine()
           
 
Method Summary
 void configure(org.apache.hadoop.mapred.JobConf jConf)
          Configures the reporter
 void reduce(PigNullableWritable key, Iterator<NullableTuple> tupIter, org.apache.hadoop.mapred.OutputCollector<PigNullableWritable,org.apache.hadoop.io.Writable> oc, org.apache.hadoop.mapred.Reporter reporter)
          The reduce function which removes values.
 
Methods inherited from class org.apache.hadoop.mapred.MapReduceBase
close
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.io.Closeable
close
 

Constructor Detail

DistinctCombiner.Combine

public DistinctCombiner.Combine()
Method Detail

configure

public void configure(org.apache.hadoop.mapred.JobConf jConf)
Configures the reporter

Specified by:
configure in interface org.apache.hadoop.mapred.JobConfigurable
Overrides:
configure in class org.apache.hadoop.mapred.MapReduceBase

reduce

public void reduce(PigNullableWritable key,
                   Iterator<NullableTuple> tupIter,
                   org.apache.hadoop.mapred.OutputCollector<PigNullableWritable,org.apache.hadoop.io.Writable> oc,
                   org.apache.hadoop.mapred.Reporter reporter)
            throws IOException
The reduce function which removes values.

Specified by:
reduce in interface org.apache.hadoop.mapred.Reducer<PigNullableWritable,NullableTuple,PigNullableWritable,org.apache.hadoop.io.Writable>
Throws:
IOException


Copyright © ${year} The Apache Software Foundation