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
Performs the function logic on an individual tuple and emits 0 or more tuples.
Copyright © 2019 The Apache Software Foundation. All rights reserved.