MCPcopy Create free account
hub / github.com/araddon/qlbridge / NewProjectionInProcess

Function NewProjectionInProcess

exec/projection.go:37–44  ·  view source on GitHub ↗

In Process projections are used when mapping multiple sources together and additional columns such as those used in Where, GroupBy etc are used even if they will not be used in Final projection

(ctx *plan.Context, p *plan.Projection)

Source from the content-addressed store, hash-verified

35// and additional columns such as those used in Where, GroupBy etc are used
36// even if they will not be used in Final projection
37func NewProjectionInProcess(ctx *plan.Context, p *plan.Projection) *Projection {
38 s := &Projection{
39 TaskBase: NewTaskBase(ctx),
40 p: p,
41 }
42 s.Handler = s.projectionEvaluator(p.Final)
43 return s
44}
45
46// Final Projections project final select columns for result-writing
47func NewProjectionFinal(ctx *plan.Context, p *plan.Projection) *Projection {

Callers 1

NewProjectionFunction · 0.70

Calls 2

projectionEvaluatorMethod · 0.95
NewTaskBaseFunction · 0.85

Tested by

no test coverage detected