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: 0

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