Package org.apache.storm.starter.streams
Class TypedTupleExample
java.lang.Object
org.apache.storm.starter.streams.TypedTupleExample
An example that illustrates the usage of typed tuples (TupleN<..>) and
TupleValueMappers
.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
TypedTupleExample
public TypedTupleExample()
-
-
Method Details
-
main
The spout emits sequences of (Integer, Long, Long). TupleValueMapper can be used to extract fields from the values and produce a stream of typed tuple (Tuple3<Integer, Long, Long> in this case.- Throws:
Exception
-