MCPcopy
hub / github.com/grafana/tempo / newMultiblockIterator

Function newMultiblockIterator

tempodb/encoding/vparquet3/multiblock_iterator.go:27–32  ·  view source on GitHub ↗
(bookmarks []*bookmark[T], combine combineFn[T])

Source from the content-addressed store, hash-verified

25}
26
27func newMultiblockIterator[T iteratable](bookmarks []*bookmark[T], combine combineFn[T]) *MultiBlockIterator[T] {
28 return &MultiBlockIterator[T]{
29 bookmarks: bookmarks,
30 combine: combine,
31 }
32}
33
34func (m *MultiBlockIterator[T]) Next(ctx context.Context) (common.ID, T, error) {
35 if m.done(ctx) {

Callers 3

CompactMethod · 0.70
TestMultiBlockIteratorFunction · 0.70
IteratorMethod · 0.70

Calls

no outgoing calls

Tested by 1

TestMultiBlockIteratorFunction · 0.56