package
9.0.0-alpha+incompatible
Repository: https://github.com/pingcap/tidb.git
Documentation: pkg.go.dev

# Functions

MakeEvalContextStatic converts the `exprctx.StaticConvertibleEvalContext` to `EvalContext`.
MakeExprContextStatic converts the `exprctx.StaticConvertibleExprContext` to `ExprContext`.
NewEvalContext creates a new `EvalContext` with the given options.
NewExprContext creates a new ExprContext.
WithBlockEncryptionMode sets the block encryption mode for `ExprContext`.
WithCharset sets the charset and collation for `ExprContext`.
WithColumnIDAllocator sets the column id allocator for `ExprContext`.
WithConnectionID sets the connection id for `ExprContext`.
WithCurrentDB sets the current database name for the `EvalContext`.
WithCurrentTime sets the current time for the `EvalContext`.
WithDefaultCollationForUTF8MB4 sets the default collation for utf8mb4 for `ExprContext`.
WithDefaultWeekFormatMode sets the value of the 'default_week_format' system variable.
WithDivPrecisionIncrement sets the value of the 'div_precision_increment' system variable.
WithEnableRedactLog sets the value of the 'tidb_redact_log' system variable.
WithErrLevelMap sets the error level map for the `EvalContext`.
WithEvalCtx sets the `EvalContext` for `ExprContext`.
WithGroupConcatMaxLen sets the group concat max len for `ExprContext`.
WithLocation sets the timezone info for the `EvalContext`.
WithMaxAllowedPacket sets the value of the 'max_allowed_packet' system variable.
WithNoopFuncsMode sets the noop funcs mode for `ExprContext`.
WithOptionalProperty sets the optional property providers.
WithParamList sets the param list for the `EvalContext`.
WithPlanCacheTracker sets the plan cache tracker for `ExprContext`.
WithRng sets the rng for `ExprContext`.
WithSQLMode sets the sql mode for the `EvalContext`.
WithSysDateIsNow sets the sysdate is now for `ExprContext`.
WithTypeFlags sets the type flags for the `EvalContext`.
WithUserVarsReader set the user variables reader for the `EvalContext`.
WithWarnHandler sets the warn handler for the `EvalContext`.
WithWindowingUseHighPrecision sets the windowing use high precision for `ExprContext`.

# Structs

EvalContext implements `EvalContext` to provide a static context for expression evaluation.
ExprContext implements the `exprctx.ExprContext` interface.

# Type aliases

EvalCtxOption is the option to set `EvalContext`.
ExprCtxOption is the option to create or update the `ExprContext`.