preinsert

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: 20 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PreInsert

type PreInsert struct {
	HasAutoCol  bool
	IsOldUpdate bool
	IsNewUpdate bool
	SchemaName  string
	TableDef    *plan.TableDef
	// letter case: origin
	Attrs []string

	EstimatedRowCount int64
	CompPkeyExpr      *plan.Expr
	ClusterByExpr     *plan.Expr
	ColOffset         int32

	vm.OperatorBase
	// contains filtered or unexported fields
}

func NewArgument added in v1.2.0

func NewArgument() *PreInsert

func (*PreInsert) Call

func (preInsert *PreInsert) Call(proc *proc) (vm.CallResult, error)

func (*PreInsert) ExecProjection

func (preInsert *PreInsert) ExecProjection(proc *process.Process, input *batch.Batch) (*batch.Batch, error)

func (*PreInsert) Free

func (preInsert *PreInsert) Free(proc *process.Process, pipelineFailed bool, err error)

func (*PreInsert) GetOperatorBase

func (preInsert *PreInsert) GetOperatorBase() *vm.OperatorBase

func (*PreInsert) OpType

func (preInsert *PreInsert) OpType() vm.OpType

func (*PreInsert) Prepare

func (preInsert *PreInsert) Prepare(proc *process.Process) (err error)

func (*PreInsert) Release

func (preInsert *PreInsert) Release()

func (*PreInsert) Reset

func (preInsert *PreInsert) Reset(proc *process.Process, pipelineFailed bool, err error)

func (*PreInsert) String

func (preInsert *PreInsert) String(buf *bytes.Buffer)

func (PreInsert) TypeName

func (preInsert PreInsert) TypeName() string

Jump to

Keyboard shortcuts

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