Documentation ¶
Index ¶
- type PlanCtxExtended
- func (ctx *PlanCtxExtended) AdviseTxnWarmup() error
- func (ctx *PlanCtxExtended) GetNullRejectCheckExprCtx() exprctx.ExprContext
- func (ctx *PlanCtxExtended) GetReadonlyUserVarMap() map[string]struct{}
- func (ctx *PlanCtxExtended) Reset()
- func (ctx *PlanCtxExtended) SetReadonlyUserVarMap(readonlyUserVars map[string]struct{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PlanCtxExtended ¶
type PlanCtxExtended struct {
// contains filtered or unexported fields
}
PlanCtxExtended provides extended method for session context to implement `PlanContext`
func NewPlanCtxExtended ¶
func NewPlanCtxExtended(sctx sessionctx.Context) *PlanCtxExtended
NewPlanCtxExtended creates a new PlanCtxExtended.
func (*PlanCtxExtended) AdviseTxnWarmup ¶
func (ctx *PlanCtxExtended) AdviseTxnWarmup() error
AdviseTxnWarmup advises the txn to warm up.
func (*PlanCtxExtended) GetNullRejectCheckExprCtx ¶
func (ctx *PlanCtxExtended) GetNullRejectCheckExprCtx() exprctx.ExprContext
GetNullRejectCheckExprCtx returns a context with null rejected check
func (*PlanCtxExtended) GetReadonlyUserVarMap ¶
func (ctx *PlanCtxExtended) GetReadonlyUserVarMap() map[string]struct{}
GetReadonlyUserVarMap gets the readonly user variable map.
func (*PlanCtxExtended) SetReadonlyUserVarMap ¶
func (ctx *PlanCtxExtended) SetReadonlyUserVarMap(readonlyUserVars map[string]struct{})
SetReadonlyUserVarMap sets the readonly user variable map.
Click to show internal directories.
Click to hide internal directories.