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

Function SyncIteratorOptSelectAs

pkg/parquetquery/iters.go:418–422  ·  view source on GitHub ↗

SyncIteratorOptSelectAs returns the values of the columns with this name in the IteratorResult. By default the iterator only looks for matches and returns their row numbers. This option is used when you also want the actual found values back.

(selectAs string)

Source from the content-addressed store, hash-verified

416// returns their row numbers. This option is used when you also want the actual
417// found values back.
418func SyncIteratorOptSelectAs(selectAs string) SyncIteratorOpt {
419 return func(i *SyncIterator) {
420 i.selectAs = selectAs
421 }
422}
423
424// SyncIteratorOptBufferSize overrides the default buffer size. This is how many
425// values are unpacked from the column on each read.

Callers 3

makeIterFuncFunction · 0.92
TestNilIteratorFunction · 0.85
iters_test.goFile · 0.85

Calls

no outgoing calls

Tested by 1

TestNilIteratorFunction · 0.68