List of usage examples for org.apache.hadoop.mapreduce Reducer subclass-usage
From source file com.ML_Hadoop.NaiveBayesClassifier_Continuous_Features.NaiveBayesClassifierReduce_Continuous_Features.java
public class NaiveBayesClassifierReduce_Continuous_Features extends Reducer<LongWritable, MapArrayWritable, LongWritable, FloatWritable> { private int number_of_classes, number_of_features; private ArrayList<MapWritable[]> probablity_info_output = new ArrayList<MapWritable[]>();
From source file com.mongodb.hadoop.examples.enron.EnronMailReducer.java
public class EnronMailReducer extends Reducer<MailPair, IntWritable, BSONWritable, IntWritable> implements org.apache.hadoop.mapred.Reducer<MailPair, IntWritable, BSONWritable, IntWritable> { private static final Log LOG = LogFactory.getLog(EnronMailReducer.class); @Override
From source file com.mongodb.hadoop.examples.lolmatches.LOLMatchesdReducer.java
/** * The treasury yield reducer. */ public class LOLMatchesdReducer extends Reducer<IntWritable, DoubleWritable, IntWritable, BSONWritable> implements org.apache.hadoop.mapred.Reducer<IntWritable, DoubleWritable, IntWritable, BSONWritable> {
From source file com.mongodb.hadoop.examples.treasury.TreasuryYieldReducer.java
/** * The treasury yield reducer. */ public class TreasuryYieldReducer extends Reducer<IntWritable, DoubleWritable, IntWritable, BSONWritable> implements org.apache.hadoop.mapred.Reducer<IntWritable, DoubleWritable, IntWritable, BSONWritable> {
From source file com.mongodb.hadoop.examples.treasury.TreasuryYieldUpdateReducer.java
/** * The treasury yield reducer. */ public class TreasuryYieldUpdateReducer extends Reducer<IntWritable, DoubleWritable, NullWritable, MongoUpdateWritable> {
From source file com.mongodb.hadoop.examples.TreasuryYieldReducer.java
public class TreasuryYieldReducer extends Reducer<IntWritable, DoubleWritable, IntWritable, DoubleWritable> { private static final Log log = LogFactory.getLog(TreasuryYieldReducer.class); public void reduce(IntWritable key, Iterable<DoubleWritable> values, Context context) throws IOException, InterruptedException {
From source file com.mongodb.hadoop.examples.ufos.UfoSightingsReducer.java
/** * The ufo sightings reducer. */ public class UfoSightingsReducer extends Reducer<Text, IntWritable, Text, IntWritable> { private static final Log LOG = LogFactory.getLog(UfoSightingsReducer.class);
From source file com.mongodb.hadoop.examples.WorldDevIndicatorReducer.java
/** * The world development indicator reducer. */ public class WorldDevIndicatorReducer extends Reducer<Text, DoubleWritable, Text, DoubleWritable> { @Override public void reduce(final Text pCountryCode, final Iterable<DoubleWritable> pValues, final Context pContext)
From source file com.mongodb.hadoop.examples.world_development.WorldDevIndicatorReducer.java
/** * The world development indicator reducer. */ public class WorldDevIndicatorReducer extends Reducer<Text, DoubleWritable, Text, DoubleWritable> { @Override public void reduce(final Text pCountryCode, final Iterable<DoubleWritable> pValues, final Context pContext)
From source file com.moz.fiji.mapreduce.FijiReducer.java
/**
* Base class for Fiji reducer.
*
* @param <INKEY> The type of the input key to the mapper.
* @param <INVALUE> The type of the input value to the mapper.
* @param <OUTKEY> The type of the output key from the mapper.