public static final class StockPrices.TweetSource extends Object implements SourceFunction<String>
| Constructor and Description |
|---|
TweetSource() |
| Modifier and Type | Method and Description |
|---|---|
void |
cancel() |
void |
run(org.apache.flink.util.Collector<String> collector) |
public void run(org.apache.flink.util.Collector<String> collector) throws Exception
run in interface SourceFunction<String>Exceptionpublic void cancel()
cancel in interface SourceFunction<String>Copyright © 2014–2015 The Apache Software Foundation. All rights reserved.