planner

package
v0.0.10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 21, 2023 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PrintAndCreateError

func PrintAndCreateError(msg string) (error, plans.Plan)

Types

type Planner

type Planner interface {
	MakePlan(*parser.QueryInfo, *access.Transaction) (error, plans.Plan)
}

type SimplePlanner

type SimplePlanner struct {
	// contains filtered or unexported fields
}

func NewSimplePlanner

func NewSimplePlanner(c *catalog.Catalog, bpm *buffer.BufferPoolManager) *SimplePlanner

func (*SimplePlanner) ConstructPredicate

func (pner *SimplePlanner) ConstructPredicate(tgtTblSchemas []*schema.Schema) expression.Expression

func (*SimplePlanner) MakeCreateTablePlan

func (pner *SimplePlanner) MakeCreateTablePlan() (error, plans.Plan)

func (*SimplePlanner) MakeDeletePlan

func (pner *SimplePlanner) MakeDeletePlan() (error, plans.Plan)

func (*SimplePlanner) MakeInsertPlan

func (pner *SimplePlanner) MakeInsertPlan() (error, plans.Plan)

func (*SimplePlanner) MakePlan

func (pner *SimplePlanner) MakePlan(qi *parser.QueryInfo, txn *access.Transaction) (error, plans.Plan)

func (*SimplePlanner) MakeSelectPlan

func (pner *SimplePlanner) MakeSelectPlan() (error, plans.Plan)

func (*SimplePlanner) MakeSelectPlanWithJoin

func (pner *SimplePlanner) MakeSelectPlanWithJoin() (error, plans.Plan)

func (*SimplePlanner) MakeSelectPlanWithoutJoin

func (pner *SimplePlanner) MakeSelectPlanWithoutJoin() (error, plans.Plan)

func (*SimplePlanner) MakeUpdatePlan

func (pner *SimplePlanner) MakeUpdatePlan() (error, plans.Plan)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL