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

Function NewRegexNotInPredicate

pkg/parquetquery/predicates.go:177–179  ·  view source on GitHub ↗

NewRegexNotInPredicate checks for values that not match against any of the given regexs. Memoized and resets on each row group.

(regs []string)

Source from the content-addressed store, hash-verified

175// NewRegexNotInPredicate checks for values that not match against any of the given regexs.
176// Memoized and resets on each row group.
177func NewRegexNotInPredicate(regs []string) (Predicate, error) {
178 return newRegexPredicate(regs, false)
179}
180
181func newRegexPredicate(regs []string, shouldMatch bool) (Predicate, error) {
182 m, err := regexp.NewRegexp(regs, shouldMatch)

Callers 4

createStringPredicateFunction · 0.92
createStringPredicateFunction · 0.92
createStringPredicateFunction · 0.92

Calls 1

newRegexPredicateFunction · 0.85

Tested by 1