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
Accept
Accept implements Node Accept interface.
tidbparser/ast/misc.go:690
Method
Accept
Accept implements Node Accept interface.
tidbparser/ast/misc.go:729
Method
Accept
Accept implements Node Accept interface.
tidbparser/ast/misc.go:779
Method
Accept
Accept implements Node interface.
tidbparser/ast/functions.go:349
Method
Accept
Accept implements Node Accept interface.
tidbparser/ast/functions.go:409
Method
Accept
Accept implements Node Accept interface.
tidbparser/ast/functions.go:493
Method
Action
Action logs a warning only once when memory usage exceeds memory quota.
tidbparser/dependency/util/memory/action.go:38
Method
Action
Action panics when when memory usage exceeds memory quota.
tidbparser/dependency/util/memory/action.go:54
Method
Add
Add adds d to d, returns a duration value.
tidbparser/dependency/types/time.go:758
Method
Add
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
Method
AddAffectedRows
AddAffectedRows adds affected rows.
tidbparser/dependency/sessionctx/stmtctx/stmtctx.go:60
Method
AddFoundRows
AddFoundRows adds found rows.
tidbparser/dependency/sessionctx/stmtctx/stmtctx.go:83
Method
AddHaving
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
Function
AddInteger
AddInteger adds uint64 a and int64 b and returns uint64 if no overflow error.
tidbparser/dependency/types/overflow.go:42
Method
AddOrder
(*Order)
sqlparser/ast.go:162
Method
AddOrder
AddOrder adds an order by element
sqlparser/ast.go:206
Method
AddOrder
AddOrder adds an order by element
sqlparser/ast.go:294
Method
AddOrder
AddOrder adds an order by element
sqlparser/ast.go:336
Method
AddWhere
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
Method
AffectedRows
AffectedRows gets affected rows.
tidbparser/dependency/sessionctx/stmtctx/stmtctx.go:67
Function
AggFieldType
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
Function
AggregateEvalType
AggregateEvalType aggregates arguments' EvalType of a multi-argument function.
tidbparser/dependency/types/field_type.go:92
Method
Append
Append appends rows in [begin, end) in another Chunk to a Chunk.
tidbparser/dependency/util/chunk/chunk.go:182
Method
AppendDatum
AppendDatum appends a datum into the chunk.
tidbparser/dependency/util/chunk/chunk.go:291
Method
AppendRow
AppendRow appends a row to the chunk.
tidbparser/dependency/util/chunk/chunk.go:158
Method
AppendRow
AppendRow appends a row to the List, the row is copied to the List.
tidbparser/dependency/util/chunk/list.go:73
Method
AppendString
AppendString appends a string value to the chunk.
tidbparser/dependency/util/chunk/chunk.go:250
Method
AttachTo
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
Function
Backtick
Backtick produces a backticked literal given an input string.
sqlparser/ast.go:2597
Method
Begin
Begin resets the cursor of the iterator and returns the first Row.
tidbparser/dependency/util/chunk/iterator.go:30
Method
Begin
Begin implements the Iterator interface.
tidbparser/dependency/util/chunk/iterator.go:59
Method
Begin
Begin implements the Iterator interface.
tidbparser/dependency/util/chunk/iterator.go:113
Method
Begin
Begin implements the Iterator interface.
tidbparser/dependency/util/chunk/iterator.go:167
Method
Begin
Begin implements the Iterator interface.
tidbparser/dependency/util/chunk/iterator.go:239
Function
BuildParsedQuery
BuildParsedQuery builds a ParsedQuery from the input.
sqlparser/tracked_buffer.go:132
Function
Call
Call executes a function and checks the returned err.
tidbparser/dependency/terror/terror.go:331
Function
CheckScrambledPassword
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
Method
Class
Class returns ErrClass
tidbparser/dependency/terror/terror.go:161
Method
Clean
Clean cleans history information.
tidbparser/dependency/model/ddl.go:99
Method
Clone
Clone clones ColumnInfo.
tidbparser/dependency/model/model.go:77
Method
Clone
Clone clones TableInfo.
tidbparser/dependency/model/model.go:140
Method
Clone
Clone clones IndexColumn.
tidbparser/dependency/model/model.go:233
Method
Clone
Clone clones IndexInfo.
tidbparser/dependency/model/model.go:276
Method
Clone
Clone clones DBInfo.
tidbparser/dependency/model/model.go:330
Method
Code
Code returns ErrCode
tidbparser/dependency/terror/terror.go:166
Function
CoerceDatum
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
Method
Collation
Collation gets the collation of the datum.
tidbparser/dependency/types/datum.go:91
Method
Cols
Cols returns the columns of the table in public state.
tidbparser/dependency/model/model.go:185
Method
ColumnCount
ColumnCount returns column count for the sub query.
tidbparser/ast/expressions.go:323
Method
ColumnIsInIndex
ColumnIsInIndex checks whether c is included in any indices of t.
tidbparser/dependency/model/model.go:211
Method
Compare
Compare compares one decimal to another, returns -1/0/1.
tidbparser/dependency/types/mydecimal.go:1363
Method
CompareString
CompareString is like Compare, but parses string to Time then compares.
tidbparser/dependency/types/time.go:323
Method
CompareString
CompareString is like Compare, but parses str to Duration then compares.
tidbparser/dependency/types/time.go:889
Method
CompliantName
CompliantName returns a compliant id name that can be used for a bind var.
sqlparser/ast.go:2497
Method
CompliantName
CompliantName returns a compliant id name that can be used for a bind var.
sqlparser/ast.go:2576
Method
ConvertTo
ConvertTo converts a datum to the target field type.
tidbparser/dependency/types/datum.go:656
Method
Copy
Copy deep copies a DatumRow.
tidbparser/dependency/types/row.go:71
Method
Copy
Copy makes a copy of the BinaryJSON
tidbparser/dependency/types/json/binary.go:116
Function
CopyDatum
CopyDatum returns a new copy of the datum. TODO: Abandon this function.
tidbparser/dependency/types/datum.go:1800
Method
Current
Current returns the current Row.
tidbparser/dependency/util/chunk/iterator.go:42
Method
Current
Current implements the Iterator interface.
tidbparser/dependency/util/chunk/iterator.go:79
Method
Current
Current implements the Iterator interface.
tidbparser/dependency/util/chunk/iterator.go:133
Method
Current
Current implements the Iterator interface.
tidbparser/dependency/util/chunk/iterator.go:200
Method
Current
Current implements the Iterator interface.
tidbparser/dependency/util/chunk/iterator.go:259
Function
CurrentTime
CurrentTime returns current time with type tp.
tidbparser/dependency/types/time.go:181
Function
CutOne
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
Function
DateDiff
DateDiff calculates number of days between two days.
tidbparser/dependency/types/mytime.go:196
Function
DateFSP
DateFSP gets fsp from date string.
tidbparser/dependency/types/time.go:2471
Function
DatumsToString
DatumsToString converts several datums to formatted string.
tidbparser/dependency/types/datum.go:1781
Function
DecimalAdd
DecimalAdd adds two decimals, sets the result to 'to'.
tidbparser/dependency/types/mydecimal.go:1376
Function
DecimalDiv
DecimalDiv does division of two decimals. from1 - dividend from2 - divisor to - quotient fracIncr - increment of fraction
tidbparser/dependency/types/mydecimal.go:1842
Function
DecimalMod
* 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
Function
DecimalMul
* 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
Function
DecimalSub
DecimalSub subs one decimal from another, sets the result to 'to'.
tidbparser/dependency/types/mydecimal.go:1386
Function
Decode
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
Method
DecodeArgs
DecodeArgs decodes job args.
tidbparser/dependency/model/ddl.go:200
Function
DecodeBytesDesc
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
Function
DecodeComparableUvarint
DecodeComparableUvarint decodes mem-comparable uvarint.
tidbparser/dependency/util/codec/number.go:231
Function
DecodeComparableVarint
DecodeComparableVarint decodes mem-comparable varint.
tidbparser/dependency/util/codec/number.go:255
Function
DecodeFloatDesc
DecodeFloatDesc decodes a float from a byte slice generated with EncodeFloatDesc before.
tidbparser/dependency/util/codec/float.go:62
Function
DecodeIntDesc
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
Function
DecodeOneToChunk
DecodeOneToChunk decodes one value to chunk and returns the remained bytes.
tidbparser/dependency/util/codec/codec.go:485
Function
DecodePassword
DecodePassword converts hex string password without prefix '*' to byte array.
tidbparser/dependency/util/auth/auth.go:88
Function
DefaultCharsetForType
DefaultCharsetForType returns the default charset/collation for mysql type.
tidbparser/dependency/types/field_type.go:455
Function
DefaultParamTypeForValue
DefaultParamTypeForValue returns the default FieldType for the parameterized value.
tidbparser/dependency/types/field_type.go:327
Function
DivInt64
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
Function
DivIntWithUint
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
Function
DivUintWithInt
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
Function
EOFAsNil
EOFAsNil filtrates errors, If err is equal to io.EOF returns nil.
tidbparser/dependency/types/etc.go:161
Method
Encode
Encode encodes job with json format. updateRawArgs is used to determine whether to update the raw args.
tidbparser/dependency/model/ddl.go:175
Method
EncodeASCII
EncodeASCII encodes the value using 7-bit clean ascii bytes.
sqltypes/value.go:167
Function
EncodeBytesDesc
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
Function
EncodeComparableVarint
EncodeComparableVarint encodes an int64 to a mem-comparable bytes.
tidbparser/dependency/util/codec/number.go:168
Function
EncodeFloatDesc
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
Function
EncodeIntDesc
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
Function
EncodeKey
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
Method
EncodeSQL
EncodeSQL encodes the value into an SQL statement. Can be binary.
sqltypes/value.go:153
Method
EncodeSQL
EncodeSQL performs the SQL encoding for InsertValues.
sqlparser/encodable.go:38
Method
EncodeSQL
EncodeSQL generates the where clause constraints for the tuple equality.
sqlparser/encodable.go:63
Function
EncodeValue
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
← previous
next →
801–900 of 1,509, ranked by callers