Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/chrislusf/gleam
/ functions
Functions
3,091 in github.com/chrislusf/gleam
⨍
Functions
3,091
◇
Types & classes
751
↓ 282 callers
Method
Errorf
(format string, a ...interface{})
sql/parser/parser.go:8034
↓ 181 callers
Method
Leave
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 callers
Function
NewCIStr
NewCIStr creates a new CIStr.
sql/model/model.go:144
↓ 158 callers
Method
Printf
Printf prints to os.Stdout in the specified format
flow/dataset_output.go:56
↓ 136 callers
Method
GetSchema
Get the schema.
sql/plan/plan.go:96
↓ 136 callers
Method
New
New creates an *Error with an error code and an error message. Usually used to create base *Error.
sql/terror/terror.go:144
↓ 133 callers
Method
Accept
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 callers
Function
NewFieldType
NewFieldType returns a FieldType, with a type and other information about field type.
sql/util/types/field_type.go:43
↓ 114 callers
Method
Kind
Kind gets the kind of the datum.
sql/util/types/datum.go:65
↓ 113 callers
Method
IsNull
IsNull checks if datum is null.
sql/util/types/datum.go:100
↓ 108 callers
Function
newBaseBuiltinFunc
(args []Expression, ctx context.Context)
sql/expression/builtin.go:36
↓ 106 callers
Method
SetInt64
SetInt64 sets int64 value.
sql/util/types/datum.go:110
↓ 106 callers
Method
evalArgs
(row []types.Datum)
sql/expression/builtin.go:45
↓ 106 callers
Method
verifyArgs
(args []Expression)
sql/expression/builtin.go:109
↓ 102 callers
Method
GetSessionVars
()
sql/context/context.go:34
↓ 91 callers
Method
String
Flag of current status, such as autocommit.
sql/session.go:42
↓ 89 callers
Method
Enter
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 callers
Method
GetArgs
GetArgs stands for getting all arguments.
sql/expression/aggregation.go:56
↓ 70 callers
Method
ToNumber
ToNumber changes Set to float64 for numeric operation.
sql/util/types/set.go:37
↓ 67 callers
Method
Fprintf
Fprintf formats using the format for each row and writes to writer.
flow/dataset_output.go:41
↓ 58 callers
Method
GetInt64
GetInt64 gets int64 value.
sql/util/types/datum.go:105
↓ 57 callers
Method
GetUint64
GetUint64 gets uint64 value.
sql/util/types/datum.go:116
↓ 54 callers
Method
Clone
Clone copies an expression totally.
sql/expression/expression.go:59
↓ 53 callers
Method
Close
For debug
sql/session.go:43
↓ 52 callers
Method
GetType
GetType gets the evaluation type of the expression.
sql/ast/ast.go:63
↓ 48 callers
Method
GetChildByIndex
Retrieve the child by index.
sql/plan/plan.go:88
↓ 47 callers
Method
SetFloat64
SetFloat64 sets float64 value.
sql/util/types/datum.go:132
↓ 47 callers
Method
ToString
ToString returns the binary string for bit type.
sql/util/types/bit.go:47
↓ 46 callers
Method
GetValue
GetValue gets value of the expression.
sql/ast/ast.go:67
↓ 45 callers
Method
SetSchema
Set the schema.
sql/plan/plan.go:94
↓ 45 callers
Method
SetString
SetString sets string value.
sql/util/types/datum.go:154
↓ 44 callers
Method
SetUint64
SetUint64 sets uint64 value.
sql/util/types/datum.go:121
↓ 41 callers
Method
GetString
GetString gets string value.
sql/util/types/datum.go:149
↓ 41 callers
Function
NewFunction
NewFunction creates a new scalar function or constant.
sql/expression/scalar_function.go:65
↓ 39 callers
Method
Format
(format string, args ...interface{})
sql/util/format/format.go:35
↓ 39 callers
Method
WriteTo
WriteTo encode and write a row of data to the writer
util/row_read_write.go:12
↓ 39 callers
Method
currentContext
currentContext gets the current resolverContext.
sql/resolver/resolver.go:104
↓ 39 callers
Method
initIDAndContext
(ctx context.Context)
sql/plan/plan.go:309
↓ 37 callers
Method
Len
()
sql/plan/join_reorder.go:60
↓ 35 callers
Function
digitsToWords
(digits int)
sql/util/types/mydecimal.go:145
↓ 34 callers
Method
GetMysqlTime
GetMysqlTime gets types.Time value
sql/util/types/datum.go:284
↓ 33 callers
Method
GetColumnIndex
GetColumnIndex finds the index for a column.
sql/expression/schema.go:106
↓ 33 callers
Method
Join
Join joins two datasets by the key.
flow/dataset_join.go:8
↓ 31 callers
Method
Bytes
Bytes begins a flow with an [][]byte
flow/dataset_source.go:98
↓ 31 callers
Function
NewRow
(timestamp int64, objects ...interface{})
util/row.go:10
↓ 30 callers
Method
GetName
GetName gets the aggregation function name.
sql/expression/aggregation.go:59
↓ 29 callers
Method
Gen
Gen generates a new *Error with the same class and code, and a new formatted message.
sql/terror/terror.go:223
↓ 29 callers
Method
GetFlag
GetFlag returns the flag of the expression.
sql/ast/ast.go:77
↓ 28 callers
Method
Run
(options ...FlowOption)
flow/context.go:25
↓ 28 callers
Method
ToFloat64
ToFloat64 converts to a float64
sql/util/types/datum.go:1262
↓ 28 callers
Method
inc
inc increase the position offset of the reader. peek must be called before calling inc!
sql/parser/lexer.go:622
↓ 27 callers
Method
Day
()
sql/util/types/time.go:130
↓ 27 callers
Method
GetFloat64
GetFloat64 gets float64 value.
sql/util/types/datum.go:127
↓ 27 callers
Method
IsCorrelated
Check whether this plan is correlated or not.
sql/plan/plan.go:100
↓ 27 callers
Method
Read
()
plugins/file/file_reader.go:22
↓ 27 callers
Method
SetType
SetType sets evaluation type to the expression.
sql/ast/ast.go:61
↓ 26 callers
Method
GetChildren
Get all the children.
sql/plan/plan.go:92
↓ 26 callers
Method
GetMysqlDecimal
GetMysqlDecimal gets Decimal value
sql/util/types/datum.go:224
↓ 26 callers
Method
Month
()
sql/util/types/time.go:129
↓ 26 callers
Method
SetNull
SetNull sets datum to nil.
sql/util/types/datum.go:204
↓ 26 callers
Function
newBaseLogicalPlan
(tp string, a *idAllocator)
sql/plan/plan.go:255
↓ 25 callers
Function
NewValueExpr
NewValueExpr creates a ValueExpr with value, and sets default field type.
sql/ast/expressions.go:58
↓ 24 callers
Method
Name
(string)
instruction/instruction.go:27
↓ 24 callers
Method
SetFlag
SetFlag sets flag to the expression. Flag indicates whether the expression contains parameter marker, reference, aggregate function...
sql/ast/ast.go:75
↓ 23 callers
Method
AppendValue
(objects ...interface{})
util/row.go:25
↓ 23 callers
Method
GetMysqlDuration
GetMysqlDuration gets Duration value
sql/util/types/datum.go:235
↓ 23 callers
Method
Microsecond
()
sql/util/types/time.go:138
↓ 22 callers
Method
Map
(code string)
script/script.go:18
↓ 22 callers
Method
ToInt64
ToInt64 converts to a int64.
sql/util/types/datum.go:1192
↓ 22 callers
Method
peek
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 callers
Method
Append
Append append new column to the columns stored in schema.
sql/expression/schema.go:121
↓ 21 callers
Method
CompareDatum
CompareDatum compares datum to another datum. TODO: return error properly.
sql/util/types/datum.go:379
↓ 21 callers
Function
NewDatum
NewDatum creates a new Datum from an interface{}.
sql/util/types/datum.go:1426
↓ 21 callers
Function
NewSchema
NewSchema returns a schema made by its parameter.
sql/expression/schema.go:155
↓ 21 callers
Method
Pipe
(code string)
script/shell.go:35
↓ 21 callers
Method
Register
(f func(*pb.Instruction) Instruction)
instruction/instruction.go:37
↓ 21 callers
Method
SetChildren
SetParents sets the children for the plan.
sql/plan/plan.go:109
↓ 21 callers
Method
SetParents
SetParents sets the parents for the plan.
sql/plan/plan.go:107
↓ 21 callers
Function
addChild
AddChild for parent.
sql/plan/logical_plans.go:288
↓ 20 callers
Method
Hour
()
sql/util/types/time.go:131
↓ 20 callers
Function
New
(name string)
flow/context.go:15
↓ 20 callers
Method
Second
()
sql/util/types/time.go:133
↓ 20 callers
Method
Write
(b []byte)
plugins/file/parquet/parquet_file_reader.go:41
↓ 20 callers
Method
Year
()
sql/util/types/time.go:128
↓ 19 callers
Function
ExtractColumns
ExtractColumns extracts all columns from an expression.
sql/expression/util.go:26
↓ 19 callers
Method
GenByArgs
GenByArgs generates a new *Error with the same class and code, and new arguments.
sql/terror/terror.go:232
↓ 19 callers
Method
GetResultFields
GetResultFields gets result fields.
sql/ast/ast.go:153
↓ 19 callers
Method
IsZero
IsZero returns a boolean indicating whether the time is equal to ZeroTime.
sql/util/types/time.go:192
↓ 19 callers
Method
Minute
()
sql/util/types/time.go:132
↓ 19 callers
Method
SetMysqlDecimal
SetMysqlDecimal sets Decimal value
sql/util/types/datum.go:229
↓ 19 callers
Method
convert2PhysicalPlan
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 callers
Function
extractCorColumns
(expr expression.Expression)
sql/plan/logical_plan_builder.go:140
↓ 19 callers
Function
initTokenByte
(c byte, tok int)
sql/parser/misc.go:56
↓ 18 callers
Method
GetMysqlBit
GetMysqlBit gets Bit value
sql/util/types/datum.go:210
↓ 18 callers
Method
GetMysqlEnum
GetMysqlEnum gets Enum value
sql/util/types/datum.go:247
↓ 18 callers
Method
GetMysqlHex
GetMysqlHex gets Hex value
sql/util/types/datum.go:260
↓ 18 callers
Method
GetMysqlSet
GetMysqlSet gets Set value
sql/util/types/datum.go:271
↓ 18 callers
Function
Now
()
util/row_util.go:7
↓ 18 callers
Method
SetInstruction
(prefix string, ins instruction.Instruction)
flow/step.go:30
↓ 18 callers
Function
enforceProperty
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