MCPcopy Create free account
hub / github.com/couchbase/moss / StartIterator

Method StartIterator

api.go:394–394  ·  view source on GitHub ↗

StartIterator returns a new Iterator instance on this Snapshot. On success, the returned Iterator will be positioned so that Iterator.Current() will either provide the first entry in the range or ErrIteratorDone. A startKeyInclusive of nil means the logical "bottom-most" possible key and an endKey

(startKeyInclusive, endKeyExclusive []byte,
		iteratorOptions IteratorOptions)

Source from the content-addressed store, hash-verified

392 // possible key and an endKeyExclusive of nil means the logical
393 // key that's above the "top-most" possible key.
394 StartIterator(startKeyInclusive, endKeyExclusive []byte,
395 iteratorOptions IteratorOptions) (Iterator, error)
396
397 // ChildCollectionNames returns an array of child collection name strings.

Callers 15

closeReopenFuncFunction · 0.95
benchmarkStoreDoFunction · 0.95
snapshotCreateFuncFunction · 0.65
iteratorCreateFuncFunction · 0.65
iteratorNextFuncFunction · 0.65
readItemsMethod · 0.65
TestIteratorMergeOpsFunction · 0.65
testIteratorSeekToFunction · 0.65

Implementers 4

Footerstore.go
segmentStacksegment_stack.go
testPersisterpersister_test.go

Calls

no outgoing calls

Tested by 15

benchmarkStoreDoFunction · 0.76
readItemsMethod · 0.52
TestIteratorMergeOpsFunction · 0.52
testIteratorSeekToFunction · 0.52
TestIteratorSingleDoneFunction · 0.52
TestOpenEmptyStoreFunction · 0.52
testSimpleStoreExFunction · 0.52
testStoreCompactionFunction · 0.52