Package org.apache.flink.runtime.state
Interface KeyGroupedInternalPriorityQueue<T>
- All Superinterfaces:
InternalPriorityQueue<T>
- All Known Implementing Classes:
HeapPriorityQueueSet,KeyGroupPartitionedPriorityQueue
This interface exists as (temporary) adapter between the new
InternalPriorityQueue and
the old way in which timers are written in a snapshot. This interface can probably go away once
timer state becomes part of the keyed state backend snapshot.-
Method Summary
Modifier and TypeMethodDescriptiongetSubsetForKeyGroup(int keyGroupId) Returns the subset of elements in the priority queue that belongs to the given key-group, within the operator's key-group range.
-
Method Details
-
getSubsetForKeyGroup
Returns the subset of elements in the priority queue that belongs to the given key-group, within the operator's key-group range.
-