public interface Consumer extends Serializable
Represents an operation that accepts a single input argument and returns no result. This is similar to the Consumer interface in Java 8.
Modifier and Type | Method and Description |
---|---|
void |
accept(TridentTuple input)
Performs the operation on the input trident tuple.
|
void accept(TridentTuple input)
Performs the operation on the input trident tuple.
input
- the input trident tupleCopyright © 2019 The Apache Software Foundation. All rights reserved.