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

Method Write

csup/record.go:35–44  ·  view source on GitHub ↗
(vec vector.Any)

Source from the content-addressed store, hash-verified

33}
34
35func (r *RecordEncoder) Write(vec vector.Any) {
36 if vec.Len() == 0 {
37 return
38 }
39 rec := vec.(*vector.Record)
40 r.count += rec.Len()
41 for k, f := range r.fields {
42 f.write(rec.Fields[k])
43 }
44}
45
46func (r *RecordEncoder) Encode(group *errgroup.Group) {
47 for _, f := range r.fields {

Callers

nothing calls this directly

Calls 2

LenMethod · 0.65
writeMethod · 0.45

Tested by

no test coverage detected