use of org.apache.flink.contrib.streaming.state.iterator.RocksQueueIterator in project flink by apache.
the class RocksDBFullSnapshotResources method createHeapPriorityQueueIterators.
private List<SingleStateIterator> createHeapPriorityQueueIterators() {
int kvStateId = metaData.size();
List<SingleStateIterator> queuesIterators = new ArrayList<>(heapPriorityQueuesSnapshots.size());
for (HeapPriorityQueueStateSnapshot<?> queuesSnapshot : heapPriorityQueuesSnapshots) {
queuesIterators.add(new RocksQueueIterator(queuesSnapshot, keyGroupRange, keyGroupPrefixBytes, kvStateId++));
}
return queuesIterators;
}
Aggregations