Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Context ¶
type Context struct {
// contains filtered or unexported fields
}
Context includes all the context stuff when go through memo optimizing.
func NewContext ¶
func NewContext(pctx corebase.PlanContext) *Context
NewContext returns a new memo context responsible for manage all the stuff in cascades opt.
func (*Context) Destroy ¶
func (c *Context) Destroy()
Destroy the memo context, which will clean the resource allocated during this phase.
func (*Context) GetScheduler ¶
GetScheduler return the stack inside this memo context.
type Optimizer ¶
type Optimizer struct {
// contains filtered or unexported fields
}
Optimizer is a basic cascades search framework portal, driven by Context.
func NewCascades ¶
func NewCascades(lp corebase.LogicalPlan) (*Optimizer, error)
NewCascades return a new cascades obj for logical alternative searching.
func (*Optimizer) Destroy ¶
func (c *Optimizer) Destroy()
Destroy clean and reset basic elements inside.
Click to show internal directories.
Click to hide internal directories.