public class ConsumerExecutor extends BaseOperation implements Function
Constructor and Description |
---|
ConsumerExecutor(Consumer consumer) |
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 ConsumerExecutor(Consumer consumer)
public void execute(TridentTuple tuple, TridentCollector collector)
Function
Copyright © 2023 The Apache Software Foundation. All rights reserved.