tidb: github.com/pingcap/tidb/planner Index | Files | Directories

package planner

import "github.com/pingcap/tidb/planner"

Index

Package Files

optimize.go

func Optimize Uses

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 Uses

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

Directories

PathSynopsis
cascades
core
implementation
memo
property
util

Package planner imports 18 packages (graph) and is imported by 14 packages. Updated 2020-02-28. Refresh now. Tools for package owners.