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

Struct JobExecutor

exec/executor.go:26–33  ·  view source on GitHub ↗

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.

Source from the content-addressed store, hash-verified

24// executor and uses the default Planner from plan. This will create a single
25// node dag of Tasks.
26type 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.
36func NewExecutor(ctx *plan.Context, planner plan.Planner) *JobExecutor {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected