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

Struct virtualRowNumberIterator

tempodb/encoding/vparquet5/row_number_iterator.go:46–53  ·  view source on GitHub ↗

virtualRowNumberIterator is an iterator that reads the row count from a column in a parquet file and uses this count to calculate virtual row numbers on the given definitionLevel. This is used to iterate over spans in a trace without actually reading a column on span definition level.

Source from the content-addressed store, hash-verified

44// to calculate virtual row numbers on the given definitionLevel. This is used to iterate over spans in a trace without
45// actually reading a column on span definition level.
46type virtualRowNumberIterator struct {
47 iter pq.Iterator // iterator returning the row count
48 definitionLevel int // definition level of virtual row numbers
49
50 at pq.IteratorResult
51 rowsMax int32
52 rowsLeft int32
53}
54
55// newVirtualRowNumberIterator creates a new virtual row number iterator. The iterator will read the row count from the
56// given column and use it to calculate virtual row numbers on the given definitionLevel. The row number column read by iter

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected