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

Struct rowIterator

tempodb/encoding/vparquet4/wal_block.go:973–978  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected