Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/blastrain/vitess-sqlparser
/ functions
Functions
1,509 in github.com/blastrain/vitess-sqlparser
⨍
Functions
1,509
◇
Types & classes
344
Method
IsLeapYear
IsLeapYear returns if it's leap year.
tidbparser/dependency/types/mytime.go:121
Function
IsNonBinaryStr
IsNonBinaryStr returns a boolean indicating whether the field type is a non-binary string type.
tidbparser/dependency/types/etc.go:98
Method
IsNull
IsNull checks if datum is null.
tidbparser/dependency/types/datum.go:121
Method
IsNull
IsNull implements Row interface.
tidbparser/dependency/types/row.go:150
Method
IsPrepared
IsPrepared returns whether this statement is prepared statement.
tidbparser/ast/ast.go:189
Function
IsReadOnly
IsReadOnly checks whether the input ast is readOnly.
tidbparser/ast/read_only_checker.go:17
Method
IsReadOnly
IsReadOnly returns if the statement is read only. For example: SelectStmt without lock.
tidbparser/ast/ast.go:192
Method
IsRollingback
IsRollingback returns whether the job is rolling back or not.
tidbparser/dependency/model/ddl.go:225
Method
IsRunning
IsRunning returns whether job is still running or not.
tidbparser/dependency/model/ddl.go:245
Method
IsSynced
IsSynced returns whether the DDL modification is synced among all TiDB servers.
tidbparser/dependency/model/ddl.go:235
Function
IsTemporalWithDate
IsTemporalWithDate returns a boolean indicating whether the tp is time type with date.
tidbparser/dependency/types/etc.go:83
Function
IsText
IsText returns true if querypb.Type is a text.
sqltypes/type.go:74
Function
IsTypeFloat
IsTypeFloat returns a boolean indicating whether the tp is floating-point type.
tidbparser/dependency/types/etc.go:77
Function
IsTypeFractionable
IsTypeFractionable returns a boolean indicating whether the tp can has time fraction.
tidbparser/dependency/types/etc.go:66
Function
IsTypePrefixable
IsTypePrefixable returns a boolean indicating whether an index on a column with the tp can be defined with a prefix.
tidbparser/dependency/types/etc.go:60
Function
IsTypeTemporal
IsTypeTemporal checks if a type is a temporal type.
tidbparser/dependency/types/etc.go:179
Function
IsUTF8Charset
IsUTF8Charset checks if charset is utf8 or utf8mb4
tidbparser/dependency/mysql/charset.go:569
Method
IsZero
IsZero checks whether it's a zero decimal.
tidbparser/dependency/types/mydecimal.go:1201
Method
Kill
(connectionID uint64, query bool)
tidbparser/dependency/util/processinfo.go:36
Method
Leave
Leave implements Visitor interface.
tidbparser/ast/read_only_checker.go:59
Method
Leave
(in Node)
tidbparser/ast/flag.go:34
Method
Len
()
tidbparser/dependency/types/datum.go:1752
Method
Len
Len implements Row interface.
tidbparser/dependency/types/row.go:80
Method
Len
Len returns the number of values in the row.
tidbparser/dependency/util/chunk/chunk.go:467
Method
Len
Len returns the number of columns.
tidbparser/dependency/util/chunk/mutrow.go:37
Method
Len
Len implements the Iterator interface.
tidbparser/dependency/util/chunk/iterator.go:223
Method
Len
Len returns the length of the List.
tidbparser/dependency/util/chunk/list.go:58
Method
Len
Len returns the length.
sqltypes/value.go:93
Method
Less
(i, j int)
tidbparser/dependency/types/datum.go:1756
Method
Lex
(lval *yySymType)
tidbparser/parser/parser.go:5826
Method
Lex
Lex returns a token and store the token value in v. Scanner satisfies yyLexer interface. 0 and invalid are special token id this function would return
tidbparser/parser/lexer.go:131
Method
Lex
Lex returns the next token form the Tokenizer. This function is used by go yacc.
sqlparser/token.go:319
Method
Location
Location returns the location where the error is created, implements juju/errors locationer interface.
tidbparser/dependency/terror/terror.go:203
Method
Lookahead
()
sqlparser/sql.go:1195
Method
Lookahead
()
sqlparser/sql.go:1204
Function
Lookup
Lookup returns the encoding with the specified label, and its canonical name. It returns nil and the empty string if label is not one of the standard
tidbparser/dependency/util/charset/encoding_table.go:32
Method
LowerBound
LowerBound searches on the non-decreasing column colIdx, returns the smallest index i such that the value at row i is not less than `ad`.
tidbparser/dependency/util/chunk/compare.go:218
Method
MakeRef
MakeRef makes column in "dstColIdx" reference to column in "srcColIdx".
tidbparser/dependency/util/chunk/chunk.go:109
Method
MarshalJSON
MarshalJSON implements json.Marshaler interface.
tidbparser/dependency/terror/terror.go:171
Method
MarshalJSON
MarshalJSON marshals into JSON.
sqlparser/ast.go:2525
Method
MarshalJSON
MarshalJSON marshals into JSON.
sqlparser/ast.go:2581
Function
MaxValueDatum
MaxValueDatum returns a datum represents max value.
tidbparser/dependency/types/datum.go:1712
Function
MinNotNullDatum
MinNotNullDatum returns a datum represents minimum not null value.
tidbparser/dependency/types/datum.go:1707
Method
Modify
Modify modifies a JSON object by insert, replace or set. All path expressions cannot contain * or ** wildcard. If any error occurs, the input won't be
tidbparser/dependency/types/json/binary_functions.go:277
Function
MulInt64
MulInt64 multiplies int64 a and b and returns int64 if no overflow error.
tidbparser/dependency/types/overflow.go:96
Function
MulInteger
MulInteger multiplies uint64 a and int64 b, and returns uint64 if no overflow error.
tidbparser/dependency/types/overflow.go:141
Function
MustNil
MustNil fatals if err is not nil.
tidbparser/dependency/terror/terror.go:324
Function
MutRowFromDatums
MutRowFromDatums creates a MutRow from a datum slice.
tidbparser/dependency/util/chunk/mutrow.go:52
Function
MutRowFromTypes
MutRowFromTypes creates a MutRow from a FieldType slice, each column is initialized to zero value.
tidbparser/dependency/util/chunk/mutrow.go:62
Function
MutRowFromValues
MutRowFromValues creates a MutRow from a interface slice.
tidbparser/dependency/util/chunk/mutrow.go:42
Function
New
New returns a Parser object.
tidbparser/parser/yy_parser.go:80
Function
NewBinaryLiteralDatum
NewBinaryLiteralDatum creates a new BinaryLiteral Datum for a BinaryLiteral value.
tidbparser/dependency/types/datum.go:1686
Function
NewBytesDatum
NewBytesDatum creates a new Datum from a byte slice.
tidbparser/dependency/types/datum.go:1644
Method
NewChunk
NewChunk creates a new chunk with initial capacity.
tidbparser/ast/ast.go:147
Function
NewDecFromFloatForTest
NewDecFromFloatForTest creates a MyDecimal from float, as it returns no error, it should only be used in test.
tidbparser/dependency/types/mydecimal.go:2142
Function
NewDecFromStringForTest
NewDecFromStringForTest creates a MyDecimal from string, as it returns no error, it should only be used in test.
tidbparser/dependency/types/mydecimal.go:2150
Function
NewDecFromUint
NewDecFromUint creates a MyDecimal from uint.
tidbparser/dependency/types/mydecimal.go:2137
Function
NewDecimalDatum
NewDecimalDatum creates a new Datum form a MyDecimal value.
tidbparser/dependency/types/datum.go:1680
Function
NewDurationDatum
NewDurationDatum creates a new Datum from a Duration value.
tidbparser/dependency/types/datum.go:1668
Function
NewExtraHandleColInfo
NewExtraHandleColInfo mocks a column info for extra handle column.
tidbparser/dependency/model/model.go:201
Function
NewFloat32Datum
NewFloat32Datum creates a new Datum from a float32 value.
tidbparser/dependency/types/datum.go:1662
Function
NewFloat64Datum
NewFloat64Datum creates a new Datum from a float64 value.
tidbparser/dependency/types/datum.go:1656
Function
NewIterator4Chunk
NewIterator4Chunk returns a iterator for Chunk.
tidbparser/dependency/util/chunk/iterator.go:102
Function
NewIterator4List
NewIterator4List returns a Iterator for List.
tidbparser/dependency/util/chunk/iterator.go:156
Function
NewIterator4RowPtr
NewIterator4RowPtr returns a Iterator for RowPtrs.
tidbparser/dependency/util/chunk/iterator.go:228
Function
NewIterator4Slice
NewIterator4Slice returns a Iterator for Row slice.
tidbparser/dependency/util/chunk/iterator.go:49
Function
NewList
NewList creates a new List with field types and max chunk size.
tidbparser/dependency/util/chunk/list.go:42
Function
NewMysqlBitDatum
NewMysqlBitDatum creates a new MysqlBit Datum for a BinaryLiteral value.
tidbparser/dependency/types/datum.go:1692
Function
NewStringDatum
NewStringDatum creates a new Datum from a string.
tidbparser/dependency/types/datum.go:1650
Function
NewTimeDatum
NewTimeDatum creates a new Time from a Time value.
tidbparser/dependency/types/datum.go:1674
Function
NewUintDatum
NewUintDatum creates a new Datum from an uint64 value.
tidbparser/dependency/types/datum.go:1638
Method
Next
Next returns the next row, nil row means there is no more to return.
tidbparser/ast/ast.go:141
Method
Next
Next returns the next Row.
tidbparser/dependency/util/chunk/iterator.go:33
Method
Next
Next implements the Iterator interface.
tidbparser/dependency/util/chunk/iterator.go:68
Method
Next
Next implements the Iterator interface.
tidbparser/dependency/util/chunk/iterator.go:122
Method
Next
Next implements the Iterator interface.
tidbparser/dependency/util/chunk/iterator.go:184
Method
Next
Next implements the Iterator interface.
tidbparser/dependency/util/chunk/iterator.go:248
Method
NextChunk
NextChunk reads records into chunk.
tidbparser/ast/ast.go:144
Method
NotEqual
NotEqual checks if err is not equal to e.
tidbparser/dependency/terror/terror.go:260
Method
NotEqualClass
NotEqualClass returns true if err is not *Error with the same class.
tidbparser/dependency/terror/terror.go:135
Function
NumberToDuration
NumberToDuration converts number to Duration.
tidbparser/dependency/types/convert.go:196
Method
OrigColName
OrigColName returns the full original column name.
tidbparser/ast/expressions.go:433
Method
OriginText
OriginText gets the origin SQL text.
tidbparser/ast/ast.go:183
Method
Parse
(yylex yyLexer)
sqlparser/sql.go:1335
Function
ParseDate
ParseDate is a helper function wrapping ParseTime with date type.
tidbparser/dependency/types/time.go:1235
Function
ParseDateFromNum
ParseDateFromNum is a helper function wrapping ParseTimeFromNum with date type.
tidbparser/dependency/types/time.go:1272
Function
ParseJSONPathExpr
ParseJSONPathExpr parses a JSON path expression. Returns a PathExpression object which can be used in JSON_EXTRACT, JSON_SET and so on.
tidbparser/dependency/types/json/path_expr.go:122
Method
ParseOneStmt
ParseOneStmt parses a query and returns an ast.StmtNode. The query must have one statement, otherwise ErrSyntax is returned.
tidbparser/parser/yy_parser.go:116
Function
ParseTimeFromFloatString
ParseTimeFromFloatString is similar to ParseTime, except that it's used to parse a float converted string.
tidbparser/dependency/types/time.go:1202
Function
ParseTimeFromInt64
ParseTimeFromInt64 parses mysql time value from int64.
tidbparser/dependency/types/time.go:1781
Function
ParseTimestamp
ParseTimestamp is a helper function wrapping ParseTime with timestamp type and default fsp.
tidbparser/dependency/types/time.go:1230
Function
ParseTimestampFromNum
ParseTimestampFromNum is a helper function wrapping ParseTimeFromNum with timestamp type and default fsp.
tidbparser/dependency/types/time.go:1267
Function
ParseYear
ParseYear parses a formatted string and returns a year number.
tidbparser/dependency/types/time.go:706
Function
RandomBuf
RandomBuf generates a random string using ASCII characters but avoid separator character. See https://github.com/mysql/mysql-server/blob/5.7/mysys_ssl
tidbparser/dependency/util/random.go:22
Method
Raw
Raw returns the raw bytes. All types are currently implemented as []byte. You should avoid using this function. If you do, you should treat the bytes
sqltypes/value.go:79
Method
ReachEnd
ReachEnd reaches the end of iterator.
tidbparser/dependency/util/chunk/iterator.go:45
Method
ReachEnd
ReachEnd implements the Iterator interface.
tidbparser/dependency/util/chunk/iterator.go:92
Method
ReachEnd
ReachEnd implements the Iterator interface.
tidbparser/dependency/util/chunk/iterator.go:146
Method
ReachEnd
ReachEnd implements the Iterator interface.
tidbparser/dependency/util/chunk/iterator.go:218
Method
ReachEnd
ReachEnd implements the Iterator interface.
tidbparser/dependency/util/chunk/iterator.go:272
← previous
next →
1,101–1,200 of 1,509, ranked by callers