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

Method Metadata

csup/field.go:31–44  ·  view source on GitHub ↗
(cctx *Context, off uint64)

Source from the content-addressed store, hash-verified

29}
30
31func (f *FieldEncoder) Metadata(cctx *Context, off uint64) (uint64, Field) {
32 var nones Segment
33 if f.nones != nil {
34 off, nones = f.nones.Segment(off)
35 }
36 var id ID
37 off, id = f.values.Metadata(cctx, off)
38 return off, Field{
39 Name: f.name,
40 Values: id,
41 Opt: f.opt,
42 Nones: nones,
43 }
44}
45
46func (f *FieldEncoder) Encode(group *errgroup.Group, count uint32) {
47 if f.opt {

Callers

nothing calls this directly

Calls 2

SegmentMethod · 0.80
MetadataMethod · 0.65

Tested by

no test coverage detected