public static class DistinctCombiner.Combine extends org.apache.hadoop.mapreduce.Reducer<PigNullableWritable,NullableTuple,PigNullableWritable,org.apache.hadoop.io.Writable>
Constructor and Description |
---|
DistinctCombiner.Combine() |
Modifier and Type | Method and Description |
---|---|
protected void |
reduce(PigNullableWritable key,
Iterable<NullableTuple> tupIter,
org.apache.hadoop.mapreduce.Reducer.Context context)
The reduce function which removes values.
|
protected void |
setup(org.apache.hadoop.mapreduce.Reducer.Context context) |
static void |
staticDataCleanup() |
public static void staticDataCleanup()
protected void setup(org.apache.hadoop.mapreduce.Reducer.Context context) throws IOException, InterruptedException
setup
in class org.apache.hadoop.mapreduce.Reducer<PigNullableWritable,NullableTuple,PigNullableWritable,org.apache.hadoop.io.Writable>
IOException
InterruptedException
protected void reduce(PigNullableWritable key, Iterable<NullableTuple> tupIter, org.apache.hadoop.mapreduce.Reducer.Context context) throws IOException, InterruptedException
reduce
in class org.apache.hadoop.mapreduce.Reducer<PigNullableWritable,NullableTuple,PigNullableWritable,org.apache.hadoop.io.Writable>
IOException
InterruptedException
Copyright © 2007-2012 The Apache Software Foundation