onduplicatekey

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Build = iota
	Eval
	End
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Argument

type Argument struct {
	// Ts is not used
	Ts       uint64
	Affected uint64
	Engine   engine.Engine

	// Source       engine.Relation
	// UniqueSource []engine.Relation
	// Ref          *plan.ObjectRef
	TableDef        *plan.TableDef
	OnDuplicateIdx  []int32
	OnDuplicateExpr map[string]*plan.Expr

	IdxIdx []int32

	IsIgnore bool
	// contains filtered or unexported fields
}

func (*Argument) AppendChild added in v1.1.0

func (arg *Argument) AppendChild(child vm.Operator)

func (*Argument) Call added in v1.1.0

func (arg *Argument) Call(proc *process.Process) (vm.CallResult, error)

func (*Argument) Free

func (arg *Argument) Free(proc *process.Process, pipelineFailed bool, err error)

func (*Argument) Prepare added in v1.1.0

func (arg *Argument) Prepare(p *process.Process) error

func (*Argument) SetInfo added in v1.1.0

func (arg *Argument) SetInfo(info *vm.OperatorInfo)

func (*Argument) String added in v1.1.0

func (arg *Argument) String(buf *bytes.Buffer)

Jump to

Keyboard shortcuts

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