Documentation
¶
Index ¶
- func Build(sctx sessionctx.Context, v *physicalop.PhysicalWindow, childExec exec.Executor, ...) (exec.Executor, error)
- func BuildOrdered(sctx sessionctx.Context, v *physicalop.PhysicalWindow, childExec exec.Executor) (exec.Executor, error)
- type OrderedWindowExec
- type PipelinedWindowExec
- type WindowExec
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) 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.
Click to show internal directories.
Click to hide internal directories.