context

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RangerContext

type RangerContext struct {
	TypeCtx types.Context
	ErrCtx  errctx.Context
	ExprCtx exprctx.BuildContext
	*contextutil.RangeFallbackHandler
	*contextutil.PlanCacheTracker
	OptimizerFixControl      map[uint64]string
	UseCache                 bool
	InPreparedPlanBuilding   bool
	RegardNULLAsPoint        bool
	OptPrefixIndexSingleScan bool
}

RangerContext is the context used to build range.

func (*RangerContext) Detach

func (r *RangerContext) Detach(staticExprCtx exprctx.BuildContext) *RangerContext

Detach detaches this context from the session context.

NOTE: Though this session context can be used parallelly with this context after calling it, the `StatementContext` cannot. The session context should create a new `StatementContext` before executing another statement.

Jump to

Keyboard shortcuts

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