MCPcopy Create free account
hub / github.com/brimdata/super / WithMissingAsNull

Method WithMissingAsNull

runtime/sam/expr/sort.go:113–118  ·  view source on GitHub ↗

WithMissingAsNull returns the receiver after modifying it to treat missing values as the null value in comparisons.

()

Source from the content-addressed store, hash-verified

111// WithMissingAsNull returns the receiver after modifying it to treat missing
112// values as the null value in comparisons.
113func (c *Comparator) WithMissingAsNull() *Comparator {
114 for i, k := range c.exprs {
115 c.exprs[i].Evaluator = &missingAsNull{k}
116 }
117 return c
118}
119
120type missingAsNull struct{ Evaluator }
121

Callers 5

compileVamMethod · 0.80
compileMethod · 0.80
NewComparatorFunction · 0.80
NewAggregatorFunction · 0.80
ImportComparatorFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected