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

# Functions

ExpressionDeepEqual compares the equivalence of two expressions.
HasAggFlag checks if the expr contains FlagHasAggregateFunc.
IsReadOnly checks whether the input ast is readOnly.
NewCrossJoin builds a cross join without `on` or `using` clause.
SetFlag sets flag for expression.

# Constants

math functions.
List scalar function names.
time functions.
List scalar function names.
Admin statement types.
Admin statement types.
Admin statement types.
Admin statement types.
Admin statement types.
Admin statement types.
Admin statement types.
Admin statement types.
Admin statement types.
Admin statement types.
Admin statement types.
Admin statement types.
Admin statement types.
Admin statement types.
Admin statement types.
Admin statement types.
Admin statement types.
Admin statement types.
Admin statement types.
Admin statement types.
Admin statement types.
Admin statement types.
Admin statement types.
encryption and compression functions.
List scalar function names.
AggFuncApproxCountDistinct is the name of approx_count_distinct function.
AggFuncApproxPercentile is the name of approx_percentile function.
AggFuncAvg is the name of Avg function.
AggFuncBitAnd is the name of bit_and function.
AggFuncBitOr is the name of bit_or function.
AggFuncBitXor is the name of bit_xor function.
AggFuncCount is the name of Count function.
AggFuncFirstRow is the name of FirstRowColumn function.
AggFuncGroupConcat is the name of group_concat function.
AggFuncJsonArrayagg is the name of json_arrayagg function.
AggFuncJsonObjectAgg is the name of json_objectagg function.
AggFuncMax is the name of max function.
AggFuncMin is the name of min function.
AggFuncStddevPop is the name of stddev_pop/std/stddev function.
AggFuncStddevSamp is the name of stddev_samp function.
AggFuncSum is the name of Sum function.
AggFuncVarPop is the name of var_pop function.
AggFuncVarSamp is the name of var_samp function.
DDL algorithms.
DDL algorithms.
DDL algorithms.
DDL algorithms.
AlterTable types.
AlterTable types.
AlterTable types.
AlterTable types.
AlterTable types.
AlterTable types.
AlterTable types.
AlterTable types.
AlterTable types.
AlterTable types.
AlterTable types.
AlterTable types.
AlterTable types.
AlterTable types.
AlterTable types.
AlterTable types.
AlterTable types.
AlterTable types.
AlterTable types.
AlterTable types.
AlterTable types.
AlterTable types.
AlterTable types.
AlterTable types.
AlterTable types.
AlterTable types.
AlterTable types.
AlterTable types.
AlterTable types.
AlterTable types.
AlterTable types.
TODO: Add more actions.
AlterTable types.
AlterTable types.
AlterTable types.
AlterTable types.
AlterTable types.
AlterTable types.
AlterTable types.
AlterTable types.
AlterTable types.
AlterTable types.
AlterTable types.
AlterTableSetTiFlashReplica uses to set the table TiFlash replica.
AlterTable types.
AlterTable types.
AlterTable types.
AlterTable types.
Analyze option types.
Analyze option types.
Analyze option types.
Analyze option types.
Analyze option types.
List scalar function names.
miscellaneous functions.
string functions.
List scalar function names.
List scalar function names.
List scalar function names.
information functions.
List scalar function names.
List scalar function names.
List scalar function names.
List scalar function names.
List scalar function names.
import options.
backup options.
CSV options.
equals FALSE.
equals TRUE.
restore options.
common BRIE options.
List scalar function names.
List scalar function names.
CastFunction types.
CastFunction types.
CastFunction types.
List scalar function names.
List scalar function names.
List scalar function names.
List scalar function names.
List scalar function names.
List scalar function names.
common functions.
List scalar function names.
List scalar function names.
ColumnOption types.
ColumnOption types.
ColumnOption types.
ColumnOption types.
ColumnOption types.
ColumnOption types.
ColumnOption types.
ColumnOption types.
ColumnOption types.
ColumnOption types.
ColumnOption types.
ColumnOption types.
For Timestamp and Datetime only.
ColumnOption types.
ColumnOption types.
ColumnOption types.
ColumnOption types.
ColumnPosition Types.
ColumnPosition Types.
ColumnPosition Types.
CompletionTypeDefault refers to NO_CHAIN.
List scalar function names.
List scalar function names.
List scalar function names.
List scalar function names.
ConstraintTypes.
ConstraintTypes.
ConstraintTypes.
ConstraintTypes.
ConstraintTypes.
ConstraintTypes.
ConstraintTypes.
ConstraintTypes.
ConstraintTypes.
ConstraintTypes.
List scalar function names.
List scalar function names.
List scalar function names.
List scalar function names.
List scalar function names.
List scalar function names.
CrossJoin is cross join type.
List scalar function names.
List scalar function names.
List scalar function names.
Frame bound types.
List scalar function names.
List scalar function names.
List scalar function names.
List scalar function names.
List scalar function names.
Database option types.
Database option types.
Database option types.
Database option types.
List scalar function names.
List scalar function names.
DateArithAdd is to run adddate or date_add function option.
DateArithSub is to run subdate or date_sub function option.
List scalar function names.
List scalar function names.
List scalar function names.
List scalar function names.
List scalar function names.
List scalar function names.
List scalar function names.
List scalar function names.
List scalar function names.
List scalar function names.
List scalar function names.
List scalar function names.
List scalar function names.
List scalar function names.
List scalar function names.
Isolation level constants.
List scalar function names.
List scalar function names.
List scalar function names.
List scalar function names.
List scalar function names.
Isolation level constants.
Isolation level constants.
Isolation level constants.
Isolation level constants.
Valid formats for explain statement.
Isolation level constants.
List scalar function names.
List scalar function names.
List scalar function names.
List scalar function names.
Flags indicates whether an expression contains certain types of expression.
Flags indicates whether an expression contains certain types of expression.
Flags indicates whether an expression contains certain types of expression.
Flags indicates whether an expression contains certain types of expression.
Flags indicates whether an expression contains certain types of expression.
Flags indicates whether an expression contains certain types of expression.
Flags indicates whether an expression contains certain types of expression.
Flags indicates whether an expression contains certain types of expression.
Flags indicates whether an expression contains certain types of expression.
Flags indicates whether an expression contains certain types of expression.
List scalar function names.
Flush statement types.
Flush statement types.
Flush statement types.
Flush statement types.
Flush statement types.
Flush statement types.
Flush statement types.
Flush statement types.
Frame bound types.
List scalar function names.
List scalar function names.
List scalar function names.
List scalar function names.
List scalar function names.
List scalar function names.
List scalar function names.
List scalar function names.
List scalar function names.
GetFormatSelectorDate is the GET_FORMAT selector DATE.
GetFormatSelectorDatetime is the GET_FORMAT selector DATETIME and TIMESTAMP.
GetFormatSelectorTime is the GET_FORMAT selector TIME.
get_lock() and release_lock() is parsed but do nothing.
MVCC information fetching function.
List scalar function names.
List scalar function names.
GrantLevelDB means the privileges apply to all objects in a given database.
GrantLevelGlobal means the privileges are administrative or apply to all databases on a given server.
GrantLevelNone is the dummy const for default value.
GrantLevelTable means the privileges apply to all columns in a given table.
List scalar function names.
Window function frame types.
List scalar function names.
List scalar function names.
IndexHintUseType values.
Index hint scopes.
Index hint scopes.
Index hint scopes.
Index hint scopes.
IndexHintUseType values.
IndexHintUseType values.
Histogram operation types.
HistogramOperationNop shows no operation in histogram.
Histogram operation types.
List scalar function names.
control functions.
List scalar function names.
List scalar function names.
Index key types.
Index key types.
Index key types.
Index key types.
IndexVisibility options.
IndexVisibility options.
IndexVisibility options.
List scalar function names.
List scalar function names.
List scalar function names.
List scalar function names.
List scalar function names.
List scalar function names.
List scalar function names.
List scalar function names.
Avoid name conflict with IsFalse in github/pingcap/check.
List scalar function names.
List scalar function names.
List scalar function names.
List scalar function names.
List scalar function names.
List scalar function names.
List scalar function names.
Avoid name conflict with IsTrue in github/pingcap/check.
List scalar function names.
List scalar function names.
List scalar function names.
List scalar function names.
List scalar function names.
List scalar function names.
List scalar function names.
List scalar function names.
List scalar function names.
List scalar function names.
List scalar function names.
List scalar function names.
List scalar function names.
List scalar function names.
List scalar function names.
List scalar function names.
List scalar function names.
List scalar function names.
List scalar function names.
List scalar function names.
List scalar function names.
List scalar function names.
json functions.
List scalar function names.
List scalar function names.
List scalar function names.
List scalar function names.
List scalar function names.
List scalar function names.
List scalar function names.
List scalar function names.
List scalar function names.
LeftJoin is left Join type.
List scalar function names.
List scalar function names.
List scalar function names.
List scalar function names.
List scalar function names.
List scalar function names.
List scalar function names.
List scalar function names.
Lock Types.
Lock Types.
Lock Types.
Lock Types.
List scalar function names.
List scalar function names.
List scalar function names.
List scalar function names.
List scalar function names.
List scalar function names.
List scalar function names.
List scalar function names.
List scalar function names.
List scalar function names.
List scalar function names.
List scalar function names.
List scalar function names.
List scalar function names.
match type.
match type.
match type.
match type.
List scalar function names.
List scalar function names.
List scalar function names.
List scalar function names.
List scalar function names.
List scalar function names.
List scalar function names.
List scalar function names.
List scalar function names.
List scalar function names.
List scalar function names.
Sequence function.
List scalar function names.
List scalar function names.
List scalar function names.
ObjectTypeFunction means the following object is a stored function.
ObjectTypeNone is for empty object type.
ObjectTypeProcedure means the following object is a stored procedure.
ObjectTypeTable means the following object is a table.
List scalar function names.
List scalar function names.
List scalar function names.
OnDuplicateKeyHandling types.
OnDuplicateKeyHandling types.
OnDuplicateKeyHandling types.
Transaction mode constants.
List scalar function names.
List scalar function names.
List scalar function names.
List scalar function names.
List scalar function names.
Transaction mode constants.
List scalar function names.
List scalar function names.
List scalar function names.
List scalar function names.
List scalar function names.
Frame bound types.
Isolation level constants.
List scalar function names.
List scalar function names.
List scalar function names.
List scalar function names.
List scalar function names.
Window function frame types.
Isolation level constants.
Isolation level constants.
Refer option types.
Refer option types.
Refer option types.
Refer option types.
Refer option types.
Refer option types.
List scalar function names.
List scalar function names.
List scalar function names.
List scalar function names.
Isolation level constants.
List scalar function names.
List scalar function names.
List scalar function names.
RightJoin is right Join type.
List scalar function names.
List scalar function names.
List scalar function names.
RowFormat types.
RowFormat types.
RowFormat types.
RowFormat types.
RowFormat types.
RowFormat types.
List scalar function names.
Window function frame types.
List scalar function names.
List scalar function names.
List scalar function names.
List scalar function names.
List scalar function names.
Select lock types.
Select lock types.
Select lock types.
Select lock types.
Select lock types.
Select lock types.
Select lock types.
Select lock types.
SequenceOption types.
SequenceOption types.
SequenceOption types.
SequenceOption types.
SequenceOption types.
SequenceOption types.
SequenceOption types.
SequenceOption types.
SequenceOption types.
SequenceOption types.
SequenceRestart is only used in alter sequence statement.
SequenceOption types.
SequenceOption types.
Isolation level constants.
List scalar function names.
SetCharset is the const for set charset stmt.
SetNames is the const for set names stmt.
SetRole statement types.
SetRole statement types.
SetRole statement types.
SetRole statement types.
SetRole statement types.
List scalar function names.
List scalar function names.
List scalar function names.
List scalar function names.
List scalar function names.
Show statement types.
Show statement types.
Show statement types.
Show statement types.
Show statement types.
Show statement types.
Show statement types.
Show statement types.
Show statement types.
Show statement types.
Show statement types.
Show statement types.
Show statement types.
Show statement types.
Show statement types.
Show statement types.
Show statement types.
Show statement types.
Show statement types.
Show statement types.
Show statement types.
Show statement types.
Show statement types.
Show statement types.
Show statement types.
Show statement types.
Show statement types.
Show statement types.
Show statement types.
Show statement types.
Show statement types.
Show statement types.
Show statement types.
Show statement types.
ShowSlowKindAll is a ShowSlowKind constant.
ShowSlowKindDefault is a ShowSlowKind constant.
ShowSlowKindInternal is a ShowSlowKind constant.
ShowSlowRecent is a ShowSlowType constant.
ShowSlowTop is a ShowSlowType constant.
Show statement types.
Show statement types.
Show statement types.
Show statement types.
Show statement types.
Show statement types.
Show statement types.
Show statement types.
Show statement types.
Show statement types.
Show statement types.
Show statement types.
Show statement types.
List scalar function names.
List scalar function names.
List scalar function names.
List scalar function names.
List scalar function names.
List scalar function names.
Extended statistics types.
Extended statistics types.
Extended statistics types.
List scalar function names.
List scalar function names.
List scalar function names.
List scalar function names.
List scalar function names.
List scalar function names.
List scalar function names.
List scalar function names.
List scalar function names.
TableOption types.
TableOption types.
TableOption types.
TableOption types.
TableOption types.
TableOption types.
TableOption types.
TableOption types.
TableOption types.
TableOption types.
TableOption types.
TableOption types.
TableOption types.
TableOption types.
TableOption types.
TableOption types.
TableOption types.
TableOption types.
TableOption types.
TableOption types.
TableOption types.
TableOption types.
TableOption types.
TableOption types.
TableOption types.
TableOption types.
TableOption types.
TableOption types.
TableOption types.
TableOption types.
TableOption types.
TableOption types.
TableOption types.
TableOption types.
TableOption types.
List scalar function names.
TSO functions TiDBBoundedStaleness is used to determine the TS for a read only request with the given bounded staleness.
List scalar function names.
TiDB internal function.
List scalar function names.
List scalar function names.
List scalar function names.
List scalar function names.
List scalar function names.
List scalar function names.
List scalar function names.
List scalar function names.
List scalar function names.
List scalar function names.
List scalar function names.
List scalar function names.
List scalar function names.
TimeUnitDay is the time or timestamp unit DAY.
TimeUnitDayHour is the time unit DAY_HOUR.
TimeUnitDayMicrosecond is the time unit DAY_MICROSECOND.
TimeUnitDayMinute is the time unit DAY_MINUTE.
TimeUnitDaySecond is the time unit DAY_SECOND.
TimeUnitHour is the time or timestamp unit HOUR.
TimeUnitHourMicrosecond is the time unit HOUR_MICROSECOND.
TimeUnitHourMinute is the time unit HOUR_MINUTE.
TimeUnitHourSecond is the time unit HOUR_SECOND.
TimeUnitInvalid is a placeholder for an invalid time or timestamp unit.
TimeUnitMicrosecond is the time or timestamp unit MICROSECOND.
TimeUnitMinute is the time or timestamp unit MINUTE.
TimeUnitMinuteMicrosecond is the time unit MINUTE_MICROSECOND.
TimeUnitMinuteSecond is the time unit MINUTE_SECOND.
TimeUnitMonth is the time or timestamp unit MONTH.
TimeUnitQuarter is the time or timestamp unit QUARTER.
TimeUnitSecond is the time or timestamp unit SECOND.
TimeUnitSecondMicrosecond is the time unit SECOND_MICROSECOND.
TimeUnitWeek is the time or timestamp unit WEEK.
TimeUnitYear is the time or timestamp unit YEAR.
TimeUnitYearMonth is the time unit YEAR_MONTH.
List scalar function names.
List scalar function names.
RowFormat types.
RowFormat types.
RowFormat types.
RowFormat types.
RowFormat types.
RowFormat types.
RowFormat types.
RowFormat types.
List scalar function names.
List scalar function names.
TrimBoth trims from both direction with explicit notation.
TrimBothDefault trims from both direction by default.
TrimLeading trims from left.
TrimTrailing trims from right.
List scalar function names.
List scalar function names.
List scalar function names.
Avoid name conflict with Not in github/pingcap/check.
List scalar function names.
List scalar function names.
List scalar function names.
List scalar function names.
List scalar function names.
UnspecifiedSize is unspecified size.
List scalar function names.
List scalar function names.
List scalar function names.
List scalar function names.
List scalar function names.
List scalar function names.
List scalar function names.
List scalar function names.
List scalar function names.
List scalar function names.
List scalar function names.
List scalar function names.
List scalar function names.
List scalar function names.
List scalar function names.
List scalar function names.
WindowFuncCumeDist is the name of cume_dist function.
WindowFuncDenseRank is the name of dense_rank function.
WindowFuncFirstValue is the name of first_value function.
WindowFuncLag is the name of lag function.
WindowFuncLastValue is the name of last_value function.
WindowFuncLead is the name of lead function.
WindowFuncNthValue is the name of nth_value function.
WindowFuncNtile is the name of ntile function.
WindowFuncPercentRank is the name of percent_rank function.
WindowFuncRank is the name of rank function.
WindowFuncRowNumber is the name of row_number function.
List scalar function names.
List scalar function names.
List scalar function names.

