public class TwitterStream extends Object
The input is a JSON text file with lines separated by newline characters.
Usage: TwitterStream [--output <path>] [--props <path>]
If no parameters are provided, the program is run with default data from
TwitterStreamData
.
This example shows how to:
Modifier and Type | Class and Description |
---|---|
static class |
TwitterStream.SelectEnglishAndTokenizeFlatMap
Makes sentences from English tweets.
|
Constructor and Description |
---|
TwitterStream() |
Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.