public class WordMedian extends Configured implements Tool
| Modifier and Type | Class and Description |
|---|---|
static class |
WordMedian.WordMedianMapper
Maps words from line of text into a key-value pair; the length of the word
as the key, and 1 as the value.
|
static class |
WordMedian.WordMedianReducer
Performs integer summation of all the values for each key.
|
| Constructor and Description |
|---|
WordMedian() |
| Modifier and Type | Method and Description |
|---|---|
double |
getMedian() |
static void |
main(String[] args) |
int |
run(String[] args) |
getConf, setConfclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetConf, setConfCopyright © 2018 CERN. All Rights Reserved.