plan_fragments

package
v1.21.0-rc.0 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Fragment

type Fragment struct {
	Node       logicalplan.Node
	FragmentID uint64
	ChildIDs   []uint64
	IsRoot     bool
}

func (*Fragment) IsEmpty

func (s *Fragment) IsEmpty() bool

type Fragmenter

type Fragmenter interface {
	// Fragment function fragments the logical query plan and will always return the fragment in the order of child-to-root
	// in other words, the order of the fragment in the array will be the order they are being scheduled
	Fragment(queryID uint64, node logicalplan.Node) ([]Fragment, error)
}

Fragmenter interface

func NewPlanFragmenter

func NewPlanFragmenter() Fragmenter

type PlanFragmenter

type PlanFragmenter struct {
}

func (*PlanFragmenter) Fragment

func (f *PlanFragmenter) Fragment(queryID uint64, node logicalplan.Node) ([]Fragment, error)

Jump to

Keyboard shortcuts

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