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

Function NewExecutor

exec/executor.go:36–42  ·  view source on GitHub ↗

NewExecutor creates a new Job Executor.

(ctx *plan.Context, planner plan.Planner)

Source from the content-addressed store, hash-verified

34
35// NewExecutor creates a new Job Executor.
36func NewExecutor(ctx *plan.Context, planner plan.Planner) *JobExecutor {
37 e := &JobExecutor{}
38 e.Executor = e
39 e.Planner = planner
40 e.Ctx = ctx
41 return e
42}
43
44// BuildSqlJob given a plan context (query statement, +context) create
45// a JobExecutor and error if we can't.

Callers 1

BuildSqlJobFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected