windows

package
v1.1.0-beta.0...-e2f85cd Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2026 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Build

func Build(sctx sessionctx.Context, v *physicalop.PhysicalWindow, childExec exec.Executor, forcePipelined bool) (exec.Executor, error)

Build constructs the concrete executor for a window physical plan.

func BuildOrdered

func BuildOrdered(sctx sessionctx.Context, v *physicalop.PhysicalWindow, childExec exec.Executor) (exec.Executor, error)

BuildOrdered constructs the executor for a window plan whose child already provides the required partition/order property.

Types

type OrderedWindowExec

type OrderedWindowExec struct {
	*PipelinedWindowExec
}

OrderedWindowExec executes windows whose input already satisfies the required partition/order property.

type PipelinedWindowExec

type PipelinedWindowExec struct {
	exec.BaseExecutor
	// contains filtered or unexported fields
}

PipelinedWindowExec is the executor for window functions.

func (*PipelinedWindowExec) Close

func (e *PipelinedWindowExec) Close() error

Close implements the Executor Close interface.

func (*PipelinedWindowExec) Next

func (e *PipelinedWindowExec) Next(ctx context.Context, chk *chunk.Chunk) (err error)

Next implements the Executor Next interface.

func (*PipelinedWindowExec) Open

func (e *PipelinedWindowExec) Open(ctx context.Context) (err error)

Open implements the Executor Open interface

func (*PipelinedWindowExec) OpenSelf

func (e *PipelinedWindowExec) OpenSelf() error

OpenSelf initializes the executor state without opening children.

type WindowExec

type WindowExec struct {
	exec.BaseExecutor
	// contains filtered or unexported fields
}

WindowExec is the executor for window functions.

func (*WindowExec) Close

func (e *WindowExec) Close() error

Close implements the Executor Close interface.

func (*WindowExec) Next

func (e *WindowExec) Next(ctx context.Context, chk *chunk.Chunk) error

Next implements the Executor Next interface.

func (*WindowExec) Open

func (e *WindowExec) Open(ctx context.Context) error

Open implements the Executor Open interface.

Jump to

Keyboard shortcuts

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