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

Method Next

pkg/parquetquery/nil_iter.go:42–55  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

40}
41
42func (c *NilSyncIterator) Next() (*IteratorResult, error) {
43 rn, _, err := c.next()
44 if err != nil {
45 return nil, err
46 }
47
48 if !rn.Valid() {
49 return nil, nil
50 }
51
52 nilValue := pq.ValueOf(nil)
53 v := &nilValue
54 return c.makeResult(rn, v), nil
55}
56
57func (c *NilSyncIterator) SeekTo(to RowNumber, definitionLevel int) (*IteratorResult, error) {
58 for {

Callers 1

TestNilIteratorFunction · 0.95

Calls 2

nextMethod · 0.95
ValidMethod · 0.80

Tested by 1

TestNilIteratorFunction · 0.76