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

Method CurrentEx

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

CurrentEx is a more advanced form of Current() that returns more metadata for each entry. It is more useful when used with IteratorOptions.IncludeDeletions of true. It returns ErrIteratorDone if the iterator is done. Otherwise, the current EntryEx, key, val are returned, which should be treated a

()

Source from the content-addressed store, hash-verified

434 // current EntryEx, key, val are returned, which should be treated
435 // as immutable or read-only.
436 CurrentEx() (entryEx EntryEx, key, val []byte, err error)
437}
438
439// WriteOptions are provided to Collection.ExecuteBatch().

Callers 8

runTestPersisterFunction · 0.95
mergeIntoMethod · 0.65
testOpsBatchSize1Function · 0.65
runOpTestsFunction · 0.65
UpdateMethod · 0.65
UpdateMethod · 0.65
verifySnapshotFunction · 0.65

Implementers 4

iteratoriterator.go
TestPersisterIteratorpersister_test.go
testPersisterIteratorpersister_test.go
iteratorSingleiterator_single.go

Calls

no outgoing calls

Tested by 7

runTestPersisterFunction · 0.76
testOpsBatchSize1Function · 0.52
runOpTestsFunction · 0.52
UpdateMethod · 0.52
UpdateMethod · 0.52
verifySnapshotFunction · 0.52