utilfuncp

package
v1.1.0-beta.0...-cc83417 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AddPrefix4ShardIndexes func(lp base.LogicalPlan, sc base.PlanContext,
	conds []expression.Expression) []expression.Expression

AddPrefix4ShardIndexes will be called by LogicalSelection in logicalOp pkg.

View Source
var ApplyPredicateSimplification func(base.PlanContext, []expression.Expression) []expression.Expression

ApplyPredicateSimplification will be called by LogicalSelection in logicalOp pkg.

View Source
var AttachPlan2Task func(p base.PhysicalPlan, t base.Task) base.Task

AttachPlan2Task will be called by BasePhysicalPlan in physicalOp pkg.

View Source
var DeriveStats4DataSource func(lp base.LogicalPlan, colGroups [][]*expression.Column) (*property.StatsInfo, error)

DeriveStats4DataSource will be called by LogicalDataSource in logicalOp pkg.

View Source
var DeriveStats4LogicalIndexScan func(lp base.LogicalPlan, selfSchema *expression.Schema) (*property.StatsInfo, error)

DeriveStats4LogicalIndexScan will be called by LogicalIndexScan in logicalOp pkg.

View Source
var DeriveStats4LogicalTableScan func(lp base.LogicalPlan) (_ *property.StatsInfo, err error)

DeriveStats4LogicalTableScan will be called by LogicalTableScan in logicalOp pkg.

DoOptimize is to optimize a logical plan.

View Source
var ExhaustPhysicalPlans4LogicalAggregation func(lp base.LogicalPlan, prop *property.PhysicalProperty) (
	[]base.PhysicalPlan, bool, error)

ExhaustPhysicalPlans4LogicalAggregation will be called by LogicalAggregation in logicalOp pkg.

View Source
var ExhaustPhysicalPlans4LogicalApply func(lp base.LogicalPlan, prop *property.PhysicalProperty) (
	[]base.PhysicalPlan, bool, error)

ExhaustPhysicalPlans4LogicalApply will be called by LogicalApply in logicalOp pkg.

View Source
var ExhaustPhysicalPlans4LogicalCTE func(lp base.LogicalPlan, prop *property.PhysicalProperty) (
	[]base.PhysicalPlan, bool, error)

ExhaustPhysicalPlans4LogicalCTE will be called by LogicalCTE in logicalOp pkg.

View Source
var ExhaustPhysicalPlans4LogicalExpand func(lp base.LogicalPlan, prop *property.PhysicalProperty) (
	[]base.PhysicalPlan, bool, error)

ExhaustPhysicalPlans4LogicalExpand will be called by LogicalExpand in logicalOp pkg.

View Source
var ExhaustPhysicalPlans4LogicalJoin func(lp base.LogicalPlan, prop *property.PhysicalProperty) (
	[]base.PhysicalPlan, bool, error)

ExhaustPhysicalPlans4LogicalJoin will be called by LogicalJoin in logicalOp pkg.

View Source
var ExhaustPhysicalPlans4LogicalLimit func(lp base.LogicalPlan, prop *property.PhysicalProperty) (
	[]base.PhysicalPlan, bool, error)

ExhaustPhysicalPlans4LogicalLimit will be called by LogicalLimit in logicalOp pkg.

View Source
var ExhaustPhysicalPlans4LogicalLock func(lp base.LogicalPlan, prop *property.PhysicalProperty) (
	[]base.PhysicalPlan, bool, error)

ExhaustPhysicalPlans4LogicalLock will be called by LogicalLock in logicalOp pkg.

View Source
var ExhaustPhysicalPlans4LogicalMaxOneRow func(p base.LogicalPlan, prop *property.PhysicalProperty) (
	[]base.PhysicalPlan, bool, error)

ExhaustPhysicalPlans4LogicalMaxOneRow will be called by LogicalMaxOneRow in logicalOp pkg.

View Source
var ExhaustPhysicalPlans4LogicalPartitionUnionAll func(lp base.LogicalPlan, prop *property.PhysicalProperty) (
	[]base.PhysicalPlan, bool, error)

ExhaustPhysicalPlans4LogicalPartitionUnionAll will be called by LogicalPartitionUnionAll in logicalOp pkg.

View Source
var ExhaustPhysicalPlans4LogicalProjection func(lp base.LogicalPlan,
	prop *property.PhysicalProperty) ([]base.PhysicalPlan, bool, error)

ExhaustPhysicalPlans4LogicalProjection will be called by LogicalLimit in logicalOp pkg.

View Source
var ExhaustPhysicalPlans4LogicalSelection func(lp base.LogicalPlan, prop *property.PhysicalProperty) (
	[]base.PhysicalPlan, bool, error)

ExhaustPhysicalPlans4LogicalSelection will be called by LogicalSelection in logicalOp pkg.

View Source
var ExhaustPhysicalPlans4LogicalSequence func(lp base.LogicalPlan, prop *property.PhysicalProperty) (
	[]base.PhysicalPlan, bool, error)

ExhaustPhysicalPlans4LogicalSequence will be called by LogicalSequence in logicalOp pkg.

View Source
var ExhaustPhysicalPlans4LogicalSort func(lp base.LogicalPlan, prop *property.PhysicalProperty) (
	[]base.PhysicalPlan, bool, error)

ExhaustPhysicalPlans4LogicalSort will be called by LogicalSort in logicalOp pkg.

