mergeblock

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

Documentation

Overview

Copyright 2021 Matrix Origin

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Container

type Container struct {
	// contains filtered or unexported fields
}

type MergeBlock

type MergeBlock struct {
	AddAffectedRows bool
	Engine          engine.Engine
	Ref             *plan.ObjectRef

	vm.OperatorBase
	// contains filtered or unexported fields
}

func NewArgument added in v1.2.0

func NewArgument() *MergeBlock

func (*MergeBlock) Call

func (mergeBlock *MergeBlock) Call(proc *process.Process) (vm.CallResult, error)

func (*MergeBlock) ExecProjection

func (mergeBlock *MergeBlock) ExecProjection(proc *process.Process, input *batch.Batch) (*batch.Batch, error)

func (*MergeBlock) Free

func (mergeBlock *MergeBlock) Free(proc *process.Process, pipelineFailed bool, err error)

func (*MergeBlock) GetAffectedRows

func (mergeBlock *MergeBlock) GetAffectedRows() uint64

func (*MergeBlock) GetMetaLocBat

func (mergeBlock *MergeBlock) GetMetaLocBat(
	src *batch.Batch,
	proc *process.Process,
) bool

func (*MergeBlock) GetOperatorBase

func (mergeBlock *MergeBlock) GetOperatorBase() *vm.OperatorBase

func (*MergeBlock) OpType

func (mergeBlock *MergeBlock) OpType() vm.OpType

func (*MergeBlock) Prepare

func (mergeBlock *MergeBlock) Prepare(proc *process.Process) error

func (*MergeBlock) Release

func (mergeBlock *MergeBlock) Release()

func (*MergeBlock) Reset

func (mergeBlock *MergeBlock) Reset(proc *process.Process, pipelineFailed bool, err error)

func (*MergeBlock) Split

func (mergeBlock *MergeBlock) Split(proc *process.Process, bat *batch.Batch, analyzer process.Analyzer) error

func (*MergeBlock) String

func (mergeBlock *MergeBlock) String(buf *bytes.Buffer)

func (MergeBlock) TypeName

func (mergeBlock MergeBlock) TypeName() string

func (*MergeBlock) WithAddAffectedRows

func (mergeBlock *MergeBlock) WithAddAffectedRows(addAffectedRows bool) *MergeBlock

func (*MergeBlock) WithEngine

func (mergeBlock *MergeBlock) WithEngine(eng engine.Engine) *MergeBlock

func (*MergeBlock) WithObjectRef

func (mergeBlock *MergeBlock) WithObjectRef(ref *plan.ObjectRef) *MergeBlock

Jump to

Keyboard shortcuts

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