MCPcopy Create free account

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

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

MethodFormat
Format formats the node.
sqlparser/ast.go:1971
MethodFormat
Format formats the node
sqlparser/ast.go:2032
MethodFormat
Format formats the node.
sqlparser/ast.go:2055
MethodFormat
Format formats the node.
sqlparser/ast.go:2086
MethodFormat
Format formats the node.
sqlparser/ast.go:2109
MethodFormat
Format formats the node.
sqlparser/ast.go:2139
MethodFormat
Format formats the node
sqlparser/ast.go:2174
MethodFormat
Format formats the node.
sqlparser/ast.go:2198
MethodFormat
Format formats the node.
sqlparser/ast.go:2235
MethodFormat
Format formats the node.
sqlparser/ast.go:2251
MethodFormat
Format formats the node.
sqlparser/ast.go:2271
MethodFormat
Format formats the node.
sqlparser/ast.go:2293
MethodFormat
Format formats the node.
sqlparser/ast.go:2324
MethodFormat
Format formats the node.
sqlparser/ast.go:2349
MethodFormat
Format formats the node.
sqlparser/ast.go:2376
MethodFormat
Format formats the node.
sqlparser/ast.go:2398
MethodFormat
Format formats the node.
sqlparser/ast.go:2423
MethodFormat
Format formats the node.
sqlparser/ast.go:2443
MethodFormat
Format formats the node.
sqlparser/ast.go:2473
MethodFormat
Format formats the node.
sqlparser/ast.go:2552
FunctionFormatSQLModeStr
FormatSQLModeStr re-format 'SQL_MODE' variable.
tidbparser/dependency/mysql/const.go:508
MethodFoundRows
FoundRows gets found rows.
tidbparser/dependency/sessionctx/stmtctx/stmtctx.go:75
FunctionGenerateParsedQuery
GenerateParsedQuery returns a ParsedQuery of the ast.
sqlparser/ast.go:127
FunctionGetAllCharsets
GetAllCharsets gets all charset descriptions in the local charsets.
tidbparser/dependency/util/charset/charset.go:75
MethodGetBytes
GetBytes implements Row interface.
tidbparser/dependency/types/row.go:110
FunctionGetCharsetDesc
GetCharsetDesc gets charset descriptions in the local charsets.
tidbparser/dependency/util/charset/charset.go:141
FunctionGetCharsetInfoByID
GetCharsetInfoByID returns charset and collation for id as cs_number.
tidbparser/dependency/util/charset/charset.go:156
FunctionGetCollations
GetCollations returns a list for all collations.
tidbparser/dependency/util/charset/charset.go:169
FunctionGetCompareFunc
GetCompareFunc gets a compare function for the field type.
tidbparser/dependency/util/chunk/compare.go:29
MethodGetDBID
GetDBID returns the schema ID that is used to create an allocator. TODO: Remove it after removing OldSchemaID.
tidbparser/dependency/model/model.go:132
MethodGetDatum
GetDatum implements ExprNode interface.
tidbparser/ast/base.go:76
MethodGetDatum
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
MethodGetDatum
GetDatum implements Row interface.
tidbparser/dependency/types/row.go:145
MethodGetDatumRow
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
MethodGetDigitsFrac
GetDigitsFrac returns the digitsFrac.
tidbparser/dependency/types/mydecimal.go:186
MethodGetDuration
GetDuration implements Row interface.
tidbparser/dependency/types/row.go:120
MethodGetEnum
GetEnum implements Row interface.
tidbparser/dependency/types/row.go:125
MethodGetFlag
GetFlag implements ExprNode interface.
tidbparser/ast/base.go:96
MethodGetFloat32
GetFloat32 implements Row interface.
tidbparser/dependency/types/row.go:95
MethodGetFloat64
GetFloat64 implements Row interface.
tidbparser/dependency/types/row.go:100
FunctionGetFormatType
GetFormatType checks the type(Duration, Date or Datetime) of a format string.
tidbparser/dependency/types/time.go:2117
MethodGetInt64
GetInt64 implements Row interface.
tidbparser/dependency/types/row.go:85
MethodGetJSON
GetJSON implements Row interface.
tidbparser/dependency/types/row.go:140
FunctionGetLocaleFormatFunction
GetLocaleFormatFunction get the format function for sepcific locale.
tidbparser/dependency/mysql/const.go:602
MethodGetMemTracker
GetMemTracker returns the memory tracker of this List.
tidbparser/dependency/util/chunk/list.go:53
MethodGetMyDecimal
GetMyDecimal implements Row interface.
tidbparser/dependency/types/row.go:135
MethodGetMysqlBit
GetMysqlBit gets MysqlBit value
tidbparser/dependency/types/datum.go:225
MethodGetPkColInfo
GetPkColInfo gets the ColumnInfo of pk if exists. Make sure PkIsHandle checked before call this method.
tidbparser/dependency/model/model.go:175
MethodGetPkName
GetPkName will return the pk name if pk exists.
tidbparser/dependency/model/model.go:162
MethodGetRaw
GetRaw gets raw value.
tidbparser/dependency/types/datum.go:320
FunctionGetSQLMode
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
MethodGetSet
GetSet implements Row interface.
tidbparser/dependency/types/row.go:130
FunctionGetStack
GetStack gets the stacktrace.
tidbparser/dependency/util/misc.go:49
MethodGetString
GetString implements Row interface.
tidbparser/dependency/types/row.go:105
MethodGetString
GetString returns the string value with the colIdx.
tidbparser/dependency/util/chunk/chunk.go:496
MethodGetTime
GetTime implements Row interface.
tidbparser/dependency/types/row.go:115
MethodGetType
GetType implements ExprNode interface.
tidbparser/ast/base.go:86
MethodGetUint64
GetUint64 implements Row interface.
tidbparser/dependency/types/row.go:90
MethodGetUpdateTime
GetUpdateTime gets the table's updating time.
tidbparser/dependency/model/model.go:126
MethodGetWarnings
GetWarnings gets warnings.
tidbparser/dependency/sessionctx/stmtctx/stmtctx.go:90
FunctionHasAggFlag
HasAggFlag checks if the expr contains FlagHasAggregateFunc.
tidbparser/ast/flag.go:17
FunctionHasAutoIncrementFlag
HasAutoIncrementFlag checks if AutoIncrementFlag is set.
tidbparser/dependency/mysql/type.go:97
MethodHasBindVars
HasBindVars returns true if the parsed query uses bind vars.
sqlparser/tracked_buffer.go:127
MethodHasErrorForDivisionByZeroMode
HasErrorForDivisionByZeroMode detects if 'ERROR_FOR_DIVISION_BY_ZERO' mode is set in SQLMode
tidbparser/dependency/mysql/const.go:416
FunctionHasIsBooleanFlag
HasIsBooleanFlag checks if IsBooleanFlag is set.
tidbparser/dependency/mysql/type.go:147
FunctionHasMultipleKeyFlag
HasMultipleKeyFlag checks if MultipleKeyFlag is set.
tidbparser/dependency/mysql/type.go:127
FunctionHasNoDefaultValueFlag
HasNoDefaultValueFlag checks if NoDefaultValueFlag is set.
tidbparser/dependency/mysql/type.go:92
MethodHasNoUnsignedSubtractionMode
HasNoUnsignedSubtractionMode detects if 'NO_UNSIGNED_SUBTRACTION' mode is set in SQLMode
tidbparser/dependency/mysql/const.go:436
MethodHasNoZeroDateMode
HasNoZeroDateMode detects if 'NO_ZERO_DATE' mode is set in SQLMode
tidbparser/dependency/mysql/const.go:406
MethodHasNoZeroInDateMode
HasNoZeroInDateMode detects if 'NO_ZERO_IN_DATE' mode is set in SQLMode
tidbparser/dependency/mysql/const.go:411
FunctionHasNotNullFlag
HasNotNullFlag checks if NotNullFlag is set.
tidbparser/dependency/mysql/type.go:87
FunctionHasOnUpdateNowFlag
HasOnUpdateNowFlag checks if OnUpdateNowFlag is set.
tidbparser/dependency/mysql/type.go:137
MethodHasOnlyFullGroupBy
HasOnlyFullGroupBy detects if 'ONLY_FULL_GROUP_BY' mode is set in SQLMode
tidbparser/dependency/mysql/const.go:421
MethodHasPadCharToFullLengthMode
HasPadCharToFullLengthMode detects if 'PAD_CHAR_TO_FULL_LENGTH' mode is set in SQLMode
tidbparser/dependency/mysql/const.go:456
FunctionHasParseToJSONFlag
HasParseToJSONFlag checks if ParseToJSONFlag is set.
tidbparser/dependency/mysql/type.go:142
MethodHasPrefixIndex
HasPrefixIndex returns whether any columns of this index uses prefix length.
tidbparser/dependency/model/model.go:286
MethodHasStrictMode
HasStrictMode detects if 'STRICT_TRANS_TABLES' or 'STRICT_ALL_TABLES' mode is set in SQLMode
tidbparser/dependency/mysql/const.go:426
FunctionHasTimestampFlag
HasTimestampFlag checks if HasTimestampFlag is set.
tidbparser/dependency/mysql/type.go:132
FunctionHasUniKeyFlag
HasUniKeyFlag checks if UniqueKeyFlag is set.
tidbparser/dependency/mysql/type.go:122
FunctionHashChunkRow
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
FunctionHashValues
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
MethodHexDecode
HexDecode decodes the hexval into bytes.
sqlparser/ast.go:1707
MethodHistogramsNotLoad
HistogramsNotLoad gets histogramsNotLoad.
tidbparser/dependency/sessionctx/stmtctx/stmtctx.go:133
MethodHybrid
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
MethodIdx
Idx returns the row index of Chunk.
tidbparser/dependency/util/chunk/chunk.go:462
MethodInfoSchemaStr
InfoSchemaStr joins the CompactStr with unsigned flag and returns a string.
tidbparser/dependency/types/field_type.go:244
MethodInit
Init initializes the FieldType data.
tidbparser/dependency/types/field_type.go:181
FunctionInvOp2
InvOp2 returns an invalid operation error.
tidbparser/dependency/types/etc.go:169
MethodInvalidZero
InvalidZero returns a boolean indicating whether the month or day is zero.
tidbparser/dependency/types/time.go:223
MethodIsAggregate
IsAggregate returns true if the function is an aggregate.
sqlparser/ast.go:2019
FunctionIsBinary
IsBinary returns true if querypb.Type is a binary.
sqltypes/type.go:79
MethodIsCancelled
IsCancelled returns whether the job is cancelled or not.
tidbparser/dependency/model/ddl.go:220
MethodIsCancelling
IsCancelling returns whether the job is cancelling or not.
tidbparser/dependency/model/ddl.go:230
FunctionIsClockUnit
IsClockUnit returns true when unit is interval unit with hour, minute or second.
tidbparser/dependency/types/time.go:1752
FunctionIsDateFormat
IsDateFormat returns true when the specified time format could contain only date.
tidbparser/dependency/types/time.go:1765
MethodIsDone
IsDone returns whether job is done.
tidbparser/dependency/model/ddl.go:240
MethodIsEmpty
IsEmpty returns true if TabIdent is empty.
sqlparser/ast.go:2562
MethodIsFinished
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
MethodIsGenerated
IsGenerated returns true if the column is generated column.
tidbparser/dependency/model/model.go:83
FunctionIsIntegerType
IsIntegerType indicate whether tp is an integer type.
tidbparser/dependency/mysql/util.go:52
← previousnext →1,001–1,100 of 1,509, ranked by callers