org.apache.pig.backend.hadoop.executionengine.mapReduceLayer
Class DistinctCombiner.Combine
java.lang.Object
org.apache.hadoop.mapred.MapReduceBase
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>
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 |
DistinctCombiner.Combine
public DistinctCombiner.Combine()
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