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

Method project

runtime/vcache/primitive.go:33–38  ·  view source on GitHub ↗
(loader *loader, projection field.Projection)

Source from the content-addressed store, hash-verified

31func (*primitive) unmarshal(*csup.Context, field.Projection) {}
32
33func (p *primitive) project(loader *loader, projection field.Projection) vector.Any {
34 if len(projection) > 0 {
35 return vector.NewMissing(loader.sctx, p.length())
36 }
37 return p.newVector(loader)
38}
39
40func (p *primitive) load(loader *loader) any {
41 p.mu.Lock()

Callers

nothing calls this directly

Calls 3

lengthMethod · 0.95
newVectorMethod · 0.95
NewMissingFunction · 0.92

Tested by

no test coverage detected