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

package implementation

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

Index

Package Files

base.go datasource.go simple_plans.go sort.go

type ProjectionImpl Uses

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

ProjectionImpl implementation of PhysicalProjection.

func NewProjectionImpl Uses

func NewProjectionImpl(proj *plannercore.PhysicalProjection) *ProjectionImpl

NewProjectionImpl creates a new projection Implementation.

func (*ProjectionImpl) CalcCost Uses

func (impl *ProjectionImpl) CalcCost(outCount float64, childCosts []float64, children ...*memo.Group) float64

func (*ProjectionImpl) GetCost Uses

func (impl *ProjectionImpl) GetCost() float64

func (*ProjectionImpl) GetPlan Uses

func (impl *ProjectionImpl) GetPlan() plannercore.PhysicalPlan

func (*ProjectionImpl) SetCost Uses

func (impl *ProjectionImpl) SetCost(cost float64)

type ShowImpl Uses

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

ShowImpl is the Implementation of PhysicalShow.

func NewShowImpl Uses

func NewShowImpl(show *plannercore.PhysicalShow) *ShowImpl

NewShowImpl creates a new ShowImpl.

func (*ShowImpl) CalcCost Uses

func (impl *ShowImpl) CalcCost(outCount float64, childCosts []float64, children ...*memo.Group) float64

func (*ShowImpl) GetCost Uses

func (impl *ShowImpl) GetCost() float64

func (*ShowImpl) GetPlan Uses

func (impl *ShowImpl) GetPlan() plannercore.PhysicalPlan

func (*ShowImpl) SetCost Uses

func (impl *ShowImpl) SetCost(cost float64)

type SortImpl Uses

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

SortImpl implementation of PhysicalSort.

func NewSortImpl Uses

func NewSortImpl(sort *plannercore.PhysicalSort) *SortImpl

NewSortImpl creates a new sort Implementation.

func (*SortImpl) CalcCost Uses

func (impl *SortImpl) CalcCost(outCount float64, childCosts []float64, children ...*memo.Group) float64

CalcCost calculates the cost of the sort Implementation.

func (*SortImpl) GetCost Uses

func (impl *SortImpl) GetCost() float64

func (*SortImpl) GetPlan Uses

func (impl *SortImpl) GetPlan() plannercore.PhysicalPlan

func (*SortImpl) SetCost Uses

func (impl *SortImpl) SetCost(cost float64)

type TableDualImpl Uses

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

TableDualImpl implementation of PhysicalTableDual.

func NewTableDualImpl Uses

func NewTableDualImpl(dual *plannercore.PhysicalTableDual) *TableDualImpl

NewTableDualImpl creates a new table dual Implementation.

func (*TableDualImpl) CalcCost Uses

func (impl *TableDualImpl) CalcCost(outCount float64, childCosts []float64, children ...*memo.Group) float64

CalcCost calculates the cost of the table dual Implementation.

func (*TableDualImpl) GetCost Uses

func (impl *TableDualImpl) GetCost() float64

func (*TableDualImpl) GetPlan Uses

func (impl *TableDualImpl) GetPlan() plannercore.PhysicalPlan

func (*TableDualImpl) SetCost Uses

func (impl *TableDualImpl) SetCost(cost float64)

type TableReaderImpl Uses

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

TableReaderImpl implementation of PhysicalTableReader.

func NewTableReaderImpl Uses

func NewTableReaderImpl(reader *plannercore.PhysicalTableReader, hists *statistics.HistColl) *TableReaderImpl

NewTableReaderImpl creates a new table reader Implementation.

func (*TableReaderImpl) CalcCost Uses

func (impl *TableReaderImpl) CalcCost(outCount float64, childCosts []float64, children ...*memo.Group) float64

CalcCost calculates the cost of the table reader Implementation.

func (*TableReaderImpl) GetCost Uses

func (impl *TableReaderImpl) GetCost() float64

func (*TableReaderImpl) GetPlan Uses

func (impl *TableReaderImpl) GetPlan() plannercore.PhysicalPlan

func (*TableReaderImpl) SetCost Uses

func (impl *TableReaderImpl) SetCost(cost float64)

type TableScanImpl Uses

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

TableScanImpl implementation of PhysicalTableScan.

func NewTableScanImpl Uses

func NewTableScanImpl(ts *plannercore.PhysicalTableScan, cols []*expression.Column, hists *statistics.HistColl) *TableScanImpl

NewTableScanImpl creates a new table scan Implementation.

func (*TableScanImpl) CalcCost Uses

func (impl *TableScanImpl) CalcCost(outCount float64, childCosts []float64, children ...*memo.Group) float64

CalcCost calculates the cost of the table scan Implementation.

func (*TableScanImpl) GetCost Uses

func (impl *TableScanImpl) GetCost() float64

func (*TableScanImpl) GetPlan Uses

func (impl *TableScanImpl) GetPlan() plannercore.PhysicalPlan

func (*TableScanImpl) SetCost Uses

func (impl *TableScanImpl) SetCost(cost float64)

Package implementation imports 5 packages (graph) and is imported by 2 packages. Updated 2019-09-21. Refresh now. Tools for package owners.