package
9.0.0-alpha+incompatible
Repository: https://github.com/pingcap/tidb.git
Documentation: pkg.go.dev
# Packages
Package mock is a generated GoMock package.
# Functions
DrainRecordSet fetches the rows in the RecordSet.
ExecOptionWithSnapshot tells ExecRestrictedStmt/SQL to use a snapshot.
ExecOptionWithSysProcTrack tells ExecRestrictedStmt/SQL to track sys process.
ExecSQL executes the sql and returns the result.
GetAnalyzeSnapshotOption returns a function which tells ExecRestrictedStmt/SQL to run with analyzeSnapshot.
GetExecOption applies OptionFuncs and return ExecOption.
GetPartitionPruneModeOption returns a function which tells ExecRestrictedStmt/SQL to run with pruneMode.
# Variables
ExecOptionAnalyzeVer1 tells ExecRestrictedStmt/SQL to collect statistics with version1.
ExecOptionAnalyzeVer2 tells ExecRestrictedStmt/SQL to collect statistics with version2.
ExecOptionIgnoreWarning tells ExecRestrictedStmt/SQL to ignore the warnings.
ExecOptionUseCurSession tells ExecRestrictedStmt/SQL to use current session.
ExecOptionUseSessionPool tells ExecRestrictedStmt/SQL to use session pool.
# Structs
ExecOption is a struct defined for ExecRestrictedStmt/SQL option.
SimpleRecordSet is a simple implementation of RecordSet.
# Interfaces
DetachableRecordSet extends the `RecordSet` to support detaching from current session context.
MultiQueryNoDelayResult is an interface for one no-delay result for one statement in multi-queries.
RecordSet is an abstract result set interface to help get data from Plan.
RestrictedSQLExecutor is an interface provides executing restricted sql statement.
SQLExecutor is an interface provides executing normal sql statement.
SQLParser is an interface provides parsing sql statement.
Statement is an interface for SQL execution.
# Type aliases
OptionFuncAlias is defined for the optional parameter of ExecRestrictedStmt/SQL.