lockstats

package
v1.1.0-beta.0...-14a469a Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LockExec

type LockExec struct {
	exec.BaseExecutor
	// Tables is the list of tables to be locked.
	// It might contain partition names if we are locking partitions.
	// When locking partitions, Tables will only contain one table name.
	Tables []*ast.TableName
}

LockExec represents a lock statistic executor.

func (*LockExec) Close

func (*LockExec) Close() error

Close implements the Executor Close interface.

func (*LockExec) Next

func (e *LockExec) Next(_ context.Context, _ *chunk.Chunk) error

Next implements the Executor Next interface.

func (*LockExec) Open

func (*LockExec) Open(context.Context) error

Open implements the Executor Open interface.

type UnlockExec

type UnlockExec struct {
	exec.BaseExecutor
	// Tables is the list of tables to be unlocked.
	// It might contain partition names if we are unlocking partitions.
	// When unlocking partitions, Tables will only contain one table name.
	Tables []*ast.TableName
}

UnlockExec represents a unlock statistic executor.

func (*UnlockExec) Close

func (*UnlockExec) Close() error

Close implements the Executor Close interface.

func (*UnlockExec) Next

Next implements the Executor Next interface.

func (*UnlockExec) Open

Open implements the Executor Open interface.

Jump to

Keyboard shortcuts

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