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

Method Metadata

csup/record.go:52–60  ·  view source on GitHub ↗
(cctx *Context, off uint64)

Source from the content-addressed store, hash-verified

50}
51
52func (r *RecordEncoder) Metadata(cctx *Context, off uint64) (uint64, ID) {
53 fields := make([]Field, 0, len(r.fields))
54 for _, field := range r.fields {
55 next, m := field.Metadata(cctx, off)
56 fields = append(fields, m)
57 off = next
58 }
59 return off, cctx.enter(&Record{Length: r.count, Fields: fields})
60}
61
62func (r *RecordEncoder) Emit(w io.Writer) error {
63 for _, f := range r.fields {

Callers

nothing calls this directly

Calls 2

MetadataMethod · 0.65
enterMethod · 0.45

Tested by

no test coverage detected