Package | Description |
---|---|
org.apache.storm.streams | |
org.apache.storm.streams.operations | |
org.apache.storm.streams.processors |
Modifier and Type | Method and Description |
---|---|
void |
Stream.forEach(Consumer<? super T> action)
Performs an action for each element of this stream.
|
PairStream<K,V> |
PairStream.peek(Consumer<? super Pair<K,V>> action)
Returns a stream consisting of the elements of this stream, additionally performing the provided action on each element as they are consumed from the resulting stream.
|
Stream<T> |
Stream.peek(Consumer<? super T> action)
Returns a stream consisting of the elements of this stream, additionally performing the provided action on each element as they are consumed from the resulting stream.
|
Modifier and Type | Class and Description |
---|---|
class |
PrintConsumer<T>
A consumer that prints the input to stdout.
|
Constructor and Description |
---|
ForEachProcessor(Consumer<T> consumer) |
PeekProcessor(Consumer<T> consumer) |
Copyright © 2019 The Apache Software Foundation. All rights reserved.