MCPcopy Index your code
hub / github.com/sql-machine-learning/sqlflow / Executor

Interface Executor

go/executor/executor.go:60–71  ·  view source on GitHub ↗

Executor call code geneartor to generate submitter program and execute it.

Source from the content-addressed store, hash-verified

58
59// Executor call code geneartor to generate submitter program and execute it.
60type Executor interface {
61 Setup(*pipe.Writer, *database.DB, string, string, *pb.Session)
62 ExecuteQuery(*ir.NormalStmt) error
63 ExecuteTrain(*ir.TrainStmt) error
64 ExecutePredict(*ir.PredictStmt) error
65 ExecuteExplain(*ir.ExplainStmt) error
66 ExecuteEvaluate(*ir.EvaluateStmt) error
67 ExecuteShowTrain(*ir.ShowTrainStmt) error
68 ExecuteOptimize(*ir.OptimizeStmt) error
69 ExecuteRun(*ir.RunStmt) error
70 GetTrainStmtFromModel() bool
71}
72
73// New returns a proper Submitter from configurations in environment variables.
74func New(executor string) Executor {

Callers 10

RunFunction · 0.65
RunFunction · 0.65
RunFunction · 0.65
RunFunction · 0.65
RunFunction · 0.65
RunFunction · 0.65
RunFunction · 0.65
RunFunction · 0.65

Implementers 1

pythonExecutorgo/executor/executor.go

Calls

no outgoing calls

Tested by

no test coverage detected