MCPcopy Create free account

hub / github.com/chrislusf/gleam / functions

Functions3,091 in github.com/chrislusf/gleam

↓ 1 callersFunctionbuiltinSysDate
See https://dev.mysql.com/doc/refman/5.7/en/date-and-time-functions.html#function_sysdate
sql/expression/builtin_time.go:1127
↓ 1 callersFunctionbuiltinTime
See http://dev.mysql.com/doc/refman/5.7/en/date-and-time-functions.html#function_time
sql/expression/builtin_time.go:1219
↓ 1 callersFunctionbuiltinTimeDiff
See https://dev.mysql.com/doc/refman/5.7/en/date-and-time-functions.html#function_timediff
sql/expression/builtin_time.go:243
↓ 1 callersFunctionbuiltinTimestampDiff
https://dev.mysql.com/doc/refman/5.7/en/date-and-time-functions.html#function_timestampdiff
sql/expression/builtin_time.go:1499
↓ 1 callersFunctionbuiltinTrim
See https://dev.mysql.com/doc/refman/5.7/en/string-functions.html#function_trim
sql/expression/builtin_string.go:959
↓ 1 callersFunctionbuiltinUTCDate
See https://dev.mysql.com/doc/refman/5.7/en/date-and-time-functions.html#function_utc-date
sql/expression/builtin_time.go:1263
↓ 1 callersFunctionbuiltinUnHex
See http://dev.mysql.com/doc/refman/5.7/en/string-functions.html#function_unhex
sql/expression/builtin_string.go:907
↓ 1 callersFunctionbuiltinUnixTimestamp
See https://dev.mysql.com/doc/refman/5.7/en/date-and-time-functions.html#function_unix-timestamp
sql/expression/builtin_time.go:1550
↓ 1 callersFunctionbuiltinUpper
See https://dev.mysql.com/doc/refman/5.7/en/string-functions.html#function_upper
sql/expression/builtin_string.go:484
↓ 1 callersFunctionbuiltinUser
(args []types.Datum, ctx context.Context)
sql/expression/builtin_info.go:175
↓ 1 callersFunctionbuiltinVersion
(args []types.Datum, ctx context.Context)
sql/expression/builtin_info.go:210
↓ 1 callersFunctionbuiltinWeekOfYear
See http://dev.mysql.com/doc/refman/5.7/en/date-and-time-functions.html#function_weekofyear
sql/expression/builtin_time.go:880
↓ 1 callersFunctionbuiltinYear
See http://dev.mysql.com/doc/refman/5.7/en/date-and-time-functions.html#function_year
sql/expression/builtin_time.go:908
↓ 1 callersFunctionbuiltinYearWeek
See http://dev.mysql.com/doc/refman/5.7/en/date-and-time-functions.html#function_yearweek
sql/expression/builtin_time.go:946
↓ 1 callersFunctioncalcTimeFromSec
(to *mysqlTime, seconds, microseconds int)
sql/util/types/mytime.go:118
↓ 1 callersFunctioncalcWeekday
calcWeekday calculates weekday from daynr, returns 0 for Monday, 1 for Tuesday ...
sql/util/types/mytime.go:201
↓ 1 callersMethodcalculateCost
scanCount means the original row count that need to be scanned and resultCount means the row count after scanning.
sql/plan/physical_plans.go:83
↓ 1 callersMethodcaseExpr
(x *CaseExpr)
sql/ast/flag.go:92
↓ 1 callersMethodcaseToExpression
(v *ast.CaseExpr)
sql/plan/expression_rewriter.go:819
↓ 1 callersMethodcheckAlterTableGrammar
(stmt *ast.AlterTableStmt)
sql/plan/validator.go:259
↓ 1 callersMethodcheckAutoIncrement
(stmt *ast.CreateTableStmt)
sql/plan/validator.go:153
↓ 1 callersFunctioncheckAutoIncrementOp
(colDef *ast.ColumnDef, num int)
sql/plan/validator.go:106
↓ 1 callersMethodcheckCreateIndexGrammar
(stmt *ast.CreateIndexStmt)
sql/plan/validator.go:254
↓ 1 callersMethodcheckCreateTableGrammar
(stmt *ast.CreateTableStmt)
sql/plan/validator.go:207
↓ 1 callersFunctioncheckDateRange
(t TimeInternal)
sql/util/types/time.go:1169
↓ 1 callersFunctioncheckDatetimeType
(t TimeInternal)
sql/util/types/time.go:1218
↓ 1 callersMethodcheckLikeFunc
(scalar *expression.ScalarFunction)
sql/plan/refiner.go:194
↓ 1 callersFunctioncheckMonthDay
(year, month, day int)
sql/util/types/time.go:1181
↓ 1 callersFunctioncheckTimestampType
(t TimeInternal)
sql/util/types/time.go:1200
↓ 1 callersMethodcheckValidJoin
checkValidJoin checks if this join should be pushed across.
sql/plan/aggregation_push_down.go:168
↓ 1 callersFunctioncheckValidity
checkValidity checks whether cols and every data have the same length.
sql/util/printer/printer.go:44
↓ 1 callersMethodclearForTopnPushDown
()
sql/plan/physical_plans.go:198
↓ 1 callersMethodclose
close closes the file if it is open.
distributed/store/single_file_store.go:89
↓ 1 callersMethodcloseAllFiles
()
sql/util/filesort/filesort.go:373
↓ 1 callersMethodcollectAggFuncs
collectAggFuncs collects all aggregate functions and splits them into two parts: "leftAggFuncs" and "rightAggFuncs" whose arguments are all from left
sql/plan/aggregation_push_down.go:76
↓ 1 callersMethodcollectGbyCols
collectGbyCols collects all columns from gby-items and join-conditions and splits them into two parts: "leftGbyCols" and "rightGbyCols". e.g. For quer
sql/plan/aggregation_push_down.go:101
↓ 1 callersFunctioncollectStepOutputDatasetSize
may be more efficient to map stepId=>size
distributed/master/ui/svg_writer.go:185
↓ 1 callersMethodcompareBytes
(sc *variable.StatementContext, b []byte)
sql/util/types/datum.go:537
↓ 1 callersFunctioncompareFuncFactory
(op opcode.Op)
sql/expression/builtin_compare.go:236
↓ 1 callersMethodcompareInt64
(sc *variable.StatementContext, i int64)
sql/util/types/datum.go:429
↓ 1 callersMethodcompareMysqlBit
(sc *variable.StatementContext, bit Bit)
sql/util/types/datum.go:541
↓ 1 callersMethodcompareMysqlDecimal
(sc *variable.StatementContext, dec *MyDecimal)
sql/util/types/datum.go:550
↓ 1 callersMethodcompareMysqlDuration
(sc *variable.StatementContext, dur Duration)
sql/util/types/datum.go:564
↓ 1 callersMethodcompareMysqlEnum
(sc *variable.StatementContext, enum Enum)
sql/util/types/datum.go:576
↓ 1 callersMethodcompareMysqlHex
(sc *variable.StatementContext, e Hex)
sql/util/types/datum.go:585
↓ 1 callersMethodcompareMysqlSet
(sc *variable.StatementContext, set Set)
sql/util/types/datum.go:594
↓ 1 callersMethodcompareMysqlTime
(sc *variable.StatementContext, time Time)
sql/util/types/datum.go:603
↓ 1 callersMethodcompareRow
(sc *variable.StatementContext, row []Datum)
sql/util/types/datum.go:616
↓ 1 callersMethodcompareUint64
(sc *variable.StatementContext, u uint64)
sql/util/types/datum.go:445
↓ 1 callersFunctioncompilePattern
Handle escapes and wild cards convert pattern characters and pattern types.
sql/expression/builtin_like.go:41
↓ 1 callersMethodconvert2IndexScan
(prop *requiredProperty, index *model.IndexInfo)
sql/plan/physical_plan_builder.go:59
↓ 1 callersMethodconvert2PhysicalPlanCompleteHash
convert2PhysicalPlanCompleteHash converts the logical aggregation to the complete hash aggregation *physicalPlanInfo.
sql/plan/physical_plan_builder.go:569
↓ 1 callersMethodconvert2PhysicalPlanEnforce
convert2PhysicalPlanEnforce converts a selection to *physicalPlanInfo which does not push the required property to the children, but enforce the prope
sql/plan/physical_plan_builder.go:727
↓ 1 callersMethodconvert2PhysicalPlanFinalHash
convert2PhysicalPlanFinalHash converts the logical aggregation to the final hash aggregation *physicalPlanInfo.
sql/plan/physical_plan_builder.go:545
↓ 1 callersMethodconvert2PhysicalPlanHash
convert2PhysicalPlanHash converts the logical aggregation to the physical hash aggregation.
sql/plan/physical_plan_builder.go:587
↓ 1 callersMethodconvert2PhysicalPlanPushOrder
(prop *requiredProperty)
sql/plan/physical_plan_builder.go:702
↓ 1 callersMethodconvert2PhysicalPlanStream
convert2PhysicalPlanStream converts the logical aggregation to the stream aggregation *physicalPlanInfo.
sql/plan/physical_plan_builder.go:492
↓ 1 callersMethodconvert2TableScan
(prop *requiredProperty)
sql/plan/physical_plan_builder.go:41
↓ 1 callersMethodconvertDateFormat
(b rune, buf *bytes.Buffer)
sql/util/types/time.go:1667
↓ 1 callersFunctionconvertInt64ToBytes
(ints []int64)
sql/expression/builtin_string.go:1255
↓ 1 callersMethodconvertToFloat
(sc *variable.StatementContext, target *FieldType)
sql/util/types/datum.go:681
↓ 1 callersMethodconvertToMysqlBit
(sc *variable.StatementContext, target *FieldType)
sql/util/types/datum.go:1034
↓ 1 callersMethodconvertToMysqlDecimal
(sc *variable.StatementContext, target *FieldType)
sql/util/types/datum.go:955
↓ 1 callersMethodconvertToMysqlDuration
(sc *variable.StatementContext, target *FieldType)
sql/util/types/datum.go:918
↓ 1 callersMethodconvertToMysqlEnum
(sc *variable.StatementContext, target *FieldType)
sql/util/types/datum.go:1056
↓ 1 callersMethodconvertToMysqlSet
(sc *variable.StatementContext, target *FieldType)
sql/util/types/datum.go:1080
↓ 1 callersMethodconvertToMysqlTime
(sc *variable.StatementContext, target *FieldType)
sql/util/types/datum.go:870
↓ 1 callersMethodconvertToMysqlYear
(sc *variable.StatementContext, target *FieldType)
sql/util/types/datum.go:1003
↓ 1 callersMethodconvertToString
(sc *variable.StatementContext, target *FieldType)
sql/util/types/datum.go:738
↓ 1 callersFunctionconvertUintToInt
(val uint64, upperBound int64, tp byte)
sql/util/types/convert.go:88
↓ 1 callersMethodconvertValueToColumnTypeIfNeeded
ConvertValueToColumnTypeIfNeeded checks if the expr in PatternInExpr is column name, and casts function to the items in the list.
sql/plan/typeinferer.go:449
↓ 1 callersFunctioncountTrailingZeroes
* countTrailingZeros returns the number of trailing zeroes that can be removed from fraction. @param i start index @param word value to
sql/util/types/mydecimal.go:136
↓ 1 callersMethodcreateResultFields
createResultFields creates result field list for a single select field.
sql/resolver/resolver.go:701
↓ 1 callersFunctioncreateSession
(info infoschema.InfoSchema)
sql/session.go:181
↓ 1 callersFunctioncreateStatsChanByInstructionSet
(instructionSet *pb.InstructionSet)
distributed/agent/agent_grpc_stats.go:35
↓ 1 callersMethoddata
()
sql/parser/lexer.go:411
↓ 1 callersFunctiondateArithFuncFactory
(op ast.DateArithType)
sql/expression/builtin_time.go:1365
↓ 1 callersFunctiondateToUint64
dateToUint64 converts time value to integer in YYYYMMDD format.
sql/util/types/mytime.go:158
↓ 1 callersFunctiondecimal2RoundUint
decimal2RoundUint converts a MyDecimal to an uint64 after rounding.
sql/util/types/datum_eval.go:400
↓ 1 callersFunctiondecodeShardInfo
(encodedShardInfo []byte)
plugins/kafka/kafka_partition_info.go:91
↓ 1 callersFunctiondecodeShardInfo
(encodedShardInfo []byte)
plugins/file/file_shard_info.go:67
↓ 1 callersFunctiondecodeShardInfo
(encodedShardInfo []byte)
plugins/cassandra/cassandra_shard_info.go:100
↓ 1 callersMethoddecompose
decompose splits an aggregate function to two parts: a final mode function and a partial mode function. Currently there are no differences between par
sql/plan/aggregation_push_down.go:174
↓ 1 callersFunctiondecorrelate
decorrelate function tries to convert apply plan to join plan.
sql/plan/decorrelate.go:52
↓ 1 callersMethoddeleteAgentInformation
(location *pb.Location)
distributed/master/resource_collect.go:62
↓ 1 callersFunctiondeleteStatsChan
(flowHashCode uint32, stepId int32, taskId int32)
distributed/agent/agent_grpc_stats.go:28
↓ 1 callersFunctiondeleteStatsChanByInstructionSet
(instructionSet *pb.InstructionSet)
distributed/agent/agent_grpc_stats.go:22
↓ 1 callersMethoddetectSelectAgg
Detect aggregate function or groupby clause.
sql/plan/planbuilder.go:118
↓ 1 callersMethoddigitBounds
* digitBounds returns bounds of decimal digits in the number. start - index (from 0 ) of first decimal digits. end - index of positio
sql/util/types/mydecimal.go:577
↓ 1 callersMethoddir
dir returns the directory for the current filename.
distributed/store/single_file_store.go:133
↓ 1 callersMethoddoHeartbeat
(sleepInterval time.Duration)
distributed/agent/agent_grpc_client_to_master.go:26
↓ 1 callersFunctiondoMatch
(str string, patChars, patTypes []byte)
sql/expression/builtin_like.go:109
↓ 1 callersMethoddoMiniLeftShift
* doMiniLeftShift does left shift for alignment of data in buffer. shift number of decimal digits on which it should be shifted beg/end b
sql/util/types/mydecimal.go:630
↓ 1 callersMethoddoMiniRightShift
* doMiniRightShift does right shift for alignment of data in buffer. shift number of decimal digits on which it should be shifted beg/end
sql/util/types/mydecimal.go:654
↓ 1 callersMethoddoProcessMapper
(ctx context.Context, f Mapper)
gio/mapper.go:18
↓ 1 callersMethoddoProcessReducer
(f Reducer)
gio/reducer.go:21
↓ 1 callersMethoddoProcessReducerByKeys
(f Reducer, keyPositions []int)
gio/reducer.go:62
↓ 1 callersFunctiondoStep
(canvas *svg.SVG, input point, step *pb.FlowExecutionStatus_Step, hasFinished bool)
distributed/master/ui/svg_writer.go:139
↓ 1 callersFunctiondoStepGroup
(canvas *svg.SVG, input point, status *pb.FlowExecutionStatus, stepGroup *pb.FlowExecutionStatus_StepGroup)
distributed/master/ui/svg_writer.go:119
↓ 1 callersFunctionencodeBytes
(b []byte, v []byte, comparable bool)
sql/util/codec/codec.go:87
← previousnext →1,201–1,300 of 3,091, ranked by callers