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

Method Paths

pkg/field/projection.go:35–48  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

33}
34
35func (p Projection) Paths() []Path {
36 var paths []Path
37 for _, node := range p {
38 name := node.Name
39 if len(node.Proj) > 0 {
40 for _, path := range node.Proj.Paths() {
41 paths = append(paths, append(Path{name}, path...))
42 }
43 } else {
44 paths = append(paths, Path{name})
45 }
46 }
47 return paths
48}

Callers 3

TestProjectionFunction · 0.95
OpenMethod · 0.80
NewVectorReaderFunction · 0.80

Calls

no outgoing calls

Tested by 1

TestProjectionFunction · 0.76