R
- type of aggregated resultpublic class WindowResult<R> extends Object
Constructor and Description |
---|
WindowResult(long start,
long end,
R result)
Constructs a window result that is not early.
|
WindowResult(long start,
long end,
R result,
boolean isEarly) |
Modifier and Type | Method and Description |
---|---|
long |
end()
Returns the ending timestamp of the window.
|
boolean |
equals(Object obj) |
int |
hashCode() |
boolean |
isEarly()
Returns whether this is an early window result, to be followed by the
final one.
|
R |
result()
Returns the aggregated result.
|
long |
start()
Returns the starting timestamp of the window.
|
String |
toString() |
public WindowResult(long start, long end, @Nonnull R result, boolean isEarly)
start
- start time of the windowend
- end time of the windowresult
- result of aggregationisEarly
- whether this is an early result, to be followed by the final oneCopyright © 2021 Hazelcast, Inc.. All rights reserved.