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

Function SyncIteratorOptPredicate

pkg/parquetquery/iters.go:399–403  ·  view source on GitHub ↗

SyncIteratorOptPredicate uses the given predicate to filter column values.

(p Predicate)

Source from the content-addressed store, hash-verified

397
398// SyncIteratorOptPredicate uses the given predicate to filter column values.
399func SyncIteratorOptPredicate(p Predicate) SyncIteratorOpt {
400 return func(i *SyncIterator) {
401 i.filter = p
402 }
403}
404
405// SyncIteratorOptColumnName sets the column name for the iterator.
406// This is used for tracing and debugging only. All work is done

Callers 6

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

Calls

no outgoing calls

Tested by 2

testPredicateFunction · 0.68
TestNilIteratorFunction · 0.68