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

Method encodeKey

runtime/sam/expr/function/flatten.go:99–105  ·  view source on GitHub ↗
(key field.Path)

Source from the content-addressed store, hash-verified

97}
98
99func (n *Flatten) encodeKey(key field.Path) {
100 n.BeginContainer()
101 for _, name := range key {
102 n.Append(super.EncodeString(name))
103 }
104 n.EndContainer()
105}

Callers 1

encodeMethod · 0.95

Calls 4

EncodeStringFunction · 0.92
BeginContainerMethod · 0.80
EndContainerMethod · 0.80
AppendMethod · 0.45

Tested by

no test coverage detected