MCPcopy Create free account

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

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

MethodIsLeapYear
IsLeapYear returns if it's leap year.
tidbparser/dependency/types/mytime.go:121
FunctionIsNonBinaryStr
IsNonBinaryStr returns a boolean indicating whether the field type is a non-binary string type.
tidbparser/dependency/types/etc.go:98
MethodIsNull
IsNull checks if datum is null.
tidbparser/dependency/types/datum.go:121
MethodIsNull
IsNull implements Row interface.
tidbparser/dependency/types/row.go:150
MethodIsPrepared
IsPrepared returns whether this statement is prepared statement.
tidbparser/ast/ast.go:189
FunctionIsReadOnly
IsReadOnly checks whether the input ast is readOnly.
tidbparser/ast/read_only_checker.go:17
MethodIsReadOnly
IsReadOnly returns if the statement is read only. For example: SelectStmt without lock.
tidbparser/ast/ast.go:192
MethodIsRollingback
IsRollingback returns whether the job is rolling back or not.
tidbparser/dependency/model/ddl.go:225
MethodIsRunning
IsRunning returns whether job is still running or not.
tidbparser/dependency/model/ddl.go:245
MethodIsSynced
IsSynced returns whether the DDL modification is synced among all TiDB servers.
tidbparser/dependency/model/ddl.go:235
FunctionIsTemporalWithDate
IsTemporalWithDate returns a boolean indicating whether the tp is time type with date.
tidbparser/dependency/types/etc.go:83
FunctionIsText
IsText returns true if querypb.Type is a text.
sqltypes/type.go:74
FunctionIsTypeFloat
IsTypeFloat returns a boolean indicating whether the tp is floating-point type.
tidbparser/dependency/types/etc.go:77
FunctionIsTypeFractionable
IsTypeFractionable returns a boolean indicating whether the tp can has time fraction.
tidbparser/dependency/types/etc.go:66
FunctionIsTypePrefixable
IsTypePrefixable returns a boolean indicating whether an index on a column with the tp can be defined with a prefix.
tidbparser/dependency/types/etc.go:60
FunctionIsTypeTemporal
IsTypeTemporal checks if a type is a temporal type.
tidbparser/dependency/types/etc.go:179
FunctionIsUTF8Charset
IsUTF8Charset checks if charset is utf8 or utf8mb4
tidbparser/dependency/mysql/charset.go:569
MethodIsZero
IsZero checks whether it's a zero decimal.
tidbparser/dependency/types/mydecimal.go:1201
MethodKill
(connectionID uint64, query bool)
tidbparser/dependency/util/processinfo.go:36
MethodLeave
Leave implements Visitor interface.
tidbparser/ast/read_only_checker.go:59
MethodLeave
(in Node)
tidbparser/ast/flag.go:34
MethodLen
()
tidbparser/dependency/types/datum.go:1752
MethodLen
Len implements Row interface.
tidbparser/dependency/types/row.go:80
MethodLen
Len returns the number of values in the row.
tidbparser/dependency/util/chunk/chunk.go:467
MethodLen
Len returns the number of columns.
tidbparser/dependency/util/chunk/mutrow.go:37
MethodLen
Len implements the Iterator interface.
tidbparser/dependency/util/chunk/iterator.go:223
MethodLen
Len returns the length of the List.
tidbparser/dependency/util/chunk/list.go:58
MethodLen
Len returns the length.
sqltypes/value.go:93
MethodLess
(i, j int)
tidbparser/dependency/types/datum.go:1756
MethodLex
(lval *yySymType)
tidbparser/parser/parser.go:5826
MethodLex
Lex returns a token and store the token value in v. Scanner satisfies yyLexer interface. 0 and invalid are special token id this function would return
tidbparser/parser/lexer.go:131
MethodLex
Lex returns the next token form the Tokenizer. This function is used by go yacc.
sqlparser/token.go:319
MethodLocation
Location returns the location where the error is created, implements juju/errors locationer interface.
tidbparser/dependency/terror/terror.go:203
MethodLookahead
()
sqlparser/sql.go:1195
MethodLookahead
()
sqlparser/sql.go:1204
FunctionLookup
Lookup returns the encoding with the specified label, and its canonical name. It returns nil and the empty string if label is not one of the standard
tidbparser/dependency/util/charset/encoding_table.go:32
MethodLowerBound
LowerBound searches on the non-decreasing column colIdx, returns the smallest index i such that the value at row i is not less than `ad`.
tidbparser/dependency/util/chunk/compare.go:218
MethodMakeRef
MakeRef makes column in "dstColIdx" reference to column in "srcColIdx".
tidbparser/dependency/util/chunk/chunk.go:109
MethodMarshalJSON
MarshalJSON implements json.Marshaler interface.
tidbparser/dependency/terror/terror.go:171
MethodMarshalJSON
MarshalJSON marshals into JSON.
sqlparser/ast.go:2525
MethodMarshalJSON
MarshalJSON marshals into JSON.
sqlparser/ast.go:2581
FunctionMaxValueDatum
MaxValueDatum returns a datum represents max value.
tidbparser/dependency/types/datum.go:1712
FunctionMinNotNullDatum
MinNotNullDatum returns a datum represents minimum not null value.
tidbparser/dependency/types/datum.go:1707
MethodModify
Modify modifies a JSON object by insert, replace or set. All path expressions cannot contain * or ** wildcard. If any error occurs, the input won't be
tidbparser/dependency/types/json/binary_functions.go:277
FunctionMulInt64
MulInt64 multiplies int64 a and b and returns int64 if no overflow error.
tidbparser/dependency/types/overflow.go:96
FunctionMulInteger
MulInteger multiplies uint64 a and int64 b, and returns uint64 if no overflow error.
tidbparser/dependency/types/overflow.go:141
FunctionMustNil
MustNil fatals if err is not nil.
tidbparser/dependency/terror/terror.go:324
FunctionMutRowFromDatums
MutRowFromDatums creates a MutRow from a datum slice.
tidbparser/dependency/util/chunk/mutrow.go:52
FunctionMutRowFromTypes
MutRowFromTypes creates a MutRow from a FieldType slice, each column is initialized to zero value.
tidbparser/dependency/util/chunk/mutrow.go:62
FunctionMutRowFromValues
MutRowFromValues creates a MutRow from a interface slice.
tidbparser/dependency/util/chunk/mutrow.go:42
FunctionNew
New returns a Parser object.
tidbparser/parser/yy_parser.go:80
FunctionNewBinaryLiteralDatum
NewBinaryLiteralDatum creates a new BinaryLiteral Datum for a BinaryLiteral value.
tidbparser/dependency/types/datum.go:1686
FunctionNewBytesDatum
NewBytesDatum creates a new Datum from a byte slice.
tidbparser/dependency/types/datum.go:1644
MethodNewChunk
NewChunk creates a new chunk with initial capacity.
tidbparser/ast/ast.go:147
FunctionNewDecFromFloatForTest
NewDecFromFloatForTest creates a MyDecimal from float, as it returns no error, it should only be used in test.
tidbparser/dependency/types/mydecimal.go:2142
FunctionNewDecFromStringForTest
NewDecFromStringForTest creates a MyDecimal from string, as it returns no error, it should only be used in test.
tidbparser/dependency/types/mydecimal.go:2150
FunctionNewDecFromUint
NewDecFromUint creates a MyDecimal from uint.
tidbparser/dependency/types/mydecimal.go:2137
FunctionNewDecimalDatum
NewDecimalDatum creates a new Datum form a MyDecimal value.
tidbparser/dependency/types/datum.go:1680
FunctionNewDurationDatum
NewDurationDatum creates a new Datum from a Duration value.
tidbparser/dependency/types/datum.go:1668
FunctionNewExtraHandleColInfo
NewExtraHandleColInfo mocks a column info for extra handle column.
tidbparser/dependency/model/model.go:201
FunctionNewFloat32Datum
NewFloat32Datum creates a new Datum from a float32 value.
tidbparser/dependency/types/datum.go:1662
FunctionNewFloat64Datum
NewFloat64Datum creates a new Datum from a float64 value.
tidbparser/dependency/types/datum.go:1656
FunctionNewIterator4Chunk
NewIterator4Chunk returns a iterator for Chunk.
tidbparser/dependency/util/chunk/iterator.go:102
FunctionNewIterator4List
NewIterator4List returns a Iterator for List.
tidbparser/dependency/util/chunk/iterator.go:156
FunctionNewIterator4RowPtr
NewIterator4RowPtr returns a Iterator for RowPtrs.
tidbparser/dependency/util/chunk/iterator.go:228
FunctionNewIterator4Slice
NewIterator4Slice returns a Iterator for Row slice.
tidbparser/dependency/util/chunk/iterator.go:49
FunctionNewList
NewList creates a new List with field types and max chunk size.
tidbparser/dependency/util/chunk/list.go:42
FunctionNewMysqlBitDatum
NewMysqlBitDatum creates a new MysqlBit Datum for a BinaryLiteral value.
tidbparser/dependency/types/datum.go:1692
FunctionNewStringDatum
NewStringDatum creates a new Datum from a string.
tidbparser/dependency/types/datum.go:1650
FunctionNewTimeDatum
NewTimeDatum creates a new Time from a Time value.
tidbparser/dependency/types/datum.go:1674
FunctionNewUintDatum
NewUintDatum creates a new Datum from an uint64 value.
tidbparser/dependency/types/datum.go:1638
MethodNext
Next returns the next row, nil row means there is no more to return.
tidbparser/ast/ast.go:141
MethodNext
Next returns the next Row.
tidbparser/dependency/util/chunk/iterator.go:33
MethodNext
Next implements the Iterator interface.
tidbparser/dependency/util/chunk/iterator.go:68
MethodNext
Next implements the Iterator interface.
tidbparser/dependency/util/chunk/iterator.go:122
MethodNext
Next implements the Iterator interface.
tidbparser/dependency/util/chunk/iterator.go:184
MethodNext
Next implements the Iterator interface.
tidbparser/dependency/util/chunk/iterator.go:248
MethodNextChunk
NextChunk reads records into chunk.
tidbparser/ast/ast.go:144
MethodNotEqual
NotEqual checks if err is not equal to e.
tidbparser/dependency/terror/terror.go:260
MethodNotEqualClass
NotEqualClass returns true if err is not *Error with the same class.
tidbparser/dependency/terror/terror.go:135
FunctionNumberToDuration
NumberToDuration converts number to Duration.
tidbparser/dependency/types/convert.go:196
MethodOrigColName
OrigColName returns the full original column name.
tidbparser/ast/expressions.go:433
MethodOriginText
OriginText gets the origin SQL text.
tidbparser/ast/ast.go:183
MethodParse
(yylex yyLexer)
sqlparser/sql.go:1335
FunctionParseDate
ParseDate is a helper function wrapping ParseTime with date type.
tidbparser/dependency/types/time.go:1235
FunctionParseDateFromNum
ParseDateFromNum is a helper function wrapping ParseTimeFromNum with date type.
tidbparser/dependency/types/time.go:1272
FunctionParseJSONPathExpr
ParseJSONPathExpr parses a JSON path expression. Returns a PathExpression object which can be used in JSON_EXTRACT, JSON_SET and so on.
tidbparser/dependency/types/json/path_expr.go:122
MethodParseOneStmt
ParseOneStmt parses a query and returns an ast.StmtNode. The query must have one statement, otherwise ErrSyntax is returned.
tidbparser/parser/yy_parser.go:116
FunctionParseTimeFromFloatString
ParseTimeFromFloatString is similar to ParseTime, except that it's used to parse a float converted string.
tidbparser/dependency/types/time.go:1202
FunctionParseTimeFromInt64
ParseTimeFromInt64 parses mysql time value from int64.
tidbparser/dependency/types/time.go:1781
FunctionParseTimestamp
ParseTimestamp is a helper function wrapping ParseTime with timestamp type and default fsp.
tidbparser/dependency/types/time.go:1230
FunctionParseTimestampFromNum
ParseTimestampFromNum is a helper function wrapping ParseTimeFromNum with timestamp type and default fsp.
tidbparser/dependency/types/time.go:1267
FunctionParseYear
ParseYear parses a formatted string and returns a year number.
tidbparser/dependency/types/time.go:706
FunctionRandomBuf
RandomBuf generates a random string using ASCII characters but avoid separator character. See https://github.com/mysql/mysql-server/blob/5.7/mysys_ssl
tidbparser/dependency/util/random.go:22
MethodRaw
Raw returns the raw bytes. All types are currently implemented as []byte. You should avoid using this function. If you do, you should treat the bytes
sqltypes/value.go:79
MethodReachEnd
ReachEnd reaches the end of iterator.
tidbparser/dependency/util/chunk/iterator.go:45
MethodReachEnd
ReachEnd implements the Iterator interface.
tidbparser/dependency/util/chunk/iterator.go:92
MethodReachEnd
ReachEnd implements the Iterator interface.
tidbparser/dependency/util/chunk/iterator.go:146
MethodReachEnd
ReachEnd implements the Iterator interface.
tidbparser/dependency/util/chunk/iterator.go:218
MethodReachEnd
ReachEnd implements the Iterator interface.
tidbparser/dependency/util/chunk/iterator.go:272
← previousnext →1,101–1,200 of 1,509, ranked by callers