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.
| 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. |
| 46 | type 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 |
nothing calls this directly
no outgoing calls
no test coverage detected