Package com.hazelcast.jet.datamodel
Class KeyedWindowResult<K,R> 
java.lang.Object
com.hazelcast.jet.datamodel.WindowResult<R>
com.hazelcast.jet.datamodel.KeyedWindowResult<K,R> 
- Type Parameters:
- K- type of the grouping key
- R- type of the aggregated result
- All Implemented Interfaces:
- Map.Entry<K,- R> 
Holds the result of a group-and-aggregate operation performed over a
 time window.
- Since:
- Jet 3.0
- 
Constructor SummaryConstructorsConstructorDescriptionKeyedWindowResult(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) 
- 
Method SummaryMethods inherited from class com.hazelcast.jet.datamodel.WindowResultend, isEarly, result, start
- 
Constructor Details- 
KeyedWindowResult- Parameters:
- start- start time of the window
- end- end time of the window
- key- grouping key
- result- result of aggregation
- isEarly- whether this is an early result, to be followed by the final one
 
- 
KeyedWindowResultConstructs a keyed window result that is not early.- Parameters:
- start- start time of the window
- end- end time of the window
- key- grouping key
- result- result of aggregation
 
 
- 
- 
Method Details- 
keyReturns the grouping key.
- 
getKeyAlias forkey, implementsMap.Entry.
- 
getValueAlias forWindowResult.result(), implementsMap.Entry.
- 
setValueImplementsMap.Entry, throwsUnsupportedOperationException.
- 
equals
- 
hashCodepublic int hashCode()
- 
toString- Overrides:
- toStringin class- WindowResult<R>
 
 
-