Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Optimize ¶
func Optimize(ctx context.Context, sctx sessionctx.Context, node ast.Node, is infoschema.InfoSchema) (plannercore.Plan, types.NameSlice, error)
Optimize does optimization and creates a Plan. The node must be prepared first.
func OptimizeExecStmt ¶
func OptimizeExecStmt(ctx context.Context, sctx sessionctx.Context, execAst *ast.ExecuteStmt, is infoschema.InfoSchema) (plannercore.Plan, error)
OptimizeExecStmt to optimize prepare statement protocol "execute" statement this is a short path ONLY does things filling prepare related params for point select like plan which does not need extra things
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.