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

Function SyncIteratorOptMaxDefinitionLevel

pkg/parquetquery/iters.go:435–439  ·  view source on GitHub ↗

SyncIteratorOptMaxDefinitionLevel specifies the maximum definition level that can be expected for this column. Allows for better efficiency, but not required for correct behavior.

(maxDefinitionLevel int)

Source from the content-addressed store, hash-verified

433// can be expected for this column. Allows for better efficiency, but not
434// required for correct behavior.
435func SyncIteratorOptMaxDefinitionLevel(maxDefinitionLevel int) SyncIteratorOpt {
436 return func(i *SyncIterator) {
437 i.maxDefinitionLevel = maxDefinitionLevel
438 }
439}
440
441// SyncIterator is a synchronous column iterator. It scans through the given row
442// groups and column, and applies the optional predicate to each chunk, page, and value.

Callers 5

findTraceByIDFunction · 0.92
findTraceByIDFunction · 0.92
makeIterFuncFunction · 0.92
TestNilIteratorFunction · 0.85
iters_test.goFile · 0.85

Calls

no outgoing calls

Tested by 1

TestNilIteratorFunction · 0.68