K - type of the grouping keyR - type of the aggregated resultpublic final class KeyedWindowResult<K,R> extends WindowResult<R> implements Map.Entry<K,R>
| Constructor and Description | 
|---|
KeyedWindowResult(long start,
                 long end,
                 K key,
                 R result)
Constructs a keyed window result that is not early. 
 | 
KeyedWindowResult(long start,
                 long end,
                 K key,
                 R result,
                 boolean isEarly)  | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
equals(Object obj)  | 
K | 
getKey()
Alias for  
key, implements Map.Entry. | 
R | 
getValue()
Alias for  
WindowResult.result(), implements Map.Entry. | 
int | 
hashCode()  | 
K | 
key()
Returns the grouping key. 
 | 
R | 
setValue(R value)
Implements  
Map.Entry, throws UnsupportedOperationException. | 
String | 
toString()  | 
end, isEarly, result, startclone, finalize, getClass, notify, notifyAll, wait, wait, waitcomparingByKey, comparingByKey, comparingByValue, comparingByValuepublic KeyedWindowResult(long start,
                         long end,
                         @Nonnull
                         K key,
                         @Nonnull
                         R result,
                         boolean isEarly)
start - start time of the windowend - end time of the windowkey - grouping keyresult - result of aggregationisEarly - whether this is an early result, to be followed by the final onepublic R getValue()
WindowResult.result(), implements Map.Entry.public boolean equals(Object obj)
public int hashCode()
public String toString()
toString in class WindowResult<R>Copyright © 2023 Hazelcast, Inc.. All rights reserved.