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

Method SeekTo

pkg/parquetquery/iters_test.go:424–432  ·  view source on GitHub ↗
(to RowNumber, d int)

Source from the content-addressed store, hash-verified

422}
423
424func (t *testIterator) SeekTo(to RowNumber, d int) (*IteratorResult, error) {
425 for j := t.i; j < len(t.rows); j++ {
426 if EqualRowNumber(d, t.rows[j].RowNumber, to) {
427 t.i = j + 1
428 return &t.rows[j], nil
429 }
430 }
431 return nil, nil
432}
433
434func (t *testIterator) Close() {
435}

Callers

nothing calls this directly

Calls 1

EqualRowNumberFunction · 0.85

Tested by

no test coverage detected