plan_fragments

package
v1.20.0 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2025 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DummyFragmenter

type DummyFragmenter struct {
}

func (*DummyFragmenter) Fragment

func (f *DummyFragmenter) Fragment(node logicalplan.Node) ([]Fragment, error)

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(node logicalplan.Node) ([]Fragment, error)
}

Fragmenter interface

func NewDummyFragmenter

func NewDummyFragmenter() Fragmenter

Jump to

Keyboard shortcuts

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