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