public class WordCount extends AbstractMapReduce
| Modifier and Type | Class and Description |
|---|---|
static class |
WordCount.Counter
A reducer that sums up the counts for each key.
|
static class |
WordCount.Tokenizer
A mapper that tokenizes each input line and emits each token with a value of 1.
|
| Constructor and Description |
|---|
WordCount() |
| Modifier and Type | Method and Description |
|---|---|
void |
configure() |
void |
initialize() |
beforeSubmit, configure, destroy, getConfigurer, getContext, initialize, onFinish, setDescription, setDriverResources, setMapperResources, setName, setProperties, setReducerResourcesusePlugin, usePlugin, usePluginClass, usePluginClassaddDatasetModule, addDatasetType, addStream, addStream, createDataset, createDataset, createDataset, createDatasetpublic void configure()
configure in class AbstractMapReducepublic void initialize()
throws Exception
initialize in class AbstractMapReduceExceptionCopyright © 2017 Cask Data, Inc. Licensed under the Apache License, Version 2.0.