MCPcopy Create free account

hub / github.com/blastrain/vitess-sqlparser / functions

Functions1,509 in github.com/blastrain/vitess-sqlparser

↓ 1 callersMethodconvertToFloat
(sc *stmtctx.StatementContext, target *FieldType)
tidbparser/dependency/types/datum.go:697
↓ 1 callersMethodconvertToMysqlBit
(sc *stmtctx.StatementContext, target *FieldType)
tidbparser/dependency/types/datum.go:1140
↓ 1 callersMethodconvertToMysqlDecimal
(sc *stmtctx.StatementContext, target *FieldType)
tidbparser/dependency/types/datum.go:1024
↓ 1 callersMethodconvertToMysqlDuration
(sc *stmtctx.StatementContext, target *FieldType)
tidbparser/dependency/types/datum.go:987
↓ 1 callersMethodconvertToMysqlEnum
(sc *stmtctx.StatementContext, target *FieldType)
tidbparser/dependency/types/datum.go:1159
↓ 1 callersMethodconvertToMysqlJSON
(sc *stmtctx.StatementContext, target *FieldType)
tidbparser/dependency/types/datum.go:1208
↓ 1 callersMethodconvertToMysqlSet
(sc *stmtctx.StatementContext, target *FieldType)
tidbparser/dependency/types/datum.go:1183
↓ 1 callersMethodconvertToMysqlTime
(sc *stmtctx.StatementContext, target *FieldType)
tidbparser/dependency/types/datum.go:943
↓ 1 callersMethodconvertToMysqlTimestamp
(sc *stmtctx.StatementContext, target *FieldType)
tidbparser/dependency/types/datum.go:907
↓ 1 callersMethodconvertToMysqlYear
(sc *stmtctx.StatementContext, target *FieldType)
tidbparser/dependency/types/datum.go:1109
↓ 1 callersMethodconvertToString
(sc *stmtctx.StatementContext, target *FieldType)
tidbparser/dependency/types/datum.go:756
↓ 1 callersFunctioncountTrailingZeroes
* countTrailingZeros returns the number of trailing zeroes that can be removed from fraction. @param i start index @param word value to
tidbparser/dependency/types/mydecimal.go:149
↓ 1 callersMethoddata
()
tidbparser/parser/lexer.go:500
↓ 1 callersFunctiondateToUint64
dateToUint64 converts time value to integer in YYYYMMDD format.
tidbparser/dependency/types/mytime.go:166
↓ 1 callersFunctiondecNesting
(yylex interface{})
sqlparser/sql.go:23
↓ 1 callersFunctiondecodeEscapedUnicode
decodeEscapedUnicode decodes unicode into utf8 bytes specified in RFC 3629. According RFC 3629, the max length of utf8 characters is 4 bytes. And MySQ
tidbparser/dependency/types/json/binary_functions.go:128
↓ 1 callersMethoddigitBounds
* digitBounds returns bounds of decimal digits in the number. start - index (from 0 ) of first decimal digits. end - index of positio
tidbparser/dependency/types/mydecimal.go:599
↓ 1 callersFunctiondigitVal
(ch uint16)
sqlparser/token.go:703
↓ 1 callersMethoddoMiniLeftShift
* doMiniLeftShift does left shift for alignment of data in buffer. shift number of decimal digits on which it should be shifted beg/end b
tidbparser/dependency/types/mydecimal.go:652
↓ 1 callersMethoddoMiniRightShift
* doMiniRightShift does right shift for alignment of data in buffer. shift number of decimal digits on which it should be shifted beg/end
tidbparser/dependency/types/mydecimal.go:676
↓ 1 callersMethoddoRemove
(path PathExpression)
tidbparser/dependency/types/json/binary_functions.go:419
↓ 1 callersMethodencodeAsEquality
(buf *bytes.Buffer)
sqlparser/encodable.go:83
↓ 1 callersMethodencodeAsIn
(buf *bytes.Buffer)
sqlparser/encodable.go:71
↓ 1 callersFunctionencodeBytesASCII
(val []byte, b BinWriter)
sqltypes/value.go:195
↓ 1 callersFunctionencodeBytesSQL
(val []byte, b BinWriter)
sqltypes/value.go:180
↓ 1 callersFunctionencodeChunkRow
(sc *stmtctx.StatementContext, b []byte, row chunk.Row, allTypes []*types.FieldType, colIdx []int, comparable,
tidbparser/dependency/util/codec/codec.go:176
↓ 1 callersFunctionextractDayHour
extractDayHour extracts day and hour from a string and its format is `DD HH`.
tidbparser/dependency/types/time.go:1680
↓ 1 callersFunctionextractDayMicrosecond
extractDayMicrosecond extracts day and microsecond from a string and its format is `DD HH:MM:SS.FFFFFF`.
tidbparser/dependency/types/time.go:1620
↓ 1 callersFunctionextractDayMinute
extractDayMinute extracts day and minute from a string and its format is `DD HH:MM`.
tidbparser/dependency/types/time.go:1660
↓ 1 callersFunctionextractDaySecond
extractDaySecond extracts day and hour from a string and its format is `DD HH:MM:SS`.
tidbparser/dependency/types/time.go:1640
↓ 1 callersFunctionextractMinuteMicrosecond
extractMinuteMicrosecond extracts minutes and microsecond from a string and its format is `MM:SS.FFFFFF`.
tidbparser/dependency/types/time.go:1510
↓ 1 callersFunctionextractMinuteSecond
extractMinuteSecond extracts minutes and second from a string and its format is `MM:SS`.
tidbparser/dependency/types/time.go:1530
↓ 1 callersFunctionextractSingleTimeValue
(unit string, format string)
tidbparser/dependency/types/time.go:1458
↓ 1 callersFunctionextractYearMonth
extractYearMonth extracts year and month from a string and its format is `YYYY-MM`.
tidbparser/dependency/types/time.go:1700
↓ 1 callersFunctionfastReverseBytes
(b []byte)
tidbparser/dependency/util/codec/bytes.go:163
↓ 1 callersFunctionfloatStrToIntStr
floatStrToIntStr converts a valid float string into valid integer string which can be parsed by strconv.ParseInt, we can't parse float first then conv
tidbparser/dependency/types/convert.go:245
↓ 1 callersMethodfuncCall
(x *FuncCallExpr)
tidbparser/ast/flag.go:142
↓ 1 callersFunctiongetAdjacentObjects
(bjs []BinaryJSON)
tidbparser/dependency/types/json/binary_functions.go:614
↓ 1 callersFunctiongetMaxFloat
(flen int, decimal int)
tidbparser/dependency/types/helper.go:62
↓ 1 callersMethodgetMySQLErrorCode
()
tidbparser/dependency/terror/terror.go:272
↓ 1 callersFunctionhandleEscape
handleEscape handles the case in scanString when previous char is '\'.
tidbparser/parser/lexer.go:541
↓ 1 callersFunctionhandleIdent
(lval *yySymType)
tidbparser/parser/misc.go:587
↓ 1 callersFunctionhandleTruncateError
(sc *stmtctx.StatementContext)
tidbparser/dependency/types/datum.go:1769
↓ 1 callersFunctionincNesting
(yylex interface{})
sqlparser/sql.go:15
↓ 1 callersMethodinsert
(path PathExpression, newBj BinaryJSON)
tidbparser/dependency/types/json/binary_functions.go:349
↓ 1 callersFunctionisIdentFirstChar
(ch rune)
tidbparser/parser/misc.go:39
↓ 1 callersFunctionisSpace
(c byte)
tidbparser/dependency/types/helper.go:95
↓ 1 callersMethodisTokenIdentifier
(lit string, offset int)
tidbparser/parser/misc.go:548
↓ 1 callersMethodmarshalArrayTo
(buf []byte)
tidbparser/dependency/types/json/binary.go:243
↓ 1 callersMethodmarshalFloat64To
(buf []byte)
tidbparser/dependency/types/json/binary.go:211
↓ 1 callersMethodmarshalObjTo
(buf []byte)
tidbparser/dependency/types/json/binary.go:259
↓ 1 callersFunctionmatchDateWithToken
(t *MysqlTime, date string, token string, ctx map[string]int)
tidbparser/dependency/types/time.go:2159
↓ 1 callersFunctionmaxDecimal
(precision, frac int, to *MyDecimal)
tidbparser/dependency/types/mydecimal.go:1666
↓ 1 callersFunctionmergeBinaryArray
(elems []BinaryJSON)
tidbparser/dependency/types/json/binary_functions.go:623
↓ 1 callersFunctionmergeBinaryObject
(objects []BinaryJSON)
tidbparser/dependency/types/json/binary_functions.go:639
↓ 1 callersFunctionmergeEvalType
(lhs, rhs EvalType, lft, rft *FieldType, isLHSUnsigned, isRHSUnsigned bool)
tidbparser/dependency/types/field_type.go:124
↓ 1 callersFunctionmixDateAndTime
mixDateAndTime mixes a date value and a time value.
tidbparser/dependency/types/mytime.go:290
↓ 1 callersFunctionmysqlTimeFix
mysqlTimeFix fixes the MysqlTime use the values in the context.
tidbparser/dependency/types/time.go:1970
↓ 1 callersFunctionnewInvalidModeErr
(s string)
tidbparser/dependency/mysql/const.go:21
↓ 1 callersMethodobjectSearchKey
(key []byte)
tidbparser/dependency/types/json/binary_functions.go:215
↓ 1 callersFunctionparseDatetime
See https://dev.mysql.com/doc/refman/5.7/en/date-and-time-literals.html.
tidbparser/dependency/types/time.go:575
↓ 1 callersFunctionparseOrdinalNumbers
(input string)
tidbparser/dependency/types/time.go:2441
↓ 1 callersMethodpatternIn
(x *PatternInExpr)
tidbparser/ast/flag.go:107
↓ 1 callersMethodpatternLike
(x *PatternLikeExpr)
tidbparser/ast/flag.go:118
↓ 1 callersMethodpatternRegexp
(x *PatternRegexpExpr)
tidbparser/ast/flag.go:126
↓ 1 callersFunctionpeekBytes
(b []byte, reverse bool)
tidbparser/dependency/util/codec/codec.go:429
↓ 1 callersFunctionpeekCompactBytes
(b []byte)
tidbparser/dependency/util/codec/codec.go:453
↓ 1 callersFunctionpeekUvarint
(b []byte)
tidbparser/dependency/util/codec/codec.go:476
↓ 1 callersFunctionpeekVarint
(b []byte)
tidbparser/dependency/util/codec/codec.go:468
↓ 1 callersMethodpopOneLeg
popOneLeg returns a pathLeg, and a child PathExpression without that leg.
tidbparser/dependency/types/json/path_expr.go:95
↓ 1 callersFunctionreadTime
(buf []byte)
tidbparser/dependency/util/chunk/chunk.go:516
↓ 1 callersMethodrebuildTo
(buf []byte)
tidbparser/dependency/types/json/binary_functions.go:467
↓ 1 callersMethodremove
(path PathExpression)
tidbparser/dependency/types/json/binary_functions.go:409
↓ 1 callersMethodreplace
(path PathExpression, newBj BinaryJSON)
tidbparser/dependency/types/json/binary_functions.go:338
↓ 1 callersMethodreset
reset resets the sql string to be scanned.
tidbparser/parser/lexer.go:92
↓ 1 callersMethodreset
()
tidbparser/dependency/util/chunk/chunk.go:333
↓ 1 callersMethodrow
(x *RowExpr)
tidbparser/ast/flag.go:134
↓ 1 callersFunctionsafeReverseBytes
(b []byte)
tidbparser/dependency/util/codec/bytes.go:178
↓ 1 callersMethodscan
()
tidbparser/parser/lexer.go:201
↓ 1 callersMethodscanBindVar
()
sqlparser/token.go:543
↓ 1 callersMethodscanCommentType2
()
sqlparser/token.go:660
↓ 1 callersMethodscanHex
()
sqlparser/token.go:499
↓ 1 callersMethodscanIdentifier
(firstByte byte)
sqlparser/token.go:480
↓ 1 callersMethodscanLiteralIdentifier
()
sqlparser/token.go:512
↓ 1 callersMethodscanOct
()
tidbparser/parser/lexer.go:626
↓ 1 callersMethodscanString
()
tidbparser/parser/lexer.go:511
↓ 1 callersMethodscanString
(delim uint16, typ int)
sqlparser/token.go:617
↓ 1 callersMethodset
(path PathExpression, newBj BinaryJSON)
tidbparser/dependency/types/json/binary_functions.go:326
↓ 1 callersFunctionsetParseTree
line ./go/vt/sqlparser/sql.y:18
sqlparser/sql.go:7
↓ 1 callersMethodskipBlank
()
sqlparser/token.go:472
↓ 1 callersMethodspecialFormatArgs
specialFormatArgs formats argument list for some special functions.
tidbparser/ast/functions.go:330
↓ 1 callersFunctionsplitDateTime
See https://dev.mysql.com/doc/refman/5.7/en/date-and-time-literals.html. The only delimiter recognized between a date and time part and a fractional s
tidbparser/dependency/types/time.go:564
↓ 1 callersFunctionstrToDate
strToDate converts date string according to format, returns true on success, the value will be stored in argument t or ctx.
tidbparser/dependency/types/time.go:1999
↓ 1 callersFunctionstrToInt
strToInt converts a string to an integer in best effort. TODO: handle overflow and add unittest.
tidbparser/dependency/types/helper.go:133
↓ 1 callersMethodstringSize
()
tidbparser/dependency/types/mydecimal.go:198
↓ 1 callersFunctionsub2
sub2 subtracts b and carry from a, returns the diff and new carry. the new carry may be 2.
tidbparser/dependency/types/mydecimal.go:102
↓ 1 callersFunctiontimeToUint64
timeToUint64 converts time value to integer in HHMMSS format.
tidbparser/dependency/types/mytime.go:173
↓ 1 callersFunctiontimestampDiff
(intervalType string, t1 MysqlTime, t2 MysqlTime)
tidbparser/dependency/types/mytime.go:373
↓ 1 callersFunctiontoBit
See https://dev.mysql.com/doc/refman/5.7/en/bit-type.html
tidbparser/parser/yy_parser.go:224
↓ 1 callersFunctiontoFloat
(l yyLexer, lval *yySymType, str string)
tidbparser/parser/yy_parser.go:201
← previousnext →601–700 of 1,509, ranked by callers