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
Format
Format formats the node.
sqlparser/ast.go:1971
Method
Format
Format formats the node
sqlparser/ast.go:2032
Method
Format
Format formats the node.
sqlparser/ast.go:2055
Method
Format
Format formats the node.
sqlparser/ast.go:2086
Method
Format
Format formats the node.
sqlparser/ast.go:2109
Method
Format
Format formats the node.
sqlparser/ast.go:2139
Method
Format
Format formats the node
sqlparser/ast.go:2174
Method
Format
Format formats the node.
sqlparser/ast.go:2198
Method
Format
Format formats the node.
sqlparser/ast.go:2235
Method
Format
Format formats the node.
sqlparser/ast.go:2251
Method
Format
Format formats the node.
sqlparser/ast.go:2271
Method
Format
Format formats the node.
sqlparser/ast.go:2293
Method
Format
Format formats the node.
sqlparser/ast.go:2324
Method
Format
Format formats the node.
sqlparser/ast.go:2349
Method
Format
Format formats the node.
sqlparser/ast.go:2376
Method
Format
Format formats the node.
sqlparser/ast.go:2398
Method
Format
Format formats the node.
sqlparser/ast.go:2423
Method
Format
Format formats the node.
sqlparser/ast.go:2443
Method
Format
Format formats the node.
sqlparser/ast.go:2473
Method
Format
Format formats the node.
sqlparser/ast.go:2552
Function
FormatSQLModeStr
FormatSQLModeStr re-format 'SQL_MODE' variable.
tidbparser/dependency/mysql/const.go:508
Method
FoundRows
FoundRows gets found rows.
tidbparser/dependency/sessionctx/stmtctx/stmtctx.go:75
Function
GenerateParsedQuery
GenerateParsedQuery returns a ParsedQuery of the ast.
sqlparser/ast.go:127
Function
GetAllCharsets
GetAllCharsets gets all charset descriptions in the local charsets.
tidbparser/dependency/util/charset/charset.go:75
Method
GetBytes
GetBytes implements Row interface.
tidbparser/dependency/types/row.go:110
Function
GetCharsetDesc
GetCharsetDesc gets charset descriptions in the local charsets.
tidbparser/dependency/util/charset/charset.go:141
Function
GetCharsetInfoByID
GetCharsetInfoByID returns charset and collation for id as cs_number.
tidbparser/dependency/util/charset/charset.go:156
Function
GetCollations
GetCollations returns a list for all collations.
tidbparser/dependency/util/charset/charset.go:169
Function
GetCompareFunc
GetCompareFunc gets a compare function for the field type.
tidbparser/dependency/util/chunk/compare.go:29
Method
GetDBID
GetDBID returns the schema ID that is used to create an allocator. TODO: Remove it after removing OldSchemaID.
tidbparser/dependency/model/model.go:132
Method
GetDatum
GetDatum implements ExprNode interface.
tidbparser/ast/base.go:76
Method
GetDatum
GetDatum returns a Datum with the colIdx and field type. This method is provided for convenience, direct type methods are preferred for better perform
tidbparser/dependency/types/row.go:61
Method
GetDatum
GetDatum implements Row interface.
tidbparser/dependency/types/row.go:145
Method
GetDatumRow
GetDatumRow converts chunk.Row to types.DatumRow. Keep in mind that GetDatumRow has a reference to r.c, which is a chunk, this function works only if
tidbparser/dependency/util/chunk/chunk.go:578
Method
GetDigitsFrac
GetDigitsFrac returns the digitsFrac.
tidbparser/dependency/types/mydecimal.go:186
Method
GetDuration
GetDuration implements Row interface.
tidbparser/dependency/types/row.go:120
Method
GetEnum
GetEnum implements Row interface.
tidbparser/dependency/types/row.go:125
Method
GetFlag
GetFlag implements ExprNode interface.
tidbparser/ast/base.go:96
Method
GetFloat32
GetFloat32 implements Row interface.
tidbparser/dependency/types/row.go:95
Method
GetFloat64
GetFloat64 implements Row interface.
tidbparser/dependency/types/row.go:100
Function
GetFormatType
GetFormatType checks the type(Duration, Date or Datetime) of a format string.
tidbparser/dependency/types/time.go:2117
Method
GetInt64
GetInt64 implements Row interface.
tidbparser/dependency/types/row.go:85
Method
GetJSON
GetJSON implements Row interface.
tidbparser/dependency/types/row.go:140
Function
GetLocaleFormatFunction
GetLocaleFormatFunction get the format function for sepcific locale.
tidbparser/dependency/mysql/const.go:602
Method
GetMemTracker
GetMemTracker returns the memory tracker of this List.
tidbparser/dependency/util/chunk/list.go:53
Method
GetMyDecimal
GetMyDecimal implements Row interface.
tidbparser/dependency/types/row.go:135
Method
GetMysqlBit
GetMysqlBit gets MysqlBit value
tidbparser/dependency/types/datum.go:225
Method
GetPkColInfo
GetPkColInfo gets the ColumnInfo of pk if exists. Make sure PkIsHandle checked before call this method.
tidbparser/dependency/model/model.go:175
Method
GetPkName
GetPkName will return the pk name if pk exists.
tidbparser/dependency/model/model.go:162
Method
GetRaw
GetRaw gets raw value.
tidbparser/dependency/types/datum.go:320
Function
GetSQLMode
GetSQLMode gets the sql mode for string literal. SQL_mode is a list of different modes separated by commas. The input string must be formatted by 'For
tidbparser/dependency/mysql/const.go:535
Method
GetSet
GetSet implements Row interface.
tidbparser/dependency/types/row.go:130
Function
GetStack
GetStack gets the stacktrace.
tidbparser/dependency/util/misc.go:49
Method
GetString
GetString implements Row interface.
tidbparser/dependency/types/row.go:105
Method
GetString
GetString returns the string value with the colIdx.
tidbparser/dependency/util/chunk/chunk.go:496
Method
GetTime
GetTime implements Row interface.
tidbparser/dependency/types/row.go:115
Method
GetType
GetType implements ExprNode interface.
tidbparser/ast/base.go:86
Method
GetUint64
GetUint64 implements Row interface.
tidbparser/dependency/types/row.go:90
Method
GetUpdateTime
GetUpdateTime gets the table's updating time.
tidbparser/dependency/model/model.go:126
Method
GetWarnings
GetWarnings gets warnings.
tidbparser/dependency/sessionctx/stmtctx/stmtctx.go:90
Function
HasAggFlag
HasAggFlag checks if the expr contains FlagHasAggregateFunc.
tidbparser/ast/flag.go:17
Function
HasAutoIncrementFlag
HasAutoIncrementFlag checks if AutoIncrementFlag is set.
tidbparser/dependency/mysql/type.go:97
Method
HasBindVars
HasBindVars returns true if the parsed query uses bind vars.
sqlparser/tracked_buffer.go:127
Method
HasErrorForDivisionByZeroMode
HasErrorForDivisionByZeroMode detects if 'ERROR_FOR_DIVISION_BY_ZERO' mode is set in SQLMode
tidbparser/dependency/mysql/const.go:416
Function
HasIsBooleanFlag
HasIsBooleanFlag checks if IsBooleanFlag is set.
tidbparser/dependency/mysql/type.go:147
Function
HasMultipleKeyFlag
HasMultipleKeyFlag checks if MultipleKeyFlag is set.
tidbparser/dependency/mysql/type.go:127
Function
HasNoDefaultValueFlag
HasNoDefaultValueFlag checks if NoDefaultValueFlag is set.
tidbparser/dependency/mysql/type.go:92
Method
HasNoUnsignedSubtractionMode
HasNoUnsignedSubtractionMode detects if 'NO_UNSIGNED_SUBTRACTION' mode is set in SQLMode
tidbparser/dependency/mysql/const.go:436
Method
HasNoZeroDateMode
HasNoZeroDateMode detects if 'NO_ZERO_DATE' mode is set in SQLMode
tidbparser/dependency/mysql/const.go:406
Method
HasNoZeroInDateMode
HasNoZeroInDateMode detects if 'NO_ZERO_IN_DATE' mode is set in SQLMode
tidbparser/dependency/mysql/const.go:411
Function
HasNotNullFlag
HasNotNullFlag checks if NotNullFlag is set.
tidbparser/dependency/mysql/type.go:87
Function
HasOnUpdateNowFlag
HasOnUpdateNowFlag checks if OnUpdateNowFlag is set.
tidbparser/dependency/mysql/type.go:137
Method
HasOnlyFullGroupBy
HasOnlyFullGroupBy detects if 'ONLY_FULL_GROUP_BY' mode is set in SQLMode
tidbparser/dependency/mysql/const.go:421
Method
HasPadCharToFullLengthMode
HasPadCharToFullLengthMode detects if 'PAD_CHAR_TO_FULL_LENGTH' mode is set in SQLMode
tidbparser/dependency/mysql/const.go:456
Function
HasParseToJSONFlag
HasParseToJSONFlag checks if ParseToJSONFlag is set.
tidbparser/dependency/mysql/type.go:142
Method
HasPrefixIndex
HasPrefixIndex returns whether any columns of this index uses prefix length.
tidbparser/dependency/model/model.go:286
Method
HasStrictMode
HasStrictMode detects if 'STRICT_TRANS_TABLES' or 'STRICT_ALL_TABLES' mode is set in SQLMode
tidbparser/dependency/mysql/const.go:426
Function
HasTimestampFlag
HasTimestampFlag checks if HasTimestampFlag is set.
tidbparser/dependency/mysql/type.go:132
Function
HasUniKeyFlag
HasUniKeyFlag checks if UniqueKeyFlag is set.
tidbparser/dependency/mysql/type.go:122
Function
HashChunkRow
HashChunkRow appends the encoded values to byte slice "b", returning the appended slice. If two rows are equal, it will generate the same bytes.
tidbparser/dependency/util/codec/codec.go:270
Function
HashValues
HashValues appends the encoded values to byte slice b, returning the appended slice. If two datums are equal, they will generate the same bytes.
tidbparser/dependency/util/codec/codec.go:264
Method
HexDecode
HexDecode decodes the hexval into bytes.
sqlparser/ast.go:1707
Method
HistogramsNotLoad
HistogramsNotLoad gets histogramsNotLoad.
tidbparser/dependency/sessionctx/stmtctx/stmtctx.go:133
Method
Hybrid
Hybrid checks whether a type is a hybrid type, which can represent different types of value in specific context.
tidbparser/dependency/types/field_type.go:176
Method
Idx
Idx returns the row index of Chunk.
tidbparser/dependency/util/chunk/chunk.go:462
Method
InfoSchemaStr
InfoSchemaStr joins the CompactStr with unsigned flag and returns a string.
tidbparser/dependency/types/field_type.go:244
Method
Init
Init initializes the FieldType data.
tidbparser/dependency/types/field_type.go:181
Function
InvOp2
InvOp2 returns an invalid operation error.
tidbparser/dependency/types/etc.go:169
Method
InvalidZero
InvalidZero returns a boolean indicating whether the month or day is zero.
tidbparser/dependency/types/time.go:223
Method
IsAggregate
IsAggregate returns true if the function is an aggregate.
sqlparser/ast.go:2019
Function
IsBinary
IsBinary returns true if querypb.Type is a binary.
sqltypes/type.go:79
Method
IsCancelled
IsCancelled returns whether the job is cancelled or not.
tidbparser/dependency/model/ddl.go:220
Method
IsCancelling
IsCancelling returns whether the job is cancelling or not.
tidbparser/dependency/model/ddl.go:230
Function
IsClockUnit
IsClockUnit returns true when unit is interval unit with hour, minute or second.
tidbparser/dependency/types/time.go:1752
Function
IsDateFormat
IsDateFormat returns true when the specified time format could contain only date.
tidbparser/dependency/types/time.go:1765
Method
IsDone
IsDone returns whether job is done.
tidbparser/dependency/model/ddl.go:240
Method
IsEmpty
IsEmpty returns true if TabIdent is empty.
sqlparser/ast.go:2562
Method
IsFinished
IsFinished returns whether job is finished or not. If the job state is Done or Cancelled, it is finished.
tidbparser/dependency/model/ddl.go:215
Method
IsGenerated
IsGenerated returns true if the column is generated column.
tidbparser/dependency/model/model.go:83
Function
IsIntegerType
IsIntegerType indicate whether tp is an integer type.
tidbparser/dependency/mysql/util.go:52
← previous
next →
1,001–1,100 of 1,509, ranked by callers