T - the type of input elements to the reduction operationR - the result type of the reduction operationpublic static interface DistributedCollector.Reducer<T,R> extends Serializable
DistributedStream
by building and executing a DAG. These reducers can't be used as
downstream collectors.| Modifier and Type | Method and Description |
|---|---|
R |
reduce(com.hazelcast.jet.stream.impl.pipeline.StreamContext context,
com.hazelcast.jet.stream.impl.pipeline.Pipe<? extends T> upstream)
Executes the reducer with the given context and upstream pipeline.
|
R reduce(com.hazelcast.jet.stream.impl.pipeline.StreamContext context, com.hazelcast.jet.stream.impl.pipeline.Pipe<? extends T> upstream)
context - the context of the streamupstream - the upstream pipeline to execute the stream onCopyright © 2018 Hazelcast, Inc.. All rights reserved.