Package | Description |
---|---|
com.hazelcast.jet.pipeline |
The Pipeline API is Jet's high-level API to build and execute
distributed computation jobs.
|
Modifier and Type | Method and Description |
---|---|
<A,R,OUT> StreamStage<OUT> |
StageWithWindow.aggregate(AggregateOperation1<? super T,A,R> aggrOp,
WindowResultFunction<? super R,? extends OUT> mapToOutputFn)
Attaches to this stage a stage that performs the given aggregate operation
over all the items that belong to a given window.
|
<T1,A,R,OUT> |
StageWithWindow.aggregate2(StreamStage<T1> stage1,
AggregateOperation2<? super T,? super T1,A,R> aggrOp,
WindowResultFunction<? super R,? extends OUT> mapToOutputFn)
Attaches to this stage a stage that performs the given aggregate
operation over all the items that belong to the same window.
|
<T1,T2,A,R,OUT> |
StageWithWindow.aggregate3(StreamStage<T1> stage1,
StreamStage<T2> stage2,
AggregateOperation3<? super T,? super T1,? super T2,A,R> aggrOp,
WindowResultFunction<? super R,? extends OUT> mapToOutputFn)
Attaches to this stage a stage that performs the given aggregate
operation over the items it receives from this stage as well as
stage1 and stage2 you supply. |
<A,R,OUT> StreamStage<OUT> |
WindowAggregateBuilder.build(AggregateOperation<A,R> aggrOp,
WindowResultFunction<? super R,? extends OUT> mapToOutputFn)
Creates and returns a pipeline stage that performs a windowed
co-aggregation of the pipeline stages registered with this builder
object.
|
Copyright © 2018 Hazelcast, Inc.. All rights reserved.