limit

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Limit

type Limit struct {
	LimitExpr *plan.Expr

	vm.OperatorBase
	// contains filtered or unexported fields
}

func NewArgument added in v1.2.0

func NewArgument() *Limit

func (*Limit) Call

func (limit *Limit) Call(proc *process.Process) (vm.CallResult, error)

Call returning only the first n tuples from its input

func (*Limit) ExecProjection

func (limit *Limit) ExecProjection(proc *process.Process, input *batch.Batch) (*batch.Batch, error)

func (*Limit) Free

func (limit *Limit) Free(proc *process.Process, pipelineFailed bool, err error)

func (*Limit) GetOperatorBase

func (limit *Limit) GetOperatorBase() *vm.OperatorBase

func (*Limit) OpType

func (limit *Limit) OpType() vm.OpType

func (*Limit) Prepare

func (limit *Limit) Prepare(proc *process.Process) error

func (*Limit) Release

func (limit *Limit) Release()

func (*Limit) Reset

func (limit *Limit) Reset(proc *process.Process, pipelineFailed bool, err error)

func (*Limit) String

func (limit *Limit) String(buf *bytes.Buffer)

func (Limit) TypeName

func (limit Limit) TypeName() string

func (*Limit) WithLimit

func (limit *Limit) WithLimit(limitExpr *plan.Expr) *Limit

Jump to

Keyboard shortcuts

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