- All Superinterfaces:
Block
- All Known Implementing Classes:
BranchBlockV1
public interface BranchBlock
extends Block
-
-
Method Summary
Methods inherited from interface io.datarouter.filesystem.snapshot.block.Block
heapSize
-
-
Method Details
-
level
int level()
level 0 is a leaf index pointing at LeafBlocks
- Returns:
- level
-
numRecords
int numRecords()
-
recordId
long recordId(int index)
-
key
io.datarouter.bytes.Bytes key(int index)
-
keys
io.datarouter.scanner.Scanner<io.datarouter.bytes.Bytes> keys()
-
lastKey
default io.datarouter.bytes.Bytes lastKey()
-
keyCopies
default io.datarouter.scanner.Scanner<byte[]> keyCopies()
-
childBlock
int childBlock(int recordIndex)
-
lastRecordId
default long lastRecordId()
-
findChildBlockIndex
default int findChildBlockIndex(long recordId)
-
findChildBlockIndex
default int findChildBlockIndex(byte[] searchKey)
-
childBlockIds
io.datarouter.scanner.Scanner<Integer> childBlockIds()
-
-
-