insert

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2022 License: Apache-2.0 Imports: 15 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

func Call

func Call(_ int, proc *process.Process, arg any) (bool, error)

func CommitTxn added in v0.6.0

func CommitTxn(n *Argument, txn client.TxnOperator, ctx context.Context) error

func GetNewRelation added in v0.6.0

func GetNewRelation(n *Argument, txn client.TxnOperator, proc *process.Process, ctx context.Context) (engine.Relation, error)

func NewTxn added in v0.6.0

func NewTxn(n *Argument, proc *process.Process, ctx context.Context) (txn client.TxnOperator, err error)

func Prepare

func Prepare(_ *process.Process, _ any) error

func RolllbackTxn added in v0.6.0

func RolllbackTxn(n *Argument, txn client.TxnOperator, ctx context.Context) error

func String

func String(_ any, buf *bytes.Buffer)

Types

type Argument

type Argument struct {
	Ts            uint64
	TargetTable   engine.Relation
	TargetColDefs []*plan.ColDef
	Affected      uint64
	Engine        engine.Engine
	DB            engine.Database
	TableID       string
	CPkeyColDef   *plan.ColDef
	DBName        string
	TableName     string
	IndexTables   []engine.Relation
	IndexInfos    []*plan.IndexInfo
}

func (*Argument) Free added in v0.6.0

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

Jump to

Keyboard shortcuts

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