JobExecutor translates a Sql Statement into a Execution DAG of tasks using the Planner, Executor supplied. This package implements default executor and uses the default Planner from plan. This will create a single node dag of Tasks.
| 24 | // executor and uses the default Planner from plan. This will create a single |
| 25 | // node dag of Tasks. |
| 26 | type JobExecutor struct { |
| 27 | Planner plan.Planner |
| 28 | Executor Executor |
| 29 | RootTask TaskRunner |
| 30 | Ctx *plan.Context |
| 31 | distinct bool |
| 32 | children []Task |
| 33 | } |
| 34 | |
| 35 | // NewExecutor creates a new Job Executor. |
| 36 | func NewExecutor(ctx *plan.Context, planner plan.Planner) *JobExecutor { |
nothing calls this directly
no outgoing calls
no test coverage detected