public class RocksStatesPerKeyGroupMergeIterator extends Object implements org.apache.flink.runtime.state.KeyValueStateIterator
| 构造器和说明 |
|---|
RocksStatesPerKeyGroupMergeIterator(org.apache.flink.core.fs.CloseableRegistry closeableRegistry,
List<org.apache.flink.api.java.tuple.Tuple2<RocksIteratorWrapper,Integer>> kvStateIterators,
List<SingleStateIterator> heapPriorityQueueIterators,
int keyGroupPrefixByteCount)
Creates a new
RocksStatesPerKeyGroupMergeIterator. |
public RocksStatesPerKeyGroupMergeIterator(org.apache.flink.core.fs.CloseableRegistry closeableRegistry,
List<org.apache.flink.api.java.tuple.Tuple2<RocksIteratorWrapper,Integer>> kvStateIterators,
List<SingleStateIterator> heapPriorityQueueIterators,
int keyGroupPrefixByteCount)
throws IOException
RocksStatesPerKeyGroupMergeIterator. The iterator takes ownership of
passed in resources, such as the ReadOptions, and becomes responsible for closing
them.IOExceptionpublic void next()
next 在接口中 org.apache.flink.runtime.state.KeyValueStateIteratorpublic int keyGroup()
keyGroup 在接口中 org.apache.flink.runtime.state.KeyValueStateIteratorpublic byte[] key()
key 在接口中 org.apache.flink.runtime.state.KeyValueStateIteratorpublic byte[] value()
value 在接口中 org.apache.flink.runtime.state.KeyValueStateIteratorpublic int kvStateId()
kvStateId 在接口中 org.apache.flink.runtime.state.KeyValueStateIteratorpublic boolean isNewKeyValueState()
isNewKeyValueState 在接口中 org.apache.flink.runtime.state.KeyValueStateIteratorpublic boolean isNewKeyGroup()
isNewKeyGroup 在接口中 org.apache.flink.runtime.state.KeyValueStateIteratorpublic boolean isValid()
isValid 在接口中 org.apache.flink.runtime.state.KeyValueStateIteratorpublic void close()
close 在接口中 AutoCloseableclose 在接口中 org.apache.flink.runtime.state.KeyValueStateIteratorCopyright © 2014–2023 The Apache Software Foundation. All rights reserved.