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

Function Dematerialize

sbuf/materialize.go:55–61  ·  view source on GitHub ↗
(sctx *super.Context, batch Batch)

Source from the content-addressed store, hash-verified

53}
54
55func Dematerialize(sctx *super.Context, batch Batch) vector.Any {
56 builder := vector.NewDynamicBuilder()
57 for _, val := range batch.Values() {
58 builder.Write(val)
59 }
60 return builder.Build(sctx)
61}
62
63func ValToVec(sctx *super.Context, val super.Value) vector.Any {
64 builder := vector.NewDynamicBuilder()

Callers 3

TestJSUPWriterFunction · 0.92
PullMethod · 0.92
WriteBatchMethod · 0.92

Calls 4

WriteMethod · 0.95
BuildMethod · 0.95
NewDynamicBuilderFunction · 0.92
ValuesMethod · 0.65

Tested by 1

TestJSUPWriterFunction · 0.74