MCPcopy Create free account

hub / github.com/chrislusf/gleam / functions

Functions3,091 in github.com/chrislusf/gleam

↓ 1 callersMethodAddTask
(task *flow.Task)
distributed/plan/plan.go:58
↓ 1 callersFunctionAdjustYear
AdjustYear is used for adjusting year and checking its validation.
sql/util/types/time.go:662
↓ 1 callersMethodBuffered
()
util/message_write.go:41
↓ 1 callersFunctionBuiltinValuesFactory
BuiltinValuesFactory generates values builtin function.
sql/expression/builtin_other.go:391
↓ 1 callersMethodCalculateDefaultValue
CalculateDefaultValue gets the default value when the aggregate function's input is null. The input stands for the schema of Aggregation's child. If t
sql/expression/aggregation.go:85
↓ 1 callersFunctionCastFuncFactory
CastFuncFactory produces builtin function according to field types. See https://dev.mysql.com/doc/refman/5.7/en/cast-functions.html
sql/expression/builtin_other.go:219
↓ 1 callersFunctionChannelToWriter
(wg *sync.WaitGroup, name string, reader io.Reader, writer io.WriteCloser, errorOutput io.Writer)
util/channel_util.go:125
↓ 1 callersMethodCheckNotNull
CheckNotNull checks if nil value set to a column with NotNull flag is set.
sql/table/column.go:217
↓ 1 callersFunctionCleanPath
(path string)
util/dirpath.go:20
↓ 1 callersMethodClone
()
sql/infoschema/infoschema.go:64
↓ 1 callersMethodClose
Close implements io.Closer, and closes the current logfile.
distributed/store/single_file_store.go:82
↓ 1 callersMethodCoGroupPartitionedSorted
CoGroupPartitionedSorted joins 2 datasets that are sharded by the same key and already locally sorted within each shard.
flow/dataset_cogroup.go:24
↓ 1 callersFunctionColDescFieldNames
ColDescFieldNames returns the fields name in result set for desc and show columns.
sql/table/column.go:193
↓ 1 callersMethodCompare
Compare returns an integer comparing the Duration instant t to o. If d is after o, return 1, equal o, return 0, before o, return -1.
sql/util/types/time.go:768
↓ 1 callersFunctionCompareUint64
CompareUint64 returns an integer comparing the uint64 x to y.
sql/util/types/compare.go:32
↓ 1 callersFunctionCompile
Compile is safe for concurrent use by multiple goroutines.
sql/session.go:193
↓ 1 callersFunctionComputeDiv
ComputeDiv computes the result of a/b.
sql/util/types/datum_eval.go:211
↓ 1 callersFunctionComputeIntDiv
ComputeIntDiv computes the result of a / b, both a and b are integer.
sql/util/types/datum_eval.go:333
↓ 1 callersFunctionComputeMinus
ComputeMinus computes the result of a-b.
sql/util/types/datum_eval.go:120
↓ 1 callersFunctionComputeMod
ComputeMod computes the result of a mod b.
sql/util/types/datum_eval.go:255
↓ 1 callersFunctionComputeMul
ComputeMul computes the result of a*b.
sql/util/types/datum_eval.go:165
↓ 1 callersMethodConvertToDuration
ConvertToDuration converts mysql datetime, timestamp and date to mysql time type. e.g, 2012-12-12T10:10:10 -> 10:10:10 2012-12-12 -> 0
sql/util/types/time.go:254
↓ 1 callersMethodConvertToTime
ConvertToTime converts duration to Time. Tp is TypeDatetime, TypeTimestamp and TypeDate.
sql/util/types/time.go:732
↓ 1 callersMethodCopy
Copy implements the PhysicalPlan Copy interface.
sql/plan/physical_plans.go:741
↓ 1 callersFunctionCopyMultipleReaders
setup asynchronously to merge multiple channels into one channel
util/channel_util.go:58
↓ 1 callersFunctionCreateSession
CreateSession creates a new session environment.
sql/session.go:172
↓ 1 callersFunctionDateDiff
DateDiff calculates number of days between two days.
sql/util/types/mytime.go:188
↓ 1 callersFunctionDecimalAdd
DecimalAdd adds two decimals, sets the result to 'to'.
sql/util/types/mydecimal.go:1325
↓ 1 callersFunctionDecimalMod
* DecimalMod does modulus of two decimals. from1 - dividend from2 - divisor to - modulus RETURN VALUE E_DEC_OK/E_DE
sql/util/types/mydecimal.go:1821
↓ 1 callersFunctionDecimalPeak
DecimalPeak returns the length of the encoded decimal.
sql/util/types/mydecimal.go:2072
↓ 1 callersFunctionDecode
Decode decodes values from a byte slice generated with EncodeKey or EncodeValue before. size is the size of decoded datum slice.
sql/util/codec/codec.go:136
↓ 1 callersFunctionDecodeBytes
DecodeBytes decodes bytes which is encoded by EncodeBytes before, returns the leftover bytes and decoded value if no error.
sql/util/codec/bytes.go:119
↓ 1 callersFunctionDecodeCompactBytes
DecodeCompactBytes decodes bytes which is encoded by EncodeCompactBytes before.
sql/util/codec/bytes.go:148
↓ 1 callersFunctionDecodeDecimal
DecodeDecimal decodes bytes to decimal.
sql/util/codec/decimal.go:42
↓ 1 callersFunctionDecodeFloat
DecodeFloat decodes a float from a byte slice generated with EncodeFloat before.
sql/util/codec/float.go:49
↓ 1 callersMethodDecodeMsg
DecodeMsg implements msgp.Decodable We treat empty fields as if we read a Nil from the wire.
util/row_codec.go:13
↓ 1 callersFunctionDecodeOne
DecodeOne decodes on datum from a byte slice generated with EncodeKey or EncodeValue.
sql/util/codec/codec.go:160
↓ 1 callersFunctionDecodeUintDesc
DecodeUintDesc decodes value encoded by EncodeInt before. It returns the leftover un-decoded slice, decoded value if no error.
sql/util/codec/number.go:107
↓ 1 callersFunctionDecodeUvarint
DecodeUvarint decodes value encoded by EncodeUvarint before. It returns the leftover un-decoded slice, decoded value if no error.
sql/util/codec/number.go:149
↓ 1 callersMethodDeleteNamedDatasetShard
(name string)
distributed/agent/local_dataset_shards_manager.go:43
↓ 1 callersMethodDeleteOutput
(taskGroup *plan.TaskGroup)
distributed/driver/scheduler/scheduler_dataset_shard.go:11
↓ 1 callersMethodDistance
the distance is a relative value, similar to network lantency
pb/resource_proto_helper.go:12
↓ 1 callersFunctionDivInt64
DivInt64 divides int64 a with b, returns int64 if no overflow error. It just checks overflow, if b is zero, a "divide by zero" panic throws.
sql/util/types/overflow.go:157
↓ 1 callersFunctionDivIntWithUint
DivIntWithUint divides int64 a with uint64 b, returns uint64 if no overflow error. It just checks overflow, if b is zero, a "divide by zero" panic thr
sql/util/types/overflow.go:181
↓ 1 callersFunctionDivUintWithInt
DivUintWithInt divides uint64 a with int64 b, returns uint64 if no overflow error. It just checks overflow, if b is zero, a "divide by zero" panic thr
sql/util/types/overflow.go:167
↓ 1 callersFunctionDoBroadcast
(reader io.Reader, writers []io.Writer, stats *pb.InstructionStat)
instruction/broadcast.go:46
↓ 1 callersFunctionDoCoGroupPartitionedSorted
(leftRawChan, rightRawChan io.Reader, writer io.Writer, indexes []int, stats *pb.InstructionStat)
instruction/cogroup_partitioned_sorted.go:51
↓ 1 callersFunctionDoCollectPartitions
(readers []io.Reader, writer io.Writer, stats *pb.InstructionStat)
instruction/partition_collect.go:46
↓ 1 callersFunctionDoJoinPartitionedSorted
(leftRawChan, rightRawChan io.Reader, writer io.Writer, indexes []int, isLeftOuterJoin, isRightOuterJoin bool
instruction/join_partitioned_sorted.go:57
↓ 1 callersFunctionDoLocalDistinct
(reader io.Reader, writer io.Writer, orderBys []OrderBy, stats *pb.InstructionStat)
instruction/local_distinct.go:52
↓ 1 callersFunctionDoLocalGroupBySorted
(reader io.Reader, writer io.Writer, indexes []int, stats *pb.InstructionStat)
instruction/local_group_by_sorted.go:52
↓ 1 callersFunctionDoLocalHashAndJoinWith
(leftReader, rightReader io.Reader, writer io.Writer, indexes []int, stats *pb.InstructionStat)
instruction/local_hash_and_join_with.go:53
↓ 1 callersFunctionDoLocalLimit
DoLocalLimit streamingly get the n items starting from offset
instruction/local_limit.go:55
↓ 1 callersFunctionDoLocalSort
(reader io.Reader, writer io.Writer, orderBys []OrderBy, stats *pb.InstructionStat)
instruction/local_sort.go:56
↓ 1 callersFunctionDoLocalTop
DoLocalTop streamingly compare and get the top n items
instruction/local_top.go:56
↓ 1 callersFunctionDoMergeSortedTo
(readers []io.Reader, writer io.Writer, orderBys []OrderBy, stats *pb.InstructionStat)
instruction/merge_sorted_to.go:69
↓ 1 callersFunctionDoMergeTo
(readers []io.Reader, writer io.Writer, stats *pb.InstructionStat)
instruction/merge_to.go:46
↓ 1 callersFunctionDoPipeAsArgs
(reader io.Reader, writer io.Writer, code string, stats *pb.InstructionStat)
instruction/pipe_as_args.go:55
↓ 1 callersFunctionDoRoundRobin
(reader []io.Reader, writers []io.Writer, stats *pb.InstructionStat)
instruction/roud_robin.go:49
↓ 1 callersFunctionDoScatterPartitions
(reader io.Reader, writers []io.Writer, indexes []int, stats *pb.InstructionStat)
instruction/partition_scatter.go:51
↓ 1 callersFunctionDoSelect
DoSelect projects the fields
instruction/select.go:57
↓ 1 callersFunctionDoUnion
(readers []io.Reader, writer io.Writer, isParallel bool, stats *pb.InstructionStat)
instruction/union.go:53
↓ 1 callersMethodDropAgent
(location *pb.Location)
distributed/master/structure.go:127
↓ 1 callersFunctionEncodeCompactBytes
EncodeCompactBytes joins bytes with its length into a byte slice. It is more efficient in both space and time compare to EncodeBytes. Note that the en
sql/util/codec/bytes.go:141
↓ 1 callersFunctionEncodeComparableUvarint
EncodeComparableUvarint encodes uint64 into mem-comparable bytes.
sql/util/codec/number.go:194
↓ 1 callersFunctionEncodeDecimal
EncodeDecimal encodes a decimal d into a byte slice which can be sorted lexicographically later.
sql/util/codec/decimal.go:24
↓ 1 callersFunctionEncodeFloat
EncodeFloat encodes a float v into a byte slice which can be sorted lexicographically later. EncodeFloat guarantees that the encoded value is in ascen
sql/util/codec/float.go:43
↓ 1 callersMethodEncodeMsg
EncodeMsg implements msgp.Encodable
util/row_codec.go:167
↓ 1 callersFunctionEncodeUintDesc
EncodeUintDesc appends the encoded value to slice b and returns the appended slice. EncodeUintDesc guarantees that the encoded value is in descending
sql/util/codec/number.go:87
↓ 1 callersFunctionEncodeUvarint
EncodeUvarint appends the encoded value to slice b and returns the appended slice. Note that the encoded result is not memcomparable.
sql/util/codec/number.go:141
↓ 1 callersMethodEqual
Equal checks if err is equal to e.
sql/terror/terror.go:249
↓ 1 callersMethodEqual
Equal checks whether two aggregation functions are equal.
sql/expression/aggregation.go:74
↓ 1 callersMethodEqualClass
EqualClass returns true if err is *Error with the same class.
sql/terror/terror.go:126
↓ 1 callersMethodError
()
plugins/file/csv/generic_csv_reader.go:69
↓ 1 callersMethodExecuteInstructionSet
()
distributed/executor/executor.go:43
↓ 1 callersMethodExecuteTaskGroup
ExecuteTaskGroup wait for inputs and execute the task group remotely. If cancelled, the output will be cleaned up.
distributed/driver/scheduler/scheduler_execute_task_group.go:19
↓ 1 callersFunctionExecuteWithCleanup
(parentContext context.Context, onExecute func() error, onCleanup func())
util/context.go:7
↓ 1 callersFunctionExtractTimeNum
ExtractTimeNum extracts time value number from time unit and format.
sql/util/types/time.go:1238
↓ 1 callersFunctionExtractTimeValue
ExtractTimeValue extracts time value from time unit and format.
sql/util/types/time.go:1572
↓ 1 callersMethodFetcherLoop
()
distributed/driver/scheduler/market/cda_market.go:83
↓ 1 callersFunctionFindCol
FindCol finds column in cols by name.
sql/table/column.go:53
↓ 1 callersMethodFoundRows
FoundRows gets found rows.
sql/sessionctx/variable/session.go:225
↓ 1 callersFunctionFprintf
Fprintf reads MessagePack encoded messages from reader, and formats according to a format specifier and writes to writer.
util/printf.go:28
↓ 1 callersMethodFrom
(table string)
plugins/cassandra/cassandra_source_builder.go:24
↓ 1 callersMethodFromBin
FromBin Restores decimal from its binary fixed-length representation.
sql/util/types/mydecimal.go:1164
↓ 1 callersFunctionGenSvg
(status *pb.FlowExecutionStatus)
distributed/master/ui/svg_writer.go:26
↓ 1 callersMethodGenerate
(*Flow)
flow/dataset_source.go:13
↓ 1 callersMethodGetAgents
()
distributed/master/structure.go:134
↓ 1 callersMethodGetBroadcast
()
pb/gleam.pb.go:1337
↓ 1 callersFunctionGetCharsetInfo
GetCharsetInfo returns charset and collation for cs as name.
sql/util/charset/charset.go:134
↓ 1 callersMethodGetCode
()
pb/gleam.pb.go:1492
↓ 1 callersFunctionGetColDefaultValue
GetColDefaultValue gets default value of the column.
sql/table/column.go:240
↓ 1 callersMethodGetCollectPartitions
()
pb/gleam.pb.go:1309
↓ 1 callersMethodGetCommand
()
script/shell.go:26
↓ 1 callersMethodGetContent
()
pb/gleam.pb.go:824
↓ 1 callersMethodGetDataCenters
()
distributed/master/structure.go:91
↓ 1 callersMethodGetFlowRunner
()
flow/runner.go:20
↓ 1 callersFunctionGetGlobalSystemVar
GetGlobalSystemVar gets a global system variable.
sql/sessionctx/varsutil/varsutil.go:52
↓ 1 callersMethodGetHash
()
pb/gleam.pb.go:810
↓ 1 callersMethodGetIndex
()
pb/gleam.pb.go:1767
← previousnext →801–900 of 3,091, ranked by callers