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

Function NewScodeEncoder

csup/scode.go:31–36  ·  view source on GitHub ↗
(typ super.Type)

Source from the content-addressed store, hash-verified

29}
30
31func NewScodeEncoder(typ super.Type) *ScodeEncoder {
32 return &ScodeEncoder{
33 typ: typ,
34 cmp: expr.NewValueCompareFn(order.Asc, order.NullsFirst),
35 }
36}
37
38// XXX TBD: change all the scode primitives to be native and get rid of
39// this slow path here.

Callers 2

DictMethod · 0.85
NewPrimitiveEncoderFunction · 0.85

Calls 1

NewValueCompareFnFunction · 0.92

Tested by

no test coverage detected