public class ForwardFunction extends BaseFunction
Constructor and Description |
---|
ForwardFunction() |
Modifier and Type | Method and Description |
---|---|
void |
execute(TridentTuple tuple,
TridentCollector collector)
Performs the function logic on an individual tuple and emits 0 or more tuples.
|
cleanup, prepare
public void execute(TridentTuple tuple, TridentCollector collector)
Function
Performs the function logic on an individual tuple and emits 0 or more tuples.
tuple
- The incoming tuplecollector
- A collector instance that can be used to emit tuplesCopyright © 2019 The Apache Software Foundation. All Rights Reserved.