Final Projections project final select columns for result-writing
(ctx *plan.Context, p *plan.Projection)
| 45 | |
| 46 | // Final Projections project final select columns for result-writing |
| 47 | func NewProjectionFinal(ctx *plan.Context, p *plan.Projection) *Projection { |
| 48 | s := &Projection{ |
| 49 | TaskBase: NewTaskBase(ctx), |
| 50 | p: p, |
| 51 | } |
| 52 | s.Handler = s.projectionEvaluator(p.Final) |
| 53 | return s |
| 54 | } |
| 55 | |
| 56 | // NewProjectionLimit Only provides counting/limit projection |
| 57 | func NewProjectionLimit(ctx *plan.Context, p *plan.Projection) *Projection { |
no test coverage detected