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

# Packages

# Functions

CloneAssignments uses (*Assignment).Clone to clone a slice of *Assignment.
CloneByItemss uses (*ByItems).Clone to clone a slice of *ByItems.
CloneCIStrs uses ast.CIStr.Clone to clone a slice of ast.CIStr.
CloneColInfos uses (*ColumnInfo).Clone to clone a slice of *ColumnInfo.
CloneCols uses (*Column).Clone to clone a slice of *Column.
CloneConstants uses (*Constant).Clone to clone a slice of *Constant.
CloneDatum2D uses CloneDatums to clone a 2D slice of Datum.
CloneDatums uses Datum.Clone to clone a slice of Datum.
CloneExpressions uses CloneExprs to clone a slice of expression.Expression.
CloneExprs uses Expression.Clone to clone a slice of Expression.
CloneFieldNames uses types.FieldName.Clone to clone a slice of types.FieldName.
CloneHandleCols uses HandleCols.Clone to clone a slice of HandleCols.
CloneHandles uses Handle.Copy to clone a slice of Handle.
CloneRanges uses (*Range).Clone to clone a slice of *Range.
CloneSortItems uses SortItem.Clone to clone a slice of SortItem.
CompareCol2Len will compare the two Col2Len maps.
DeriveLimitStats derives the stats of the top-n plan.
EncodeIntAsUint32 is used for LogicalPlan Interface.
ExplainByItems generates explain information for ByItems.
ExplainPartitionBy produce text for p.PartitionBy.
ExtractCol2Len collects index/table columns with lengths from expressions.
ExtractConstantCols extracts constant columns from conditions.
ExtractEquivalenceCols extracts equivalence columns from conditions.
ExtractNotNullFromConds extracts not-null columns from conditions.
ExtractTableAlias returns table alias of the base.LogicalPlan's columns.
GetCommonHandleDatum gets the original data for the common handle.
GetMaxSortPrefix returns the prefix offset of sortCols in allCols.
GetPushDownCtx creates a PushDownContext from PlanContext.
GetPushDownCtxFromBuildPBContext creates a PushDownContext from BuildPBContext.
IsNullRejected takes care of complex predicates like this: IsNullRejected(A OR B) = IsNullRejected(A) AND IsNullRejected(B) IsNullRejected(A AND B) = IsNullRejected(A) OR IsNullRejected(B).
NewCommonHandleCols creates a new CommonHandleCols.
NewCommonHandlesColsWithoutColsAlign creates a new CommonHandleCols without internal col align.
NewIntHandleCols creates a new IntHandleCols.
ResetNotNullFlag resets the not null flag of [start, end] columns in the schema.
SliceDeepClone uses Clone() to clone a slice.
StringifyByItemsWithCtx is used to print ByItems slice.

# Constants

MetricTableTimeFormat is the time format for metric table explain and format.

# Variables

EvalAstExprWithPlanCtx evaluates ast expression with plan context.
RewriteAstExprWithPlanCtx rewrites ast expression directly.

# Structs

AccessPath indicates the way we access a table: by using single index, or by using multiple indexes, or just by using table scan.
ByItems wraps a "by" item.
CommonHandleCols implements the kv.HandleCols interface.
IntHandleCols implements the kv.HandleCols interface.
QueryTimeRange represents a time range specified by TIME_RANGE hint.

# Interfaces

HandleCols is the interface that holds handle columns.

# Type aliases

Col2Len maps expression.Column.UniqueID to column length.