public class TwitterExample extends Object
The input is a Tweet stream from a TwitterSource.
Usage: Usage: TwitterExample [--output <path>]
[--twitter-source.consumerKey <key> --twitter-source.consumerSecret <secret> --twitter-source.token <token> --twitter-source.tokenSecret <tokenSecret>]
If no parameters are provided, the program is run with default data from
TwitterExampleData
.
This example shows how to:
Modifier and Type | Class and Description |
---|---|
static class |
TwitterExample.SelectEnglishAndTokenizeFlatMap
Deserialize JSON from twitter source
|
Constructor and Description |
---|
TwitterExample() |
Copyright © 2014–2019 The Apache Software Foundation. All rights reserved.