# Variables

AnalyzeOptionString stores the string form of analyze options.
ExplainFormats stores the valid formats for explain statement, used by validator.
NewBitLiteral creates a types.BitLiteral value, it's provided by parser driver.
NewDecimal creates a types.Decimal value, it's provided by parser driver.
NewHexLiteral creates a types.HexLiteral value, it's provided by parser driver.
NewParamMarkerExpr creates a ParamMarkerExpr.
NewValueExpr creates a ValueExpr with value, and sets default field type.

# Structs

AdminStmt is the struct for Admin statement.
AggregateFuncExpr represents aggregate function expression.
AlterDatabaseStmt is a statement to change the structure of a database.
AlterInstanceStmt modifies instance.
AlterOrderItem represents an item in order by at alter table stmt.
AlterSequenceStmt is a statement to alter sequence option.
AlterTableSpec represents alter table specification.
AlterTableStmt is a statement to change the structure of a table.
AlterUserStmt modifies user account.
AnalyzeOpt stores the analyze option type and value.
AnalyzeTableStmt is used to create table statistics.
Assignment is the expression for assignment, like a = 1.
AuthOption is used for parsing create use statement.
BeginStmt is a statement to start a new transaction.
BetweenExpr is for "between and" or "not between and" expression.
BinaryOperationExpr is for binary operation like `1 + 1`, `1 - 1`, etc.
BinlogStmt is an internal-use statement.
BRIEStmt is a statement for backup, restore, import and export.
ByItem represents an item in order by or group by.
CallStmt represents a call procedure query node.
CaseExpr is the case expression.
CharsetOpt is used for parsing charset option from SQL.
CleanupTableLockStmt is a statement to cleanup table lock.
ColumnDef is used for parsing column definition from SQL.
ColumnName represents column name.
ColumnNameExpr represents a column name expression.
ColumnOption is used for parsing column constraint info from SQL.
ColumnPosition represent the position of the newly added column.
CommitStmt is a statement to commit the current transaction.
CompareSubqueryExpr is the expression for "expr cmp (select ...)".
Constraint is constraint for table definition.
CreateBindingStmt creates sql binding hint.
CreateDatabaseStmt is a statement to create a database.
CreateIndexStmt is a statement to create an index.
CreateSequenceStmt is a statement to create a Sequence.
CreateStatisticsStmt is a statement to create extended statistics.
CreateTableStmt is a statement to create a table.
CreateUserStmt creates user account.
CreateViewStmt is a statement to create a View.
DatabaseOption represents database option.
DeallocateStmt is a statement to release PreparedStmt.
DefaultExpr is the default expression using default value for a column.
DeleteStmt is a statement to delete rows from table.
DeleteTableList is the tablelist used in delete statement multi-table mode.
DoStmt is the struct for DO statement.
DropBindingStmt deletes sql binding hint.
DropDatabaseStmt is a statement to drop a database and all tables in the database.
DropIndexStmt is a statement to drop the index.
DropSequenceStmt is a statement to drop a Sequence.
DropStatisticsStmt is a statement to drop extended statistics.
DropStatsStmt is used to drop table statistics.
DropTableStmt is a statement to drop one or more tables.
DropUserStmt creates user account.
ExecuteStmt is a statement to execute PreparedStmt.
ExistsSubqueryExpr is the expression for "exists (select ...)".
ExplainForStmt is a statement to provite information about how is SQL statement executeing in connection #ConnectionID See https://dev.mysql.com/doc/refman/5.7/en/explain.html.
ExplainStmt is a statement to provide information about how is SQL statement executed or get columns information in a table.
FieldList represents field list in select statement.
FieldsClause represents fields references clause in load data statement.
FlashBackTableStmt is a statement to restore a dropped/truncate table.
FloatOpt is used for parsing floating-point type option from SQL.
FlushStmt is a statement to flush tables/privileges/optimizer costs and so on.
FrameBound represents frame bound.
FrameClause represents frame clause.
FrameExtent represents frame extent.
FuncCallExpr is for function expression.
FuncCastExpr is the cast function converting value to another type, e.g, cast(expr AS signed).
GetFormatSelectorExpr is an expression used as the first argument of GET_FORMAT() function.
GrantLevel is used for store the privilege scope.
GrantProxyStmt is the struct for GRANT PROXY statement.
GrantRoleStmt is the struct for GRANT TO statement.
GrantStmt is the struct for GRANT statement.
GroupByClause represents group by clause.
HandleRange represents a range where handle value >= Begin and < End.
HavingClause represents having clause.
HintSetVar is the payload of `SET_VAR` hint.
HintTable is table in the hint.
HintTimeRange is the payload of `TIME_RANGE` hint.
Ident is the table identifier composed of schema name and table name.
IndexAdviseStmt is used to advise indexes.
IndexHint represents a hint for optimizer to use/ignore/force for join/order by/group by.
IndexLockAndAlgorithm stores the algorithm option and the lock option.
IndexOption is the index options.
IndexPartSpecifications is used for parsing index column name or index expression from SQL.
InsertStmt is a statement to insert new rows into an existing table.
IsNullExpr is the expression for null check.
IsTruthExpr is the expression for true/false check.
Join represents table join.
KillStmt is a statement to kill a query or connection.
Limit is the limit clause.
LinesClause represents lines references clause in load data statement.
LoadDataStmt is a statement to load data from a specified file, then insert this rows into an existing table.
LoadStatsStmt is the statement node for loading statistic.
LockTablesStmt is a statement to lock tables.
MatchAgainst is the expression for matching against fulltext index.
MaxIndexNumClause represents 'maximum number of indexes' clause in index advise statement.
MaxValueExpr is the expression for "maxvalue" used in partition.
NullString represents a string that may be nil.
OnCondition represents JOIN on condition.
OnDeleteOpt is used for optional on delete clause.
OnUpdateOpt is used for optional on update clause.
OptBinary is used for parser.
OrderByClause represents order by clause.
ParenthesesExpr is the parentheses expression.
PartitionByClause represents partition by clause.
PartitionDefinition defines a single partition.
PartitionMethod describes how partitions or subpartitions are constructed.
PartitionOptions specifies the partition options.
PatternInExpr is the expression for in operator, like "expr in (1, 2, 3)" or "expr in (select c from t)".
PatternLikeExpr is the expression for like operator, e.g, expr like "%123%".
PatternRegexpExpr is the pattern expression for pattern match.
PositionExpr is the expression for order by and group by position.
Prepared represents a prepared statement.
PrepareStmt is a statement to prepares a SQL statement which contains placeholders, and it is executed with ExecuteStmt and released with DeallocateStmt.
PrivElem is the privilege type and optional column list.
RecoverTableStmt is a statement to recover dropped table.
ReferenceDef is used for parsing foreign key reference option from SQL.
RenameTableStmt is a statement to rename a table.
RenameUserStmt is a statement to rename a user.
RepairTableStmt is a statement to repair tableInfo.
ResultField represents a result field which can be a column from a table, or an expression in select field.
RevokeStmt is the struct for REVOKE statement.
RevokeStmt is the struct for REVOKE statement.
RoleOrPriv is a temporary structure to be further processed into auth.RoleIdentity or PrivElem.
RollbackStmt is a statement to roll back the current transaction.
RowExpr is the expression for row constructor.
SelectField represents fields in select statement.
SelectStmt represents the select query node.
SelectStmtOpts wrap around select hints and switches.
SequenceOption is used for parsing sequence option from SQL.
SetCollationExpr is the expression for the `COLLATE collation_name` clause.
SetConfigStmt is the statement to set cluster configs.
SetOprSelectList represents the SelectStmt/TableStmt/ValuesStmt list in a union statement.
SetOprStmt represents "union/except/intersect statement" See https://dev.mysql.com/doc/refman/5.7/en/union.html See https://mariadb.com/kb/en/intersect/ See https://mariadb.com/kb/en/except/.
SetPwdStmt is a statement to assign a password to user account.
SetStmt is the statement to set variables.
ShowSlow is used for the following command: admin show slow top [ internal | all] N admin show slow recent N.
ShowStmt is a statement to provide information about databases, tables, columns and so on.
ShutdownStmt is a statement to stop the TiDB server.
StatisticsSpec is the specification for ADD /DROP STATISTICS.
SubqueryExpr represents a subquery.
TableLock contains the table name and lock type.
TableName represents a table name.
TableNameExpr represents a table-level object name expression, such as sequence/table/view etc.
TableOptimizerHint is Table level optimizer hint.
TableOption is used for parsing table option from SQL.
TableRefsClause represents table references clause in dml statement.
TableSource represents table source with a name.
TableToTable represents renaming old table to new table used in RenameTableStmt.
TimeUnitExpr is an expression representing a time or timestamp unit.
TraceStmt is a statement to trace what sql actually does at background.
TrimDirectionExpr is an expression representing the trim direction used in the TRIM() function.
TruncateTableStmt is a statement to empty a table completely.
TypeOpt is used for parsing data type option from SQL.
UnaryOperationExpr is the expression for unary operator.
UnlockTablesStmt is a statement to unlock tables.
UpdateStmt is a statement to update columns of existing rows in tables with new values.
UserSpec is used for parsing create user statement.
UserToUser represents renaming old user to new user used in RenameUserStmt.
UseStmt is a statement to use the DBName database as the current database.
ValuesExpr is the expression used in INSERT VALUES.
VariableAssignment is a variable assignment struct.
VariableExpr is the expression for variable.
WhenClause is the when clause in Case expression for "when condition then result".
WildCardField is a special type of select field content.
WindowFuncExpr represents window function expression.
WindowSpec is the specification of a window.

