package
9.0.0-alpha+incompatible
Repository: https://github.com/pingcap/tidb.git
Documentation: pkg.go.dev
# Functions
AssertLocationWithSessionVars asserts the location in the context and session variables are the same.
CtxWithHandleTruncateErrLevel returns a new BuildContext with the specified level for handling truncate error.
NewSimplePlanColumnIDAllocator creates a new SimplePlanColumnIDAllocator.
WithConstantPropagateCheck returns a new `ConstantPropagateCheckContext` with the given `ExprContext`.
WithNullRejectCheck returns a new `NullRejectCheckExprContext` with the given `ExprContext`.
# Constants
OptPropAdvisoryLock indicates to provide advisory lock operations.
OptPropCurrentUser indicates to provide the current user property.
OptPropDDLOwnerInfo indicates to provide DDL owner information.
OptPropInfoSchema indicates to provide the information schema.
OptPropKVStore indicates to provide the kv store.
OptPropPrivilegeChecker indicates to provide the privilege checker.
OptPropsCnt is the count of optional properties.
OptPropSequenceOperator indicates to provide sequence operators for sequences.
OptPropSessionVars indicates to provide `variable.SessionVariable`.
OptPropSQLExecutor indicates to provide executors to execute sql.
# Variables
EmptyParamValues is the `ParamValues` which contains nothing.
ErrParamIndexExceedParamCounts describes the error that the index exceed the count of all params.
# Structs
ConstantPropagateCheckContext is a wrapper to return true for `IsConstantPropagateCheck`.
NullRejectCheckExprContext is a wrapper to return true for `IsInNullRejectCheck`.
OptionalEvalPropDesc is the description for optional evaluation properties in EvalContext.
SimplePlanColumnIDAllocator implements PlanColumnIDAllocator.
# Interfaces
BuildContext is used to build an expression.
EvalContext is used to evaluate an expression.
ExprContext contains full context for expression building and evaluating.
OptionalEvalPropProvider is the interface to provide optional properties in EvalContext.
ParamValues is a readonly interface to return param.
PlanColumnIDAllocator allocates column id for plan.
StaticConvertibleEvalContext provides more methods to implement the clone of a `EvalContext`.
StaticConvertibleExprContext provides more methods to implement the clone of a `ExprContext`.
# Type aliases
OptionalEvalPropKey is the key for optional evaluation properties in EvalContext.
OptionalEvalPropKeySet is a bit map for optional evaluation properties in EvalContext to indicate whether some properties are set.