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