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

Method Metadata

csup/array.go:58–66  ·  view source on GitHub ↗
(cctx *Context, off uint64)

Source from the content-addressed store, hash-verified

56}
57
58func (a *ArrayEncoder) Metadata(cctx *Context, off uint64) (uint64, ID) {
59 off, lens := a.offsets.Segment(off)
60 off, vals := a.values.Metadata(cctx, off)
61 return off, cctx.enter(&Array{
62 Length: a.count,
63 Lengths: lens,
64 Values: vals,
65 })
66}
67
68type SetEncoder struct {
69 ArrayEncoder

Callers

nothing calls this directly

Calls 3

SegmentMethod · 0.80
MetadataMethod · 0.65
enterMethod · 0.45

Tested by

no test coverage detected