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, preparepublic void execute(TridentTuple tuple, TridentCollector tridentCollector)
FunctionPerforms 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 © 2022 The Apache Software Foundation. All rights reserved.