R0
- type of the aggregated result from stream-0R1
- type of the aggregated result from stream-1OUT
- the type of the output item this function returns@FunctionalInterface public interface WindowResult2Function<R0,R1,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) |
default KeyedWindowResult2Function<Object,R0,R1,OUT> |
toKeyedWindowResult2Fn() |
Copyright © 2018 Hazelcast, Inc.. All rights reserved.