# Interfaces

DDLNode represents DDL statement node.
DMLNode represents DML statement node.
ExprNode is a node that can be evaluated.
FuncNode represents function call expression node.
Node is the basic element of the AST.
ParamMarkerExpr expression holds a place for another expression.
ResultSetNode interface has a ResultFields property, represents a Node that returns result set.
SensitiveStmtNode overloads StmtNode and provides a SecureText method.
StmtNode represents statement node.
ValueExpr define a interface for ValueExpr.
Visitor visits a Node.

# Type aliases

AdminStmtType is the type for admin statement.
AlgorithmType is the algorithm of the DDL operations.
AlterTableType is the type for AlterTableSpec.
AnalyzeOptType is the type for analyze options.
FrameType is the type of window function frame bound.
CastFunctionType is the type for cast function.
ColumnOptionType is the type for ColumnOption.
ColumnPositionType is the type for ColumnPosition.
CompletionType defines completion_type used in COMMIT and ROLLBACK statements.
ConstraintType is the type for Constraint.
DatabaseOptionType is the type for database options.
DateArithType is type for DateArith type.
ErrorHandlingOption is used in async IMPORT related stmt.
FlushStmtType is the type for FLUSH statement.
FrameType is the type of window function frame.
GetFormatSelectorType is the type for the first argument of GET_FORMAT() function.
GrantLevelType is the type for grant level.
HistogramOperationType is the type for histogram operation.
IndexHintScope is the type for index hint for join, order by or group by.
IndexHintType is the type for index hint use, ignore or force.
IndexKeyType is the type for index key.
IndexVisibility is the option for index visibility.
JoinType is join type, including cross/left/right/full.
LockType is the type for AlterTableSpec.
LogType is the log type used in FLUSH statement.
MatchType is the type for reference match type.
ObjectTypeType is the type for object type.
OnDuplicateKeyHandlingType is the option that handle unique key values in 'CREATE TABLE ..
ReferOptionType is the type for refer options.
SelectLockType is the lock type for SelectStmt.
SequenceOptionType is the type for SequenceOption.
SetRoleStmtType is the type for FLUSH statement.
ShowSlowKind defines the kind for SlowSlow statement when the type is ShowSlowTop.
ShowSlowType defines the type for SlowSlow statement.
ShowStmtType is the type for SHOW statement.
TableOptionType is the type for TableOption.
TexprNode is exported for parser driver.
TimeUnitType is the type for time and timestamp units.
TrimDirectionType is the type for trim direction.