package
2.1.0-rc.2+incompatible
Repository: https://github.com/coderushing/tidb.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# Functions
CompileExecutePreparedStmt compiles a session Execute command to a stmt.Statement.
CountStmtNode records the number of statements with the same type.
GetDirtyDB returns the DirtyDB bind to the context.
GetInfoSchema gets TxnCtx InfoSchema if snapshot schema is not set, Otherwise, snapshot schema is returned.
GetLackHandles gets the handles in expectedHandles but not in obtainedHandlesMap.
GetStmtLabel generates a label for a statement.
IsPointGetWithPKOrUniqueKeyByAutoCommit returns true when meets following conditions: 1.
NewLoadDataInfo returns a LoadDataInfo structure, and it's only used for tests now.
NewPrepareExec creates a new PrepareExec.
ResetStmtCtx resets the StmtContext.
# Constants
LoadDataVarKey is a variable key for load data.
LoadStatsVarKey is a variable key for load statistic.
# Variables
Error instances.
Error instances.
Error instances.
Error instances.
Error instances.
Error instances.
Error instances.
Error instances.
Error instances.
Error instances.
Error instances.
Error instances.
LookupTableTaskChannelSize represents the channel size of the index double read taskChan.
QueryReplacer replaces new line and tab for grep result including query string.
# Structs
AfFinalResult indicates aggregation functions final result.
AnalyzeColumnsExec represents Analyze columns push down executor.
AnalyzeExec represents Analyze executor.
AnalyzeIndexExec represents analyze index push down executor.
CancelDDLJobsExec represents a cancel DDL jobs executor.
CheckIndexExec represents the executor of checking an index.
CheckIndexRangeExec outputs the index values which has handle between begin and end.
ChecksumTableExec represents ChecksumTable executor.
CheckTableExec represents a check table executor.
CleanupIndexExec represents a cleanup index executor.
Compiler compiles an ast.StmtNode to a physical plan.
DDLExec represents a DDL executor.
DeallocateExec represent a DEALLOCATE executor.
DeleteExec represents a delete executor.
DirtyDB stores uncommitted write operations for a transaction.
DirtyTable stores uncommitted write operation for a transaction.
ExecStmt implements the ast.Statement interface, it builds a plan.Plan to an ast.Statement.
ExecuteExec represents an EXECUTE executor.
ExplainExec represents an explain executor.
GrantExec executes GrantStmt.
HashAggExec deals with all the aggregate functions.
HashAggFinalWorker indicates the final workers of parallel hash agg execution, the number of the worker can be set by `tidb_hashagg_final_concurrency`.
HashAggInput indicates the input of hash agg exec.
HashAggIntermData indicates the intermediate data of aggregation execution.
HashAggPartialWorker indicates the partial workers of parallel hash agg execution, the number of the worker can be set by `tidb_hashagg_partial_concurrency`.
HashJoinExec implements the hash join algorithm.
IndexLookUpExecutor implements double read for index scan.
IndexLookUpJoin employs one outer worker and N innerWorkers to execute concurrently.
IndexReaderExecutor sends dag request and reads index data from kv layer.
InsertExec represents an insert executor.
InsertValues is the data to insert.
LimitExec represents limit executor It ignores 'Offset' rows from src, then returns 'Count' rows at maximum.
LoadDataExec represents a load data executor.
LoadDataInfo saves the information of loading data operation.
LoadStatsExec represents a load statistic executor.
LoadStatsInfo saves the information of loading statistic operation.
MaxOneRowExec checks if the number of rows that a query returns is at maximum one.
MergeJoinExec implements the merge join algorithm.
NestedLoopApplyExec is the executor for apply.
PointGetExecutor executes point select query.
PrepareExec represents a PREPARE executor.
ProjectionExec implements the physical Projection Operator: https://en.wikipedia.org/wiki/Projection_(relational_algebra).
RecoverIndexExec represents a recover index executor.
ReplaceExec represents a replace executor.
RevokeExec executes RevokeStmt.
SelectionExec represents a filter executor.
SelectLockExec represents a select lock executor.
SetExecutor executes set statement.
ShowDDLExec represents a show DDL executor.
ShowDDLJobQueriesExec represents a show DDL job queries executor.
ShowDDLJobsExec represent a show DDL jobs executor.
ShowExec represents a show executor.
SimpleExec represents simple statement executor.
SortExec represents sorting executor.
StreamAggExec deals with all the aggregate functions.
TableDualExec represents a dual table executor.
TableReaderExecutor sends DAG request and reads table data from kv layer.
TableScanExec is a table scan executor without result fields.
TopNExec implements a Top-N algorithm and it is built from a SELECT statement with ORDER BY and LIMIT.
TraceExec represents a root executor of trace query.
UnionExec pulls all it's children's result and returns to its parent directly.
UnionScanExec merges the rows from dirty table and the rows from distsql request.
UpdateExec represents a new update executor.