public class HeapPriorityQueueSetFactory extends Object implements PriorityQueueSetFactory
HeapPriorityQueueSet.| Constructor and Description |
|---|
HeapPriorityQueueSetFactory(KeyGroupRange keyGroupRange,
int totalKeyGroups,
int minimumCapacity) |
| Modifier and Type | Method and Description |
|---|---|
<T extends HeapPriorityQueueElement & PriorityComparable<? super T> & Keyed<?>> |
create(String stateName,
org.apache.flink.api.common.typeutils.TypeSerializer<T> byteOrderedElementSerializer)
Creates a
KeyGroupedInternalPriorityQueue. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreatepublic HeapPriorityQueueSetFactory(@Nonnull KeyGroupRange keyGroupRange, @Nonnegative int totalKeyGroups, @Nonnegative int minimumCapacity)
@Nonnull public <T extends HeapPriorityQueueElement & PriorityComparable<? super T> & Keyed<?>> HeapPriorityQueueSet<T> create(@Nonnull String stateName, @Nonnull org.apache.flink.api.common.typeutils.TypeSerializer<T> byteOrderedElementSerializer)
PriorityQueueSetFactoryKeyGroupedInternalPriorityQueue.create in interface PriorityQueueSetFactoryT - type of the stored elements.stateName - unique name for associated with this queue.byteOrderedElementSerializer - a serializer that with a format that is lexicographically
ordered in alignment with elementPriorityComparator.Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.