public class CollectStageFactory extends Object implements TerminalStageFactory<org.eclipse.microprofile.reactive.streams.operators.spi.Stage.Collect>
Stage.Collect stage. It accumulates the result in a Collector and
redeems the last result.| Constructor and Description |
|---|
CollectStageFactory() |
| Modifier and Type | Method and Description |
|---|---|
<I,O> TerminalStage<I,O> |
create(Engine engine,
org.eclipse.microprofile.reactive.streams.operators.spi.Stage.Collect stage)
Creates the instance.
|
public <I,O> TerminalStage<I,O> create(Engine engine, org.eclipse.microprofile.reactive.streams.operators.spi.Stage.Collect stage)
TerminalStageFactorycreate in interface TerminalStageFactory<org.eclipse.microprofile.reactive.streams.operators.spi.Stage.Collect>I - incoming dataO - computed resultengine - the reactive engine, must not be nullstage - the stage, must not be nullnullCopyright © 2019–2020 SmallRye. All rights reserved.