pipeline

package
v0.0.0-debug-20260702 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsCtePipelineAtLoop

func IsCtePipelineAtLoop(rootOp vm.Operator) (isMergeCte bool, atLoop bool)

Types

type Pipeline

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

func New

func New(tableID uint64, attrs []string, op vm.Operator) *Pipeline

func NewMerge

func NewMerge(op vm.Operator) *Pipeline

func (*Pipeline) CleanRootOperator

func (p *Pipeline) CleanRootOperator(proc *process.Process, pipelineFailed bool, isPrepare bool, err error)

CleanRootOperator only do free or reset work for the last operator. this is just used for RemoteRun because we kept the root operator of remote-pipeline at local.

func (*Pipeline) Cleanup added in v1.0.0

func (p *Pipeline) Cleanup(proc *process.Process, pipelineFailed bool, isPrepare bool, err error)

Cleanup do memory release work for whole pipeline. we deliver the error because some operator may need to know what the error it is.

func (*Pipeline) Run

func (p *Pipeline) Run(proc *process.Process) (end bool, err error)

func (*Pipeline) RunWithReader

func (p *Pipeline) RunWithReader(r engine.Reader, topValueMsgTag int32, proc *process.Process) (end bool, err error)

func (*Pipeline) String

func (p *Pipeline) String() string

Jump to

Keyboard shortcuts

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