table_clone

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: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TableClone

type TableClone struct {
	vm.OperatorBase
	Ctx *TableCloneCtx
	// contains filtered or unexported fields
}

func NewTableClone

func NewTableClone() *TableClone

func (*TableClone) Call

func (tc *TableClone) Call(proc *process.Process) (vm.CallResult, error)

func (*TableClone) ExecProjection

func (tc *TableClone) ExecProjection(proc *process.Process, input *batch.Batch) (*batch.Batch, error)

func (*TableClone) Free

func (tc *TableClone) Free(proc *process.Process, pipelineFailed bool, err error)

func (*TableClone) GetOperatorBase

func (tc *TableClone) GetOperatorBase() *vm.OperatorBase

func (*TableClone) OpType

func (tc *TableClone) OpType() vm.OpType

func (*TableClone) Prepare

func (tc *TableClone) Prepare(proc *process.Process) error

func (*TableClone) Release

func (tc *TableClone) Release()

func (*TableClone) Reset

func (tc *TableClone) Reset(proc *process.Process, pipelineFailed bool, err error)

func (*TableClone) String

func (tc *TableClone) String(buf *bytes.Buffer)

func (*TableClone) TypeName

func (tc *TableClone) TypeName() string

type TableCloneCtx

type TableCloneCtx struct {
	Eng engine.Engine

	SrcTblDef *plan.TableDef
	SrcObjDef *plan.ObjectRef

	DstTblName      string
	DstDatabaseName string

	SrcCtx       context.Context
	ScanSnapshot *plan.Snapshot

	SrcAutoIncrOffsets map[int32]uint64
}

Jump to

Keyboard shortcuts

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