Package org.apache.storm.trident.testing
Class Split
java.lang.Object
org.apache.storm.trident.operation.BaseOperation
org.apache.storm.trident.operation.BaseFunction
org.apache.storm.trident.testing.Split
- All Implemented Interfaces:
Serializable
,EachOperation
,Function
,Operation
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
execute
(TridentTuple tuple, TridentCollector collector) Performs the function logic on an individual tuple and emits 0 or more tuples.Methods inherited from class org.apache.storm.trident.operation.BaseOperation
cleanup, prepare
-
Constructor Details
-
Split
public Split()
-
-
Method Details
-
execute
Description copied from interface:Function
Performs the function logic on an individual tuple and emits 0 or more tuples.- Parameters:
tuple
- The incoming tuplecollector
- A collector instance that can be used to emit tuples
-