contextimpl

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

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TableContextImpl

type TableContextImpl struct {
	sessionctx.Context
	// contains filtered or unexported fields
}

TableContextImpl is used to provide context for table operations.

func NewTableContextImpl

func NewTableContextImpl(sctx sessionctx.Context, exprCtx exprctx.ExprContext) *TableContextImpl

NewTableContextImpl creates a new TableContextImpl.

func (*TableContextImpl) GetExprCtx

func (ctx *TableContextImpl) GetExprCtx() exprctx.ExprContext

GetExprCtx returns the ExprContext

func (*TableContextImpl) TxnRecordTempTable

func (ctx *TableContextImpl) TxnRecordTempTable(tbl *model.TableInfo) tableutil.TempTable

TxnRecordTempTable record the temporary table to the current transaction. This method will be called when the temporary table is modified in the transaction.

Jump to

Keyboard shortcuts

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