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

Function ValToPuller

sbuf/materialize.go:69–73  ·  view source on GitHub ↗
(sctx *super.Context, val super.Value)

Source from the content-addressed store, hash-verified

67}
68
69func ValToPuller(sctx *super.Context, val super.Value) vio.Puller {
70 builder := vector.NewDynamicBuilder()
71 builder.Write(val)
72 return &vecPuller{builder.Build(sctx)}
73}
74
75type vecPuller struct {
76 vec vector.Any

Callers 1

writeValueMethod · 0.92

Calls 3

WriteMethod · 0.95
BuildMethod · 0.95
NewDynamicBuilderFunction · 0.92

Tested by

no test coverage detected