Package org.apache.storm.starter.trident
Class TridentWordCount.Split
- java.lang.Object
-
- org.apache.storm.trident.operation.BaseOperation
-
- org.apache.storm.trident.operation.BaseFunction
-
- org.apache.storm.starter.trident.TridentWordCount.Split
-
- All Implemented Interfaces:
Serializable
,EachOperation
,Function
,Operation
- Enclosing class:
- TridentWordCount
public static class TridentWordCount.Split extends BaseFunction
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Split()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
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
-
-
-
-
Method Detail
-
execute
public void execute(TridentTuple tuple, TridentCollector collector)
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
-
-