public class WordStandardDeviation
extends org.apache.hadoop.conf.Configured
implements org.apache.hadoop.util.Tool
| Modifier and Type | Class and Description |
|---|---|
static class |
WordStandardDeviation.WordStandardDeviationMapper
Maps words from line of text into 3 key-value pairs; one key-value pair for
counting the word, one for counting its length, and one for counting the
square of its length.
|
static class |
WordStandardDeviation.WordStandardDeviationReducer
Performs integer summation of all the values for each key.
|
| Constructor and Description |
|---|
WordStandardDeviation() |
| Modifier and Type | Method and Description |
|---|---|
double |
getStandardDeviation() |
static void |
main(String[] args) |
int |
run(String[] args) |
Copyright © 2008–2020 Apache Software Foundation. All rights reserved.