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

Method Eval

runtime/sam/expr/sort.go:122–128  ·  view source on GitHub ↗
(val super.Value)

Source from the content-addressed store, hash-verified

120type missingAsNull struct{ Evaluator }
121
122func (m *missingAsNull) Eval(val super.Value) super.Value {
123 val = m.Evaluator.Eval(val)
124 if val.IsMissing() {
125 return super.Null
126 }
127 return val
128}
129
130// Compare returns an interger comparing two values according to the receiver's
131// configuration. The result will be 0 if a==b, -1 if a < b, and +1 if a > b.

Callers

nothing calls this directly

Calls 2

EvalMethod · 0.65
IsMissingMethod · 0.45

Tested by

no test coverage detected