MCPcopy Create free account

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

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

MethodAccept
Accept implements Node Accept interface.
tidbparser/ast/misc.go:690
MethodAccept
Accept implements Node Accept interface.
tidbparser/ast/misc.go:729
MethodAccept
Accept implements Node Accept interface.
tidbparser/ast/misc.go:779
MethodAccept
Accept implements Node interface.
tidbparser/ast/functions.go:349
MethodAccept
Accept implements Node Accept interface.
tidbparser/ast/functions.go:409
MethodAccept
Accept implements Node Accept interface.
tidbparser/ast/functions.go:493
MethodAction
Action logs a warning only once when memory usage exceeds memory quota.
tidbparser/dependency/util/memory/action.go:38
MethodAction
Action panics when when memory usage exceeds memory quota.
tidbparser/dependency/util/memory/action.go:54
MethodAdd
Add adds d to d, returns a duration value.
tidbparser/dependency/types/time.go:758
MethodAdd
Add adds a chunk to the List, the chunk may be modified later by the list. Caller must make sure the input chk is not empty and not used any more and
tidbparser/dependency/util/chunk/list.go:93
MethodAddAffectedRows
AddAffectedRows adds affected rows.
tidbparser/dependency/sessionctx/stmtctx/stmtctx.go:60
MethodAddFoundRows
AddFoundRows adds found rows.
tidbparser/dependency/sessionctx/stmtctx/stmtctx.go:83
MethodAddHaving
AddHaving adds the boolean expression to the HAVING clause as an AND condition. If the expression is an OR clause, it parenthesizes it. Currently, the
sqlparser/ast.go:270
FunctionAddInteger
AddInteger adds uint64 a and int64 b and returns uint64 if no overflow error.
tidbparser/dependency/types/overflow.go:42
MethodAddOrder
(*Order)
sqlparser/ast.go:162
MethodAddOrder
AddOrder adds an order by element
sqlparser/ast.go:206
MethodAddOrder
AddOrder adds an order by element
sqlparser/ast.go:294
MethodAddOrder
AddOrder adds an order by element
sqlparser/ast.go:336
MethodAddWhere
AddWhere adds the boolean expression to the WHERE clause as an AND condition. If the expression is an OR clause, it parenthesizes it. Currently, the O
sqlparser/ast.go:247
MethodAffectedRows
AffectedRows gets affected rows.
tidbparser/dependency/sessionctx/stmtctx/stmtctx.go:67
FunctionAggFieldType
AggFieldType aggregates field types for a multi-argument function like `IF`, `IFNULL`, `COALESCE` whose return type is determined by the arguments' Fi
tidbparser/dependency/types/field_type.go:77
FunctionAggregateEvalType
AggregateEvalType aggregates arguments' EvalType of a multi-argument function.
tidbparser/dependency/types/field_type.go:92
MethodAppend
Append appends rows in [begin, end) in another Chunk to a Chunk.
tidbparser/dependency/util/chunk/chunk.go:182
MethodAppendDatum
AppendDatum appends a datum into the chunk.
tidbparser/dependency/util/chunk/chunk.go:291
MethodAppendRow
AppendRow appends a row to the chunk.
tidbparser/dependency/util/chunk/chunk.go:158
MethodAppendRow
AppendRow appends a row to the List, the row is copied to the List.
tidbparser/dependency/util/chunk/list.go:73
MethodAppendString
AppendString appends a string value to the chunk.
tidbparser/dependency/util/chunk/chunk.go:250
MethodAttachTo
AttachTo attaches this memory tracker as a child to another Tracker. If it already has a parent, this function will remove it from the old parent. Its
tidbparser/dependency/util/memory/tracker.go:76
FunctionBacktick
Backtick produces a backticked literal given an input string.
sqlparser/ast.go:2597
MethodBegin
Begin resets the cursor of the iterator and returns the first Row.
tidbparser/dependency/util/chunk/iterator.go:30
MethodBegin
Begin implements the Iterator interface.
tidbparser/dependency/util/chunk/iterator.go:59
MethodBegin
Begin implements the Iterator interface.
tidbparser/dependency/util/chunk/iterator.go:113
MethodBegin
Begin implements the Iterator interface.
tidbparser/dependency/util/chunk/iterator.go:167
MethodBegin
Begin implements the Iterator interface.
tidbparser/dependency/util/chunk/iterator.go:239
FunctionBuildParsedQuery
BuildParsedQuery builds a ParsedQuery from the input.
sqlparser/tracked_buffer.go:132
FunctionCall
Call executes a function and checks the returned err.
tidbparser/dependency/terror/terror.go:331
FunctionCheckScrambledPassword
CheckScrambledPassword check scrambled password received from client. The new authentication is performed in following manner: SERVER: public_seed=cr
tidbparser/dependency/util/auth/auth.go:53
MethodClass
Class returns ErrClass
tidbparser/dependency/terror/terror.go:161
MethodClean
Clean cleans history information.
tidbparser/dependency/model/ddl.go:99
MethodClone
Clone clones ColumnInfo.
tidbparser/dependency/model/model.go:77
MethodClone
Clone clones TableInfo.
tidbparser/dependency/model/model.go:140
MethodClone
Clone clones IndexColumn.
tidbparser/dependency/model/model.go:233
MethodClone
Clone clones IndexInfo.
tidbparser/dependency/model/model.go:276
MethodClone
Clone clones DBInfo.
tidbparser/dependency/model/model.go:330
MethodCode
Code returns ErrCode
tidbparser/dependency/terror/terror.go:166
FunctionCoerceDatum
CoerceDatum changes type. If a or b is Float, changes the both to Float. Else if a or b is Decimal, changes the both to Decimal. Else if a or b is Uin
tidbparser/dependency/types/datum.go:1558
MethodCollation
Collation gets the collation of the datum.
tidbparser/dependency/types/datum.go:91
MethodCols
Cols returns the columns of the table in public state.
tidbparser/dependency/model/model.go:185
MethodColumnCount
ColumnCount returns column count for the sub query.
tidbparser/ast/expressions.go:323
MethodColumnIsInIndex
ColumnIsInIndex checks whether c is included in any indices of t.
tidbparser/dependency/model/model.go:211
MethodCompare
Compare compares one decimal to another, returns -1/0/1.
tidbparser/dependency/types/mydecimal.go:1363
MethodCompareString
CompareString is like Compare, but parses string to Time then compares.
tidbparser/dependency/types/time.go:323
MethodCompareString
CompareString is like Compare, but parses str to Duration then compares.
tidbparser/dependency/types/time.go:889
MethodCompliantName
CompliantName returns a compliant id name that can be used for a bind var.
sqlparser/ast.go:2497
MethodCompliantName
CompliantName returns a compliant id name that can be used for a bind var.
sqlparser/ast.go:2576
MethodConvertTo
ConvertTo converts a datum to the target field type.
tidbparser/dependency/types/datum.go:656
MethodCopy
Copy deep copies a DatumRow.
tidbparser/dependency/types/row.go:71
MethodCopy
Copy makes a copy of the BinaryJSON
tidbparser/dependency/types/json/binary.go:116
FunctionCopyDatum
CopyDatum returns a new copy of the datum. TODO: Abandon this function.
tidbparser/dependency/types/datum.go:1800
MethodCurrent
Current returns the current Row.
tidbparser/dependency/util/chunk/iterator.go:42
MethodCurrent
Current implements the Iterator interface.
tidbparser/dependency/util/chunk/iterator.go:79
MethodCurrent
Current implements the Iterator interface.
tidbparser/dependency/util/chunk/iterator.go:133
MethodCurrent
Current implements the Iterator interface.
tidbparser/dependency/util/chunk/iterator.go:200
MethodCurrent
Current implements the Iterator interface.
tidbparser/dependency/util/chunk/iterator.go:259
FunctionCurrentTime
CurrentTime returns current time with type tp.
tidbparser/dependency/types/time.go:181
FunctionCutOne
CutOne cuts the first encoded value from b. It will return the first encoded item and the remains as byte slice.
tidbparser/dependency/util/codec/codec.go:372
FunctionDateDiff
DateDiff calculates number of days between two days.
tidbparser/dependency/types/mytime.go:196
FunctionDateFSP
DateFSP gets fsp from date string.
tidbparser/dependency/types/time.go:2471
FunctionDatumsToString
DatumsToString converts several datums to formatted string.
tidbparser/dependency/types/datum.go:1781
FunctionDecimalAdd
DecimalAdd adds two decimals, sets the result to 'to'.
tidbparser/dependency/types/mydecimal.go:1376
FunctionDecimalDiv
DecimalDiv does division of two decimals. from1 - dividend from2 - divisor to - quotient fracIncr - increment of fraction
tidbparser/dependency/types/mydecimal.go:1842
FunctionDecimalMod
* DecimalMod does modulus of two decimals. from1 - dividend from2 - divisor to - modulus RETURN VALUE E_DEC_OK/E_DE
tidbparser/dependency/types/mydecimal.go:1871
FunctionDecimalMul
* DecimalMul multiplies two decimals. from1, from2 - factors to - product RETURN VALUE E_DEC_OK/E_DEC_TRUNCATED/E_DEC_OVERFLO
tidbparser/dependency/types/mydecimal.go:1714
FunctionDecimalSub
DecimalSub subs one decimal from another, sets the result to 'to'.
tidbparser/dependency/types/mydecimal.go:1386
FunctionDecode
Decode decodes values from a byte slice generated with EncodeKey or EncodeValue before. size is the size of decoded datum slice.
tidbparser/dependency/util/codec/codec.go:277
MethodDecodeArgs
DecodeArgs decodes job args.
tidbparser/dependency/model/ddl.go:200
FunctionDecodeBytesDesc
DecodeBytesDesc decodes bytes which is encoded by EncodeBytesDesc before, returns the leftover bytes and decoded value if no error.
tidbparser/dependency/util/codec/bytes.go:134
FunctionDecodeComparableUvarint
DecodeComparableUvarint decodes mem-comparable uvarint.
tidbparser/dependency/util/codec/number.go:231
FunctionDecodeComparableVarint
DecodeComparableVarint decodes mem-comparable varint.
tidbparser/dependency/util/codec/number.go:255
FunctionDecodeFloatDesc
DecodeFloatDesc decodes a float from a byte slice generated with EncodeFloatDesc before.
tidbparser/dependency/util/codec/float.go:62
FunctionDecodeIntDesc
DecodeIntDesc decodes value encoded by EncodeInt before. It returns the leftover un-decoded slice, decoded value if no error.
tidbparser/dependency/util/codec/number.go:68
FunctionDecodeOneToChunk
DecodeOneToChunk decodes one value to chunk and returns the remained bytes.
tidbparser/dependency/util/codec/codec.go:485
FunctionDecodePassword
DecodePassword converts hex string password without prefix '*' to byte array.
tidbparser/dependency/util/auth/auth.go:88
FunctionDefaultCharsetForType
DefaultCharsetForType returns the default charset/collation for mysql type.
tidbparser/dependency/types/field_type.go:455
FunctionDefaultParamTypeForValue
DefaultParamTypeForValue returns the default FieldType for the parameterized value.
tidbparser/dependency/types/field_type.go:327
FunctionDivInt64
DivInt64 divides int64 a with b, returns int64 if no overflow error. It just checks overflow, if b is zero, a "divide by zero" panic throws.
tidbparser/dependency/types/overflow.go:155
FunctionDivIntWithUint
DivIntWithUint divides int64 a with uint64 b, returns uint64 if no overflow error. It just checks overflow, if b is zero, a "divide by zero" panic thr
tidbparser/dependency/types/overflow.go:179
FunctionDivUintWithInt
DivUintWithInt divides uint64 a with int64 b, returns uint64 if no overflow error. It just checks overflow, if b is zero, a "divide by zero" panic thr
tidbparser/dependency/types/overflow.go:165
FunctionEOFAsNil
EOFAsNil filtrates errors, If err is equal to io.EOF returns nil.
tidbparser/dependency/types/etc.go:161
MethodEncode
Encode encodes job with json format. updateRawArgs is used to determine whether to update the raw args.
tidbparser/dependency/model/ddl.go:175
MethodEncodeASCII
EncodeASCII encodes the value using 7-bit clean ascii bytes.
sqltypes/value.go:167
FunctionEncodeBytesDesc
EncodeBytesDesc first encodes bytes using EncodeBytes, then bitwise reverses encoded value to guarantee the encoded value is in descending order for c
tidbparser/dependency/util/codec/bytes.go:125
FunctionEncodeComparableVarint
EncodeComparableVarint encodes an int64 to a mem-comparable bytes.
tidbparser/dependency/util/codec/number.go:168
FunctionEncodeFloatDesc
EncodeFloatDesc encodes a float v into a byte slice which can be sorted lexicographically later. EncodeFloatDesc guarantees that the encoded value is
tidbparser/dependency/util/codec/float.go:56
FunctionEncodeIntDesc
EncodeIntDesc appends the encoded value to slice b and returns the appended slice. EncodeIntDesc guarantees that the encoded value is in descending or
tidbparser/dependency/util/codec/number.go:46
FunctionEncodeKey
EncodeKey appends the encoded values to byte slice b, returns the appended slice. It guarantees the encoded value is in ascending order for comparison
tidbparser/dependency/util/codec/codec.go:166
MethodEncodeSQL
EncodeSQL encodes the value into an SQL statement. Can be binary.
sqltypes/value.go:153
MethodEncodeSQL
EncodeSQL performs the SQL encoding for InsertValues.
sqlparser/encodable.go:38
MethodEncodeSQL
EncodeSQL generates the where clause constraints for the tuple equality.
sqlparser/encodable.go:63
FunctionEncodeValue
EncodeValue appends the encoded values to byte slice b, returning the appended slice. It does not guarantee the order for comparison.
tidbparser/dependency/util/codec/codec.go:172
← previousnext →801–900 of 1,509, ranked by callers