builder

package
v1.1.0-beta.0...-28cce6a Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConstructDAGReq

func ConstructDAGReq(ctx sessionctx.Context, plans []plannercore.PhysicalPlan, storeType kv.StoreType) (dagReq *tipb.DAGRequest, err error)

ConstructDAGReq constructs DAGRequest for physical plans

func ConstructDAGReqForUnNatureOrderPlans

func ConstructDAGReqForUnNatureOrderPlans(ctx sessionctx.Context, plans []plannercore.PhysicalPlan, unNatureOrders map[int]int, storeType kv.StoreType) (*tipb.DAGRequest, error)

ConstructDAGReqForUnNatureOrderPlans constructs DAGRequest for physical plans. The unNatureOrders map is used to set the ParentIdx of executors in DAGRequest. `unNatureOrders` is a map with layout {childIndex => parentIndex} and contains the children indexes whose parent is not the next one.

func ConstructListBasedDistExec

func ConstructListBasedDistExec(pctx *planctx.BuildPBContext, plans []plannercore.PhysicalPlan) ([]*tipb.Executor, error)

ConstructListBasedDistExec constructs list based DAGRequest

func ConstructTreeBasedDistExec

func ConstructTreeBasedDistExec(pctx *planctx.BuildPBContext, p plannercore.PhysicalPlan) ([]*tipb.Executor, error)

ConstructTreeBasedDistExec constructs tree based DAGRequest

Types

This section is empty.

Jump to

Keyboard shortcuts

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