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

Method Build

vector/builder.go:41–50  ·  view source on GitHub ↗
(sctx *super.Context)

Source from the content-addressed store, hash-verified

39}
40
41func (d *DynamicBuilder) Build(sctx *super.Context) Any {
42 var vecs []Any
43 for _, b := range d.values {
44 vecs = append(vecs, b.Build(sctx))
45 }
46 if len(vecs) == 1 {
47 return vecs[0]
48 }
49 return NewDynamic(d.tags, vecs)
50}
51
52func NewBuilder(typ super.Type) Builder {
53 switch typ := typ.(type) {

Callers 15

DematerializeFunction · 0.95
ValToVecFunction · 0.95
ValToPullerFunction · 0.95
ConcurrentPullMethod · 0.95
EvalMethod · 0.95
buildMethod · 0.95
CallMethod · 0.95
CallMethod · 0.95
CallMethod · 0.95
slowMethod · 0.95
CallMethod · 0.95
CallMethod · 0.95

Calls 2

NewDynamicFunction · 0.85
BuildMethod · 0.65

Tested by 2

valToVecFunction · 0.76