List of usage examples for org.apache.hadoop.mapreduce Reducer subclass-usage
From source file com.cloudera.sa.securewordcount.IntSumReducer.java
/** * * @author vsingh */ class IntSumReducer extends Reducer<Text, IntWritable, Text, IntWritable> {
From source file com.cloudera.sqoop.mapreduce.MergeReducer.java
/** * Reducer for merge tool. Given records tagged as 'old' or 'new', emit * a new one if possible; otherwise, an old one. */ public class MergeReducer extends Reducer<Text, MergeRecord, SqoopRecord, NullWritable> {
From source file com.cloudera.traffic.AveragerReducer.java
public class AveragerReducer extends Reducer<Text, AverageWritable, Text, AverageWritable> { private AverageWritable outAverage = new AverageWritable(); @Override public void reduce(Text key, Iterable<AverageWritable> averages, Context context)
From source file com.conversantmedia.mapreduce.example.avro.AvroWordCountReducer.java
/** * * */ @Service public class AvroWordCountReducer extends Reducer<Text, LongWritable, AvroKey<AvroExample>, NullWritable> {
From source file com.conversantmedia.mapreduce.example.WordCountReducer.java
/** * * */ public class WordCountReducer extends Reducer<Text, LongWritable, Text, LongWritable> { @Override
From source file com.conversantmedia.mapreduce.example.WordCountReducerWithMinimum.java
/** * * */ @ReducerService public class WordCountReducerWithMinimum extends Reducer<Text, LongWritable, Text, LongWritable> {
From source file com.conversantmedia.mapreduce.tool.AnnotatedDelegatingCombiner.java
/**
* Extensible base class for reducers with annotations.
* Mostly for testing until we get AOP working properly.
*
* @param <K1> input key type
* @param <V1> input value type
From source file com.conversantmedia.mapreduce.tool.AnnotatedDelegatingReducer.java
/**
* Extensible base class for reducers with annotations.
* Mostly for testing until we get AOP working properly.
*
* @param <K1> input key type
* @param <V1> input value type
From source file com.ctrip.gs.recommendation.itemcf.mapreduce.VectorSumReducer.java
public class VectorSumReducer extends Reducer<WritableComparable<?>, VectorWritable, WritableComparable<?>, VectorWritable> { @Override protected void reduce(WritableComparable<?> key, Iterable<VectorWritable> values, Context ctx) throws IOException, InterruptedException {
From source file com.datasalt.pangool.tuplemr.mapred.RollupReducer.java
/** * * This {@link Reducer} implements a similar functionality than * {@link SimpleReducer} but adding a Rollup feature. */ public class RollupReducer<OUTPUT_KEY, OUTPUT_VALUE>