Class PrintConsumer<T>
- java.lang.Object
-
- org.apache.storm.streams.operations.PrintConsumer<T>
-
- Type Parameters:
T
- the value type
- All Implemented Interfaces:
Serializable
,Consumer<T>
,Operation
public class PrintConsumer<T> extends Object implements Consumer<T>
A consumer that prints the input to stdout.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PrintConsumer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(T input)
Performs an operation on the given argument.
-