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

Method Skip

pkg/parquetquery/iters.go:146–151  ·  view source on GitHub ↗

Skip rows at the root-level.

(numRows int64)

Source from the content-addressed store, hash-verified

144
145// Skip rows at the root-level.
146func (t *RowNumber) Skip(numRows int64) {
147 t[0] += int32(numRows)
148 for i := 1; i < len(t); i++ {
149 t[i] = -1
150 }
151}
152
153// Preceding returns the largest representable row number that is immediately prior to this
154// one. Think of it like math.NextAfter but for segmented row numbers. Examples:

Callers 11

TestSamplingErrorFunction · 0.80
TestSamplingErrorFunction · 0.80
TestBackfillIssuesFunction · 0.80
TestUpdateFunction · 0.80
NewSyncIteratorFunction · 0.80
seekPagesMethod · 0.80
nextMethod · 0.80
setPageMethod · 0.80
nextMethod · 0.80

Calls

no outgoing calls

Tested by 6

TestSamplingErrorFunction · 0.64
TestSamplingErrorFunction · 0.64
TestBackfillIssuesFunction · 0.64
TestUpdateFunction · 0.64