MCPcopy Index your code

hub / github.com/chrislusf/gleam / functions

Functions3,091 in github.com/chrislusf/gleam

↓ 282 callersMethodErrorf
(format string, a ...interface{})
sql/parser/parser.go:8034
↓ 181 callersMethodLeave
Leave is called after children nodes have been visited. The returned node's type can be different from the input node if it is a ExprNode, Non-express
sql/ast/ast.go:182
↓ 169 callersFunctionNewCIStr
NewCIStr creates a new CIStr.
sql/model/model.go:144
↓ 158 callersMethodPrintf
Printf prints to os.Stdout in the specified format
flow/dataset_output.go:56
↓ 136 callersMethodGetSchema
Get the schema.
sql/plan/plan.go:96
↓ 136 callersMethodNew
New creates an *Error with an error code and an error message. Usually used to create base *Error.
sql/terror/terror.go:144
↓ 133 callersMethodAccept
Accept accepts Visitor to visit itself. The returned node should replace original node. ok returns false to stop visiting. Implementation of this met
sql/ast/ast.go:35
↓ 116 callersFunctionNewFieldType
NewFieldType returns a FieldType, with a type and other information about field type.
sql/util/types/field_type.go:43
↓ 114 callersMethodKind
Kind gets the kind of the datum.
sql/util/types/datum.go:65
↓ 113 callersMethodIsNull
IsNull checks if datum is null.
sql/util/types/datum.go:100
↓ 108 callersFunctionnewBaseBuiltinFunc
(args []Expression, ctx context.Context)
sql/expression/builtin.go:36
↓ 106 callersMethodSetInt64
SetInt64 sets int64 value.
sql/util/types/datum.go:110
↓ 106 callersMethodevalArgs
(row []types.Datum)
sql/expression/builtin.go:45
↓ 106 callersMethodverifyArgs
(args []Expression)
sql/expression/builtin.go:109
↓ 102 callersMethodGetSessionVars
()
sql/context/context.go:34
↓ 91 callersMethodString
Flag of current status, such as autocommit.
sql/session.go:42
↓ 89 callersMethodEnter
Enter is called before children nodes are visited. The returned node must be the same type as the input node n. skipChildren returns true means childr
sql/ast/ast.go:177
↓ 83 callersMethodGetArgs
GetArgs stands for getting all arguments.
sql/expression/aggregation.go:56
↓ 70 callersMethodToNumber
ToNumber changes Set to float64 for numeric operation.
sql/util/types/set.go:37
↓ 67 callersMethodFprintf
Fprintf formats using the format for each row and writes to writer.
flow/dataset_output.go:41
↓ 58 callersMethodGetInt64
GetInt64 gets int64 value.
sql/util/types/datum.go:105
↓ 57 callersMethodGetUint64
GetUint64 gets uint64 value.
sql/util/types/datum.go:116
↓ 54 callersMethodClone
Clone copies an expression totally.
sql/expression/expression.go:59
↓ 53 callersMethodClose
For debug
sql/session.go:43
↓ 52 callersMethodGetType
GetType gets the evaluation type of the expression.
sql/ast/ast.go:63
↓ 48 callersMethodGetChildByIndex
Retrieve the child by index.
sql/plan/plan.go:88
↓ 47 callersMethodSetFloat64
SetFloat64 sets float64 value.
sql/util/types/datum.go:132
↓ 47 callersMethodToString
ToString returns the binary string for bit type.
sql/util/types/bit.go:47
↓ 46 callersMethodGetValue
GetValue gets value of the expression.
sql/ast/ast.go:67
↓ 45 callersMethodSetSchema
Set the schema.
sql/plan/plan.go:94
↓ 45 callersMethodSetString
SetString sets string value.
sql/util/types/datum.go:154
↓ 44 callersMethodSetUint64
SetUint64 sets uint64 value.
sql/util/types/datum.go:121
↓ 41 callersMethodGetString
GetString gets string value.
sql/util/types/datum.go:149
↓ 41 callersFunctionNewFunction
NewFunction creates a new scalar function or constant.
sql/expression/scalar_function.go:65
↓ 39 callersMethodFormat
(format string, args ...interface{})
sql/util/format/format.go:35
↓ 39 callersMethodWriteTo
WriteTo encode and write a row of data to the writer
util/row_read_write.go:12
↓ 39 callersMethodcurrentContext
currentContext gets the current resolverContext.
sql/resolver/resolver.go:104
↓ 39 callersMethodinitIDAndContext
(ctx context.Context)
sql/plan/plan.go:309
↓ 37 callersMethodLen
()
sql/plan/join_reorder.go:60
↓ 35 callersFunctiondigitsToWords
(digits int)
sql/util/types/mydecimal.go:145
↓ 34 callersMethodGetMysqlTime
GetMysqlTime gets types.Time value
sql/util/types/datum.go:284
↓ 33 callersMethodGetColumnIndex
GetColumnIndex finds the index for a column.
sql/expression/schema.go:106
↓ 33 callersMethodJoin
Join joins two datasets by the key.
flow/dataset_join.go:8
↓ 31 callersMethodBytes
Bytes begins a flow with an [][]byte
flow/dataset_source.go:98
↓ 31 callersFunctionNewRow
(timestamp int64, objects ...interface{})
util/row.go:10
↓ 30 callersMethodGetName
GetName gets the aggregation function name.
sql/expression/aggregation.go:59
↓ 29 callersMethodGen
Gen generates a new *Error with the same class and code, and a new formatted message.
sql/terror/terror.go:223
↓ 29 callersMethodGetFlag
GetFlag returns the flag of the expression.
sql/ast/ast.go:77
↓ 28 callersMethodRun
(options ...FlowOption)
flow/context.go:25
↓ 28 callersMethodToFloat64
ToFloat64 converts to a float64
sql/util/types/datum.go:1262
↓ 28 callersMethodinc
inc increase the position offset of the reader. peek must be called before calling inc!
sql/parser/lexer.go:622
↓ 27 callersMethodDay
()
sql/util/types/time.go:130
↓ 27 callersMethodGetFloat64
GetFloat64 gets float64 value.
sql/util/types/datum.go:127
↓ 27 callersMethodIsCorrelated
Check whether this plan is correlated or not.
sql/plan/plan.go:100
↓ 27 callersMethodRead
()
plugins/file/file_reader.go:22
↓ 27 callersMethodSetType
SetType sets evaluation type to the expression.
sql/ast/ast.go:61
↓ 26 callersMethodGetChildren
Get all the children.
sql/plan/plan.go:92
↓ 26 callersMethodGetMysqlDecimal
GetMysqlDecimal gets Decimal value
sql/util/types/datum.go:224
↓ 26 callersMethodMonth
()
sql/util/types/time.go:129
↓ 26 callersMethodSetNull
SetNull sets datum to nil.
sql/util/types/datum.go:204
↓ 26 callersFunctionnewBaseLogicalPlan
(tp string, a *idAllocator)
sql/plan/plan.go:255
↓ 25 callersFunctionNewValueExpr
NewValueExpr creates a ValueExpr with value, and sets default field type.
sql/ast/expressions.go:58
↓ 24 callersMethodName
(string)
instruction/instruction.go:27
↓ 24 callersMethodSetFlag
SetFlag sets flag to the expression. Flag indicates whether the expression contains parameter marker, reference, aggregate function...
sql/ast/ast.go:75
↓ 23 callersMethodAppendValue
(objects ...interface{})
util/row.go:25
↓ 23 callersMethodGetMysqlDuration
GetMysqlDuration gets Duration value
sql/util/types/datum.go:235
↓ 23 callersMethodMicrosecond
()
sql/util/types/time.go:138
↓ 22 callersMethodMap
(code string)
script/script.go:18
↓ 22 callersMethodToInt64
ToInt64 converts to a int64.
sql/util/types/datum.go:1192
↓ 22 callersMethodpeek
peek() peeks a rune from underlying reader. if reader meets EOF, it will return unicode.ReplacementChar. to distinguish from the real unicode.Replacem
sql/parser/lexer.go:601
↓ 21 callersMethodAppend
Append append new column to the columns stored in schema.
sql/expression/schema.go:121
↓ 21 callersMethodCompareDatum
CompareDatum compares datum to another datum. TODO: return error properly.
sql/util/types/datum.go:379
↓ 21 callersFunctionNewDatum
NewDatum creates a new Datum from an interface{}.
sql/util/types/datum.go:1426
↓ 21 callersFunctionNewSchema
NewSchema returns a schema made by its parameter.
sql/expression/schema.go:155
↓ 21 callersMethodPipe
(code string)
script/shell.go:35
↓ 21 callersMethodRegister
(f func(*pb.Instruction) Instruction)
instruction/instruction.go:37
↓ 21 callersMethodSetChildren
SetParents sets the children for the plan.
sql/plan/plan.go:109
↓ 21 callersMethodSetParents
SetParents sets the parents for the plan.
sql/plan/plan.go:107
↓ 21 callersFunctionaddChild
AddChild for parent.
sql/plan/logical_plans.go:288
↓ 20 callersMethodHour
()
sql/util/types/time.go:131
↓ 20 callersFunctionNew
(name string)
flow/context.go:15
↓ 20 callersMethodSecond
()
sql/util/types/time.go:133
↓ 20 callersMethodWrite
(b []byte)
plugins/file/parquet/parquet_file_reader.go:41
↓ 20 callersMethodYear
()
sql/util/types/time.go:128
↓ 19 callersFunctionExtractColumns
ExtractColumns extracts all columns from an expression.
sql/expression/util.go:26
↓ 19 callersMethodGenByArgs
GenByArgs generates a new *Error with the same class and code, and new arguments.
sql/terror/terror.go:232
↓ 19 callersMethodGetResultFields
GetResultFields gets result fields.
sql/ast/ast.go:153
↓ 19 callersMethodIsZero
IsZero returns a boolean indicating whether the time is equal to ZeroTime.
sql/util/types/time.go:192
↓ 19 callersMethodMinute
()
sql/util/types/time.go:132
↓ 19 callersMethodSetMysqlDecimal
SetMysqlDecimal sets Decimal value
sql/util/types/datum.go:229
↓ 19 callersMethodconvert2PhysicalPlan
convert2PhysicalPlan converts the logical plan to the physical plan. It is called recursively from the parent to the children to create the result phy
sql/plan/plan.go:168
↓ 19 callersFunctionextractCorColumns
(expr expression.Expression)
sql/plan/logical_plan_builder.go:140
↓ 19 callersFunctioninitTokenByte
(c byte, tok int)
sql/parser/misc.go:56
↓ 18 callersMethodGetMysqlBit
GetMysqlBit gets Bit value
sql/util/types/datum.go:210
↓ 18 callersMethodGetMysqlEnum
GetMysqlEnum gets Enum value
sql/util/types/datum.go:247
↓ 18 callersMethodGetMysqlHex
GetMysqlHex gets Hex value
sql/util/types/datum.go:260
↓ 18 callersMethodGetMysqlSet
GetMysqlSet gets Set value
sql/util/types/datum.go:271
↓ 18 callersFunctionNow
()
util/row_util.go:7
↓ 18 callersMethodSetInstruction
(prefix string, ins instruction.Instruction)
flow/step.go:30
↓ 18 callersFunctionenforceProperty
enforceProperty creates a *physicalPlanInfo that satisfies the required property by adding sort or limit as the parent of the given physical plan.
sql/plan/physical_plan_builder.go:182
next →1–100 of 3,091, ranked by callers