public class Block extends Object implements SeekingIterable<Slice,Slice>
| name | offset | length | description |
|---|---|---|---|
| entries | 4 | vary | Entries in order by key |
| restart index | vary | 4 * restart count | Index of prefix compression restarts |
| restart count | 0 | 4 | Number of prefix compression restarts (used as index into entries) |
| Constructor and Description |
|---|
Block(Slice block,
Comparator<Slice> comparator) |
| Modifier and Type | Method and Description |
|---|---|
BlockIterator |
iterator() |
long |
size() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic Block(Slice block, Comparator<Slice> comparator)
public long size()
public BlockIterator iterator()
Copyright © 2011–2019. All rights reserved.