public class StandardDeviationCalculatorMapper
extends org.apache.hadoop.mapreduce.Mapper<org.apache.hadoop.io.IntWritable,org.apache.hadoop.io.Writable,org.apache.hadoop.io.IntWritable,org.apache.hadoop.io.DoubleWritable>
Modifier and Type | Field and Description |
---|---|
static org.apache.hadoop.io.IntWritable |
SUM |
static org.apache.hadoop.io.IntWritable |
SUM_OF_SQUARES |
static org.apache.hadoop.io.IntWritable |
TOTAL_COUNT |
Constructor and Description |
---|
StandardDeviationCalculatorMapper() |
Modifier and Type | Method and Description |
---|---|
protected void |
map(org.apache.hadoop.io.IntWritable key,
org.apache.hadoop.io.Writable value,
org.apache.hadoop.mapreduce.Mapper.Context context) |
public static final org.apache.hadoop.io.IntWritable SUM_OF_SQUARES
public static final org.apache.hadoop.io.IntWritable SUM
public static final org.apache.hadoop.io.IntWritable TOTAL_COUNT
protected void map(org.apache.hadoop.io.IntWritable key, org.apache.hadoop.io.Writable value, org.apache.hadoop.mapreduce.Mapper.Context context) throws IOException, InterruptedException
map
in class org.apache.hadoop.mapreduce.Mapper<org.apache.hadoop.io.IntWritable,org.apache.hadoop.io.Writable,org.apache.hadoop.io.IntWritable,org.apache.hadoop.io.DoubleWritable>
IOException
InterruptedException
Copyright © 2008–2017 The Apache Software Foundation. All rights reserved.