intersectall

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

View Source
const (
	Build = iota
	Probe
	End
)

Variables

This section is empty.

Functions

This section is empty.

Types

type IntersectAll

type IntersectAll struct {
	vm.OperatorBase
	// contains filtered or unexported fields
}

func NewArgument added in v1.2.0

func NewArgument() *IntersectAll

func (*IntersectAll) Call

func (intersectAll *IntersectAll) Call(proc *process.Process) (vm.CallResult, error)

Call is the execute method of `intersect all` operator it built a hash table for right relation first. and use an array to record how many times each key appears in right relation. use values from left relation to probe and update the array. throw away values that do not exist in the hash table. preserve values that exist in the hash table (the minimum of the number of times that exist in either).

func (*IntersectAll) ExecProjection

func (intersectAll *IntersectAll) ExecProjection(proc *process.Process, input *batch.Batch) (*batch.Batch, error)

func (*IntersectAll) Free

func (intersectAll *IntersectAll) Free(proc *process.Process, pipelineFailed bool, err error)

func (*IntersectAll) GetOperatorBase

func (intersectAll *IntersectAll) GetOperatorBase() *vm.OperatorBase

func (*IntersectAll) OpType

func (intersectAll *IntersectAll) OpType() vm.OpType

func (*IntersectAll) Prepare

func (intersectAll *IntersectAll) Prepare(proc *process.Process) error

func (*IntersectAll) Release

func (intersectAll *IntersectAll) Release()

func (*IntersectAll) Reset

func (intersectAll *IntersectAll) Reset(proc *process.Process, pipelineFailed bool, err error)

func (*IntersectAll) String

func (intersectAll *IntersectAll) String(buf *bytes.Buffer)

func (IntersectAll) TypeName

func (intersectAll IntersectAll) TypeName() string

Jump to

Keyboard shortcuts

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