public abstract class BlockIterator extends Object implements Iterator<Map.Entry<MemorySlice,MemorySlice>>
Iterator for a block.| 限定符和类型 | 字段和说明 |
|---|---|
protected MemorySliceInput |
data |
| 构造器和说明 |
|---|
BlockIterator(MemorySliceInput data,
int recordCount,
Comparator<MemorySlice> comparator) |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
hasNext() |
BlockEntry |
next() |
void |
remove() |
abstract void |
seekTo(int record) |
boolean |
seekTo(MemorySlice targetKey) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingprotected final MemorySliceInput data
public BlockIterator(MemorySliceInput data, int recordCount, Comparator<MemorySlice> comparator)
public boolean hasNext()
hasNext 在接口中 Iterator<Map.Entry<MemorySlice,MemorySlice>>public BlockEntry next()
next 在接口中 Iterator<Map.Entry<MemorySlice,MemorySlice>>public void remove()
remove 在接口中 Iterator<Map.Entry<MemorySlice,MemorySlice>>public boolean seekTo(MemorySlice targetKey)
public abstract void seekTo(int record)
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.