rowIterator is used to iterate a parquet file and implement iterIterator traces are iterated according to the given row numbers, because there is not a guarantee that the underlying parquet file is sorted
| 971 | // traces are iterated according to the given row numbers, because there is |
| 972 | // not a guarantee that the underlying parquet file is sorted |
| 973 | type rowIterator struct { |
| 974 | reader *parquet.Reader //nolint:all //deprecated |
| 975 | pageFile *pageFile |
| 976 | rowNumbers []common.IDMapEntry[int64] |
| 977 | traceIDIndex int |
| 978 | } |
| 979 | |
| 980 | func newRowIterator(r *parquet.Reader, pageFile *pageFile, rowNumbers []common.IDMapEntry[int64], traceIDIndex int) *rowIterator { //nolint:all //deprecated |
| 981 | return &rowIterator{ |
nothing calls this directly
no outgoing calls
no test coverage detected