MCPcopy Create free account
hub / github.com/ByteStorage/FlyDB / Valid

Method Valid

engine/index/index.go:78–78  ·  view source on GitHub ↗

Valid returns whether the iterator is still valid, i.e., if all keys have been traversed.

()

Source from the content-addressed store, hash-verified

76
77 // Valid returns whether the iterator is still valid, i.e., if all keys have been traversed.
78 Valid() bool
79
80 // Key returns the key at the current iterator position.
81 Key() []byte

Callers 7

GetListKeysMethod · 0.65
FoldMethod · 0.65
ValidMethod · 0.65
skipToNextMethod · 0.65
TestSkipList_IteratorFunction · 0.65
TestBTree_IteratorFunction · 0.65

Implementers 5

Iteratorengine/iterator.go
SkipListIteratorengine/index/skiplist.go
ARTreeIteratorengine/index/art.go
bptreeIteratorengine/index/bptree.go
BtreeIteratorengine/index/btree.go

Calls

no outgoing calls

Tested by 3

TestSkipList_IteratorFunction · 0.52
TestBTree_IteratorFunction · 0.52