Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SimpleOptimizer ¶
type SimpleOptimizer struct {
// contains filtered or unexported fields
}
SimpleOptimizer is a simple optimizer who dispatches the plans
func NewSimpleOptimizer ¶
func NewSimpleOptimizer(log *xlog.Log, database string, query string, node sqlparser.Statement, router *router.Router) *SimpleOptimizer
NewSimpleOptimizer creates the new simple optimizer.
func (*SimpleOptimizer) BuildPlanTree ¶
func (so *SimpleOptimizer) BuildPlanTree() (*planner.PlanTree, error)
BuildPlanTree used to build plan trees for the query.
Click to show internal directories.
Click to hide internal directories.