Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/blastrain/vitess-sqlparser
/ types & classes
Types & classes
344 in github.com/blastrain/vitess-sqlparser
⨍
Functions
1,509
◇
Types & classes
344
↓ 17 callers
TypeAlias
ErrCode
ErrCode represents a specific error type in a error class. Same error code can be used in different error classes.
tidbparser/dependency/terror/terror.go:34
↓ 11 callers
TypeAlias
PrivilegeType
PrivilegeType privilege
tidbparser/dependency/mysql/const.go:179
↓ 7 callers
TypeAlias
Comments
Comments represents a list of comments.
sqlparser/ast.go:795
↓ 6 callers
TypeAlias
BinaryLiteral
BinaryLiteral is the internal type for storing bit / hex literal type.
tidbparser/dependency/types/binary_literal.go:29
↓ 2 callers
TypeAlias
BoolVal
BoolVal is true or false.
sqlparser/ast.go:1730
↓ 2 callers
TypeAlias
Exprs
Exprs represents a list of value expressions. It's not a valid expression because it's not parenthesized.
sqlparser/ast.go:1393
↓ 2 callers
TypeAlias
OnDup
OnDup represents an ON DUPLICATE KEY clause.
sqlparser/ast.go:2440
↓ 2 callers
TypeAlias
UpdateExprs
UpdateExprs represents a list of update expressions.
sqlparser/ast.go:2395
↓ 1 callers
TypeAlias
BitLiteral
BitLiteral is the bit literal type.
tidbparser/dependency/types/binary_literal.go:32
↓ 1 callers
TypeAlias
ColumnOptionType
ColumnOptionType is the type for ColumnOption.
sqlparser/ast.go:963
↓ 1 callers
TypeAlias
ConstraintType
sqlparser/ast.go:906
↓ 1 callers
TypeAlias
GroupBy
GroupBy represents a GROUP BY clause.
sqlparser/ast.go:2268
↓ 1 callers
TypeAlias
HexLiteral
HexLiteral is the hex literal type.
tidbparser/dependency/types/binary_literal.go:35
↓ 1 callers
TypeAlias
ListArg
ListArg represents a named list argument.
sqlparser/ast.go:1832
↓ 1 callers
Struct
Row
Row represents a row of data, can be used to assess values.
tidbparser/dependency/util/chunk/chunk.go:456
↓ 1 callers
TypeAlias
RowFormatType
RowFormatType is the type for RowFormat
sqlparser/ast.go:553
↓ 1 callers
TypeAlias
TableOptionType
sqlparser/ast.go:527
↓ 1 callers
TypeAlias
ValTuple
ValTuple represents a tuple of actual values.
sqlparser/ast.go:1798
↓ 1 callers
TypeAlias
ValType
ValType specifies the type for SQLVal.
sqlparser/ast.go:1632
↓ 1 callers
TypeAlias
pathExpressionFlag
pathExpressionFlag holds attributes of PathExpression
tidbparser/dependency/types/json/path_expr.go:75
↓ 1 callers
TypeAlias
weekBehaviour
tidbparser/dependency/types/mytime.go:217
↓ 1 callers
Interface
yyLexer
tidbparser/parser/parser.go:5825
Interface
ActionOnExceed
ActionOnExceed is the action taken when memory usage exceeds memory quota. NOTE: All the implementors should be thread-safe.
tidbparser/dependency/util/memory/action.go:25
TypeAlias
ActionType
ActionType is the type for DDL action.
tidbparser/dependency/model/ddl.go:27
Struct
AdminStmt
AdminStmt is the struct for Admin statement.
tidbparser/ast/misc.go:595
TypeAlias
AdminStmtType
AdminStmtType is the type for admin statement.
tidbparser/ast/misc.go:583
Struct
AggregateFuncExpr
AggregateFuncExpr represents aggregate function expression.
tidbparser/ast/functions.go:475
Struct
AliasedExpr
AliasedExpr defines an aliased SELECT expression.
sqlparser/ast.go:866
Struct
AliasedTableExpr
AliasedTableExpr represents a table expression coupled with an optional alias or index hint. If As is empty, no alias was used.
sqlparser/ast.go:1112
Struct
AlterTableSpec
AlterTableSpec represents alter table specification.
tidbparser/ast/ddl.go:733
Struct
AlterTableStmt
AlterTableStmt is a statement to change the structure of a table. See https://dev.mysql.com/doc/refman/5.7/en/alter-table.html
tidbparser/ast/ddl.go:794
TypeAlias
AlterTableType
AlterTableType is the type for AlterTableSpec.
tidbparser/ast/ddl.go:700
Struct
AlterUserStmt
AlterUserStmt modifies user account. See https://dev.mysql.com/doc/refman/5.7/en/alter-user.html
tidbparser/ast/misc.go:510
Struct
AnalyzeTableStmt
AnalyzeTableStmt is used to create table statistics.
tidbparser/ast/stats.go:25
Struct
AndExpr
AndExpr represents an AND expression.
sqlparser/ast.go:1415
Struct
Assignment
Assignment is the expression for assignment, like a = 1.
tidbparser/ast/dml.go:626
Struct
AuthOption
AuthOption is used for parsing create use statement.
tidbparser/ast/misc.go:84
Struct
BeginStmt
BeginStmt is a statement to start a new transaction. See https://dev.mysql.com/doc/refman/5.7/en/commit.html
tidbparser/ast/misc.go:192
Struct
BetweenExpr
BetweenExpr is for "between and" or "not between and" expression.
tidbparser/ast/expressions.go:133
Interface
BinWriter
BinWriter interface is used for encoding values. Types like bytes.Buffer conform to this interface. We expect the writer objects to be in-memory buffe
sqltypes/value.go:41
Struct
BinaryExpr
BinaryExpr represents a binary value expression.
sqlparser/ast.go:1845
Struct
BinaryJSON
* The binary JSON format from MySQL 5.7 is as follows: JSON doc ::= type value type ::= 0x01 | // large JSON object 0x03
tidbparser/dependency/types/json/binary.go:103
Struct
BinaryOperationExpr
BinaryOperationExpr is for binary operation like `1 + 1`, `1 - 1`, etc.
tidbparser/ast/expressions.go:184
Struct
BinlogStmt
BinlogStmt is an internal-use statement. We just parse and ignore it. See http://dev.mysql.com/doc/refman/5.7/en/binlog.html
tidbparser/ast/misc.go:209
Struct
Buffer
Buffer implements a subset of the write portion of bytes.Buffer, but more efficiently. This is meant to be used in very high QPS operations, especiall
bytes2/buffer.go:25
Struct
ByItem
ByItem represents an item in order by or group by.
tidbparser/ast/dml.go:359
Struct
CIStr
CIStr is case insensitive string.
tidbparser/dependency/model/model.go:340
Struct
CaseExpr
CaseExpr is the case expression.
tidbparser/ast/expressions.go:258
Struct
CaseExpr
CaseExpr represents a CASE expression.
sqlparser/ast.go:2191
TypeAlias
CastFunctionType
CastFunctionType is the type for cast function.
tidbparser/ast/functions.go:366
Struct
Charset
Charset is a charset. Now we only support MySQL.
tidbparser/dependency/util/charset/charset.go:25
Struct
CharsetOpt
CharsetOpt is used for parsing charset option from SQL.
tidbparser/ast/ddl.go:43
Struct
Chunk
Chunk stores multiple rows of data in Apache Arrow format. See https://arrow.apache.org/docs/memory_layout.html Values are appended in compact format
tidbparser/dependency/util/chunk/chunk.go:32
Struct
ColIdent
ColIdent is a case insensitive SQL identifier. It will be escaped with backquotes if necessary.
sqlparser/ast.go:2457
Struct
ColName
ColName represents a column name.
sqlparser/ast.go:1747
Interface
ColTuple
ColTuple represents a list of column values. It can be ValTuple, Subquery, ListArg.
sqlparser/ast.go:1788
Struct
CollateExpr
CollateExpr represents dynamic collate operator.
sqlparser/ast.go:1941
Struct
Collation
Collation is a collation. Now we only support MySQL.
tidbparser/dependency/util/charset/charset.go:35
Struct
ColumnDef
ColumnDef is used for parsing column definition from SQL.
tidbparser/ast/ddl.go:364
Struct
ColumnDef
sqlparser/ast.go:1020
Struct
ColumnInfo
ColumnInfo provides meta data describing of a table column.
tidbparser/dependency/model/model.go:62
Struct
ColumnName
ColumnName represents column name.
tidbparser/ast/expressions.go:403
Struct
ColumnNameExpr
ColumnNameExpr represents a column name expression.
tidbparser/ast/expressions.go:447
Struct
ColumnOption
ColumnOption is used for parsing column constraint info from SQL.
tidbparser/ast/ddl.go:248
Struct
ColumnOption
ColumnOption is used for parsing column constraint info from SQL.
sqlparser/ast.go:1008
TypeAlias
ColumnOptionType
ColumnOptionType is the type for ColumnOption.
tidbparser/ast/ddl.go:229
Struct
ColumnPosition
ColumnPosition represent the position of the newly added column
tidbparser/ast/ddl.go:674
TypeAlias
ColumnPositionType
ColumnPositionType is the type for ColumnPosition.
tidbparser/ast/ddl.go:664
TypeAlias
Columns
Columns represents an insert column list.
sqlparser/ast.go:1041
Struct
CommitStmt
CommitStmt is a statement to commit the current transaction. See https://dev.mysql.com/doc/refman/5.7/en/commit.html
tidbparser/ast/misc.go:226
Struct
CompareSubqueryExpr
CompareSubqueryExpr is the expression for "expr cmp (select ...)". See https://dev.mysql.com/doc/refman/5.7/en/comparisons-using-subqueries.html See h
tidbparser/ast/expressions.go:365
Struct
ComparisonExpr
ComparisonExpr represents a two-value comparison expression.
sqlparser/ast.go:1501
Struct
Constraint
Constraint is constraint for table definition.
tidbparser/ast/ddl.go:319
Struct
Constraint
Constraint is constraint for table definition.
sqlparser/ast.go:943
TypeAlias
ConstraintType
ConstraintType is the type for Constraint.
tidbparser/ast/ddl.go:303
Struct
ConvertExpr
ConvertExpr represents a call to CONVERT(expr, type) or it's equivalent CAST(expr AS type). Both are rewritten to the former.
sqlparser/ast.go:2080
Struct
ConvertType
ConvertType represents the type in call to CONVERT(expr, type)
sqlparser/ast.go:2125
Struct
ConvertUsingExpr
ConvertUsingExpr represents a call to CONVERT(expr USING charset).
sqlparser/ast.go:2103
Struct
CreateDatabaseStmt
CreateDatabaseStmt is a statement to create a database. See https://dev.mysql.com/doc/refman/5.7/en/create-database.html
tidbparser/ast/ddl.go:66
Struct
CreateIndexStmt
CreateIndexStmt is a statement to create an index. See https://dev.mysql.com/doc/refman/5.7/en/create-index.html
tidbparser/ast/ddl.go:556
Struct
CreateTable
sqlparser/ast.go:631
Struct
CreateTableStmt
CreateTableStmt is a statement to create a table. See https://dev.mysql.com/doc/refman/5.7/en/create-table.html
tidbparser/ast/ddl.go:396
Struct
CreateUserStmt
CreateUserStmt creates user account. See https://dev.mysql.com/doc/refman/5.7/en/create-user.html
tidbparser/ast/misc.go:480
Struct
CreateViewStmt
CreateViewStmt is a statement to create a View. See https://dev.mysql.com/doc/refman/5.7/en/create-view.html
tidbparser/ast/ddl.go:539
Struct
DBInfo
DBInfo provides meta data describing a DB.
tidbparser/dependency/model/model.go:320
Struct
DDL
DDL represents a CREATE, ALTER, DROP or RENAME statement. Table is set for AlterStr, DropStr, RenameStr. NewName is set for AlterStr, CreateStr, Renam
sqlparser/ast.go:514
Interface
DDLNode
DDLNode represents DDL statement node.
tidbparser/ast/ast.go:100
Interface
DMLNode
DMLNode represents DML statement node.
tidbparser/ast/ast.go:106
Struct
DatabaseOption
DatabaseOption represents database option.
tidbparser/ast/ddl.go:59
TypeAlias
DatabaseOptionType
DatabaseOptionType is the type for database options.
tidbparser/ast/ddl.go:49
TypeAlias
DateArithType
DateArithType is type for DateArith type.
tidbparser/ast/functions.go:438
Struct
Datum
Datum is a data box holds different kind of data. It has better performance and is easier to use than `interface{}`.
tidbparser/dependency/types/datum.go:58
TypeAlias
DatumRow
DatumRow is a slice of Datum, implements Row interface.
tidbparser/dependency/types/row.go:68
Struct
DeallocateStmt
DeallocateStmt is a statement to release PreparedStmt. See https://dev.mysql.com/doc/refman/5.7/en/deallocate-prepare.html
tidbparser/ast/misc.go:147
Struct
Default
Default represents a DEFAULT expression.
sqlparser/ast.go:2232
Struct
DefaultExpr
DefaultExpr is the default expression using default value for a column.
tidbparser/ast/expressions.go:480
Struct
Delete
Delete represents a DELETE statement.
sqlparser/ast.go:454
Struct
DeleteStmt
DeleteStmt is a statement to delete rows from table. See https://dev.mysql.com/doc/refman/5.7/en/delete.html
tidbparser/ast/dml.go:777
Struct
DeleteTableList
DeleteTableList is the tablelist used in delete statement multi-table mode.
tidbparser/ast/dml.go:161
Struct
Desc
Desc is a charset description.
tidbparser/dependency/util/charset/charset.go:67
next →
1–100 of 344, ranked by callers