Documentation ¶
Index ¶
- type AstHandle
- type Parser
- type Planner
- func (p *Planner) BuildLogicalPlan(stmt AstHandle, prepare bool) (planner.LogicalPlan, error)
- func (p *Planner) BuildPhysicalPlan(logicalPlan planner.LogicalPlan, pullQuery bool) (planner.PhysicalPlan, error)
- func (p *Planner) Parse(query string) (AstHandle, int, error)
- func (p *Planner) QueryToPlan(query string, prepare bool, pullQuery bool) (planner.PhysicalPlan, planner.LogicalPlan, int, error)
- func (p *Planner) SessionContext() sessionctx.Context
- func (p *Planner) SetPSArgs(args []interface{})
- func (p *Planner) StatementContext() *stmtctx.StatementContext
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AstHandle ¶
type AstHandle struct {
// contains filtered or unexported fields
}
AstHandle wraps the underlying TiDB ast, to avoid leaking the TiDB too much into the rest of the code
type Planner ¶
type Planner struct {
// contains filtered or unexported fields
}
func NewPlanner ¶
func (*Planner) BuildLogicalPlan ¶
func (*Planner) BuildPhysicalPlan ¶
func (p *Planner) BuildPhysicalPlan(logicalPlan planner.LogicalPlan, pullQuery bool) (planner.PhysicalPlan, error)
func (*Planner) QueryToPlan ¶
func (p *Planner) QueryToPlan(query string, prepare bool, pullQuery bool) (planner.PhysicalPlan, planner.LogicalPlan, int, error)
func (*Planner) SessionContext ¶
func (p *Planner) SessionContext() sessionctx.Context
func (*Planner) StatementContext ¶
func (p *Planner) StatementContext() *stmtctx.StatementContext
Click to show internal directories.
Click to hide internal directories.