R0 - type of the aggregated result from stream-0R1 - type of the aggregated result from stream-1R2 - type of the aggregated result from stream-2OUT - the type of the output item this function returns@FunctionalInterface public interface WindowResult3Function<R0,R1,R2,OUT> extends Serializable
stage.aggregate2(), that aggregates two input streams. It creates the
item to emit based on the two results of the aggregate operation
performed for a particular window.
The parameters are:
winStart and winEnd: the starting and ending timestamp
of the window (the end timestamp is the exclusive upper bound)
result0 aggregated result of input stream-0
result1 aggregated result of input stream-1
| Modifier and Type | Method and Description |
|---|---|
OUT |
apply(long start,
long end,
R0 result0,
R1 result1,
R2 result2) |
default KeyedWindowResult3Function<Object,R0,R1,R2,OUT> |
toKeyedWindowResult3Fn() |
Copyright © 2018 Hazelcast, Inc.. All rights reserved.