public class WordStandardDeviation extends Configured implements 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)
Execute the command with the given arguments.
|
getConf, setConf
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getConf, setConf
Copyright © 2013 Apache Software Foundation. All rights reserved.