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

Struct IteratorResult

pkg/parquetquery/iters.go:182–192  ·  view source on GitHub ↗

IteratorResult is a row of data with a row number and named columns of data. Internally it has an unstructured list for efficient collection. The ToMap() function can be used to make inspection easier.

Source from the content-addressed store, hash-verified

180// Internally it has an unstructured list for efficient collection. The ToMap()
181// function can be used to make inspection easier.
182type IteratorResult struct {
183 RowNumber RowNumber
184 Entries []struct {
185 Key string
186 Value pq.Value
187 }
188 OtherEntries []struct {
189 Key string
190 Value interface{}
191 }
192}
193
194func (r *IteratorResult) Reset() {
195 r.Entries = r.Entries[:0]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected