implementation

package
v0.0.0-...-3633c1a Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SortImpl

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

SortImpl implementation of PhysicalSort.

func NewSortImpl

func NewSortImpl(sort *plannercore.PhysicalSort) *SortImpl

NewSortImpl creates a new sort Implementation.

func (*SortImpl) CalcCost

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

CalcCost calculates the cost of the sort Implementation.

func (*SortImpl) GetCost

func (impl *SortImpl) GetCost() float64

func (*SortImpl) GetPlan

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

func (*SortImpl) SetCost

func (impl *SortImpl) SetCost(cost float64)

Jump to

Keyboard shortcuts

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