View Source
var ExhaustPhysicalPlans4LogicalTopN func(lp base.LogicalPlan, prop *property.PhysicalProperty) (
	[]base.PhysicalPlan, bool, error)

ExhaustPhysicalPlans4LogicalTopN will be called by LogicalTopN in logicalOp pkg.

View Source
var ExhaustPhysicalPlans4LogicalUnionAll func(lp base.LogicalPlan, prop *property.PhysicalProperty) (
	[]base.PhysicalPlan, bool, error)

ExhaustPhysicalPlans4LogicalUnionAll will be called by LogicalUnionAll in logicalOp pkg.

View Source
var ExhaustPhysicalPlans4LogicalUnionScan func(lp base.LogicalPlan, prop *property.PhysicalProperty) (
	[]base.PhysicalPlan, bool, error)

ExhaustPhysicalPlans4LogicalUnionScan will be called by LogicalUnionScan in logicalOp pkg.

View Source
var ExhaustPhysicalPlans4LogicalWindow func(lp base.LogicalPlan, prop *property.PhysicalProperty) (
	[]base.PhysicalPlan, bool, error)

ExhaustPhysicalPlans4LogicalWindow will be called by LogicalWindow in logicalOp pkg.

View Source
var FindBestTask4BaseLogicalPlan func(p base.LogicalPlan, prop *property.PhysicalProperty,
	planCounter *base.PlanCounterTp, opt *optimizetrace.PhysicalOptimizeOp) (
	bestTask base.Task, cntPlan int64, err error)

FindBestTask4BaseLogicalPlan will be called by baseLogicalPlan in logicalOp pkg. The logic inside covers Task, Property, LogicalOp and PhysicalOp, so it doesn't belong to logicalOp pkg. It should be kept in core pkg. todo: arenatlx, For clear division, we should remove Logical FindBestTask interface. Let core pkg to guide itself by receive logical tree.

View Source
var FindBestTask4LogicalCTE func(lp base.LogicalPlan, prop *property.PhysicalProperty,
	counter *base.PlanCounterTp, pop *optimizetrace.PhysicalOptimizeOp) (t base.Task, cntPlan int64, err error)

FindBestTask4LogicalCTE will be called by LogicalCTE in logicalOp pkg.

View Source
var FindBestTask4LogicalCTETable func(lp base.LogicalPlan, prop *property.PhysicalProperty, _ *base.PlanCounterTp,
	_ *optimizetrace.PhysicalOptimizeOp) (t base.Task, cntPlan int64, err error)

FindBestTask4LogicalCTETable will be called by LogicalCTETable in logicalOp pkg.

View Source
var FindBestTask4LogicalDataSource func(lp base.LogicalPlan, prop *property.PhysicalProperty,
	planCounter *base.PlanCounterTp, opt *optimizetrace.PhysicalOptimizeOp) (t base.Task, cntPlan int64, err error)

FindBestTask4LogicalDataSource will be called by LogicalDataSource in logicalOp pkg.

View Source
var FindBestTask4LogicalMemTable func(lp base.LogicalPlan, prop *property.PhysicalProperty,
	planCounter *base.PlanCounterTp, opt *optimizetrace.PhysicalOptimizeOp) (t base.Task,
	cntPlan int64, err error)

FindBestTask4LogicalMemTable will be called by LogicalMemTable in logicalOp pkg.

View Source
var FindBestTask4LogicalShow func(lp base.LogicalPlan, prop *property.PhysicalProperty, planCounter *base.PlanCounterTp,
	_ *optimizetrace.PhysicalOptimizeOp) (base.Task, int64, error)

FindBestTask4LogicalShow will be called by LogicalShow in logicalOp pkg.

View Source
var FindBestTask4LogicalShowDDLJobs func(lp base.LogicalPlan, prop *property.PhysicalProperty,
	planCounter *base.PlanCounterTp, _ *optimizetrace.PhysicalOptimizeOp) (base.Task, int64, error)

FindBestTask4LogicalShowDDLJobs will be called by LogicalShowDDLJobs in logicalOp pkg.

View Source
var FindBestTask4LogicalTableDual func(lp base.LogicalPlan, prop *property.PhysicalProperty,
	planCounter *base.PlanCounterTp, opt *optimizetrace.PhysicalOptimizeOp) (base.Task, int64, error)

FindBestTask4LogicalTableDual will be called by LogicalTableDual in logicalOp pkg.

View Source
var GetActualProbeCntFromProbeParents func(pps []base.PhysicalPlan, statsColl *execdetails.RuntimeStatsColl) int64

GetActualProbeCntFromProbeParents will be called by BasePhysicalPlan in physicalOp pkg.

View Source
var GetEstimatedProbeCntFromProbeParents func(probeParents []base.PhysicalPlan) float64

GetEstimatedProbeCntFromProbeParents will be called by BasePhysicalPlan in physicalOp pkg.

View Source
var IsSingleScan func(ds base.LogicalPlan, indexColumns []*expression.Column, idxColLens []int) bool

IsSingleScan check whether the data source is a single scan.

View Source
var WindowIsTopN func(p base.LogicalPlan) (bool, uint64)

WindowIsTopN is used in DeriveTopNFromWindow rule. todo: @arenatlx: remove it after logical_datasource is migrated to logicalop.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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