Package org.apache.storm.starter.trident
Class TridentMapExample
- java.lang.Object
-
- org.apache.storm.starter.trident.TridentMapExample
-
public class TridentMapExample extends Object
A simple example that demonstrates the usage ofStream.map(MapFunction)
andStream.flatMap(FlatMapFunction)
functions.
-
-
Constructor Summary
Constructors Constructor Description TridentMapExample()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StormTopology
buildTopology()
static void
main(String[] args)
-
-
-
Method Detail
-
buildTopology
public static StormTopology buildTopology()
-
-