Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chrislusf/gleam
/ functions
Functions
3,091 in github.com/chrislusf/gleam
⨍
Functions
3,091
◇
Types & classes
751
↓ 2 callers
Method
CreateNamedDatasetShard
(name string)
distributed/agent/local_dataset_shards_manager.go:56
↓ 2 callers
Function
Csv
(fileOrPattern string, partitionCount int)
plugins/file/file_reader.go:26
↓ 2 callers
Method
Day
()
sql/util/types/mytime.go:40
↓ 2 callers
Function
DecimalMul
* DecimalMul multiplies two decimals. from1, from2 - factors to - product RETURN VALUE E_DEC_OK/E_DEC_TRUNCATED/E_DEC_OVERFLO
sql/util/types/mydecimal.go:1663
↓ 2 callers
Function
DecodeInt
DecodeInt decodes value encoded by EncodeInt before. It returns the leftover un-decoded slice, decoded value if no error.
sql/util/codec/number.go:53
↓ 2 callers
Function
DecodeUint
DecodeUint decodes value encoded by EncodeUint before. It returns the leftover un-decoded slice, decoded value if no error.
sql/util/codec/number.go:95
↓ 2 callers
Function
DecodeVarint
DecodeVarint decodes value encoded by EncodeVarint before. It returns the leftover un-decoded slice, decoded value if no error.
sql/util/codec/number.go:128
↓ 2 callers
Method
Destroy
()
distributed/store/local_file_data_store.go:13
↓ 2 callers
Function
EncodeBytes
EncodeBytes guarantees the encoded value is in ascending order for comparison, encoding with the following rule: [group1][marker1]...[groupN][markerN]
sql/util/codec/bytes.go:46
↓ 2 callers
Function
EncodeInt
EncodeInt appends the encoded value to slice b and returns the appended slice. EncodeInt guarantees that the encoded value is in ascending order for c
sql/util/codec/number.go:35
↓ 2 callers
Function
EncodeKeys
EncodeKeys encode keys to a blob, for comparing or sorting
util/row_read_write.go:41
↓ 2 callers
Function
EncodeVarint
EncodeVarint 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:120
↓ 2 callers
Function
ErrorEqual
ErrorEqual returns a boolean indicating whether err1 is equal to err2.
sql/terror/terror.go:296
↓ 2 callers
Method
Errors
()
sql/parser/parser.go:8035
↓ 2 callers
Function
EvalBool
EvalBool evaluates expression to a boolean value.
sql/expression/expression.go:78
↓ 2 callers
Method
Exec
Exec executes SQL and gets a Recordset.
sql/ast/ast.go:168
↓ 2 callers
Function
FoldConstant
FoldConstant does constant folding optimization on an expression.
sql/expression/constant_fold.go:22
↓ 2 callers
Method
Frac
Frac gets the frac of the datum.
sql/util/types/datum.go:80
↓ 2 callers
Function
GenerateFileHash
(fullpath string)
distributed/resource/related_files.go:23
↓ 2 callers
Method
GetArgs
GetArgs implements AggregationFunction interface.
sql/expression/aggregation.go:217
↓ 2 callers
Method
GetCoGroupPartitionedSorted
()
pb/gleam.pb.go:1288
↓ 2 callers
Method
GetCommand
()
script/script.go:16
↓ 2 callers
Method
GetCpuLevel
()
pb/gleam.pb.go:133
↓ 2 callers
Function
GetDefaultDecimal
GetDefaultDecimal returns the default decimal length for column.
sql/mysql/util.go:45
↓ 2 callers
Function
GetDefaultFieldLength
GetDefaultFieldLength is used for Interger Types, Flen is the display length. Call this when no Flen assigned in ddl. or column value is calculated fr
sql/mysql/util.go:21
↓ 2 callers
Method
GetDir
()
pb/gleam.pb.go:873
↓ 2 callers
Method
GetFlowHashCode
()
pb/gleam.pb.go:1179
↓ 2 callers
Method
GetGlobalSysVar
GetGlobalSysVar gets the global system variable value for name.
sql/sessionctx/variable/sysvar.go:607
↓ 2 callers
Method
GetGpuLevel
()
pb/gleam.pb.go:147
↓ 2 callers
Method
GetIsPipe
()
pb/gleam.pb.go:1615
↓ 2 callers
Method
GetLocalDistinct
()
pb/gleam.pb.go:1379
↓ 2 callers
Method
GetLocalGroupBySorted
()
pb/gleam.pb.go:1393
↓ 2 callers
Method
GetLocalHashAndJoinWith
()
pb/gleam.pb.go:1344
↓ 2 callers
Method
GetLocalSort
()
pb/gleam.pb.go:1358
↓ 2 callers
Method
GetMemoryCostInMB
(partitionSize int64)
instruction/instruction.go:30
↓ 2 callers
Method
GetMergeSortedTo
()
pb/gleam.pb.go:1365
↓ 2 callers
Method
GetN
()
pb/gleam.pb.go:1563
↓ 2 callers
Method
GetOnDisk
()
pb/gleam.pb.go:339
↓ 2 callers
Method
GetOutput
()
pb/gleam.pb.go:900
↓ 2 callers
Method
GetParentIds
()
pb/gleam.pb.go:480
↓ 2 callers
Method
GetPipeAsArgs
()
pb/gleam.pb.go:1295
↓ 2 callers
Method
GetResource
()
pb/gleam.pb.go:291
↓ 2 callers
Method
GetScatterPartitions
()
pb/gleam.pb.go:1302
↓ 2 callers
Method
GetScriptCommand
()
flow/step.go:69
↓ 2 callers
Function
GetSessionSystemVar
GetSessionSystemVar gets a system variable. If it is a session only variable, use the default value defined in code. Returns error if there is no such
sql/sessionctx/varsutil/varsutil.go:29
↓ 2 callers
Method
GetShardLocation
(shardName string)
distributed/driver/scheduler/shard_location.go:26
↓ 2 callers
Method
GetStatusFlag
GetStatusFlag gets the session server status variable, returns true if it is on.
sql/sessionctx/variable/session.go:169
↓ 2 callers
Method
GetSystemTime
()
pb/gleam.pb.go:914
↓ 2 callers
Method
GetTaskGroupStatus
(taskGroup *plan.TaskGroup)
distributed/driver/driver_execution_status.go:14
↓ 2 callers
Method
GetTotalSize
GetTotalSize returns the total size in MB for the dataset. This is based on the given hint.
flow/context_hint.go:19
↓ 2 callers
Method
GetType
Get the expression return type.
sql/expression/expression.go:56
↓ 2 callers
Method
GetUnion
()
pb/gleam.pb.go:1400
↓ 2 callers
Function
GroupTasks
(fc *flow.Flow)
distributed/plan/plan.go:33
↓ 2 callers
Function
HasAutoIncrementFlag
HasAutoIncrementFlag checks if AutoIncrementFlag is set.
sql/mysql/type.go:100
↓ 2 callers
Function
HasNoDefaultValueFlag
HasNoDefaultValueFlag checks if NoDefaultValueFlag is set.
sql/mysql/type.go:95
↓ 2 callers
Function
HasOnUpdateNowFlag
HasOnUpdateNowFlag checks if OnUpdateNowFlag is set.
sql/mysql/type.go:140
↓ 2 callers
Function
Hash
(bytes []byte)
util/hash.go:7
↓ 2 callers
Function
HashByKeys
(data []interface{})
util/key.go:9
↓ 2 callers
Method
Hour
()
sql/util/types/mytime.go:44
↓ 2 callers
Function
InferType
InferType infers result type for ast.ExprNode.
sql/plan/typeinferer.go:31
↓ 2 callers
Method
InstructionNames
()
pb/instruction_helper.go:15
↓ 2 callers
Method
JoinByKey
TODO use actual key fields instead of Field(1)
flow/dataset_join.go:14
↓ 2 callers
Method
LastReadAt
()
distributed/store/local_file_data_store.go:15
↓ 2 callers
Method
LastWriteAt
()
distributed/store/local_file_data_store.go:14
↓ 2 callers
Function
LineReaderToChannel
(wg *sync.WaitGroup, stat *pb.InstructionStat, name string, reader io.Reader, ch io.WriteCloser, closeOutput b
util/channel_util.go:142
↓ 2 callers
Method
LocalDistinct
(name string, sortOption *SortOption)
flow/dataset_sort.go:51
↓ 2 callers
Function
Lookup
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
sql/util/charset/encoding_table.go:32
↓ 2 callers
Method
MarkStop
(err error)
distributed/plan/plan.go:95
↓ 2 callers
Function
MergeFieldType
MergeFieldType merges two MySQL type to a new type. This is used in hybrid field type expression. For example "select case c when 1 then 2 when 2 then
sql/util/types/field_type.go:194
↓ 2 callers
Method
MergeTo
(name string, partitionCount int)
flow/dataset_merge.go:35
↓ 2 callers
Method
Meta
Meta returns TableInfo.
sql/table/table.go:57
↓ 2 callers
Method
Microsecond
()
sql/util/types/mytime.go:56
↓ 2 callers
Method
Minute
()
sql/util/types/mytime.go:48
↓ 2 callers
Method
Month
()
sql/util/types/mytime.go:36
↓ 2 callers
Function
MulInteger
MulInteger multiplies uint64 a and int64 b, and returns uint64 if no overflow error.
sql/util/types/overflow.go:143
↓ 2 callers
Function
New
New returns a Parser object.
sql/parser/yy_parser.go:70
↓ 2 callers
Function
NewBroadcast
()
instruction/broadcast.go:22
↓ 2 callers
Function
NewBufferedMessageWriter
(w io.Writer, size int)
util/message_write.go:33
↓ 2 callers
Function
NewBytesDatum
NewBytesDatum creates a new Datum from a byte slice.
sql/util/types/datum.go:1449
↓ 2 callers
Function
NewCastFunc
NewCastFunc creates a new cast function.
sql/expression/expression.go:323
↓ 2 callers
Function
NewCoGroupPartitionedSorted
(indexes []int)
instruction/cogroup_partitioned_sorted.go:25
↓ 2 callers
Function
NewCollectPartitions
()
instruction/partition_collect.go:22
↓ 2 callers
Function
NewFloat64Datum
NewFloat64Datum creates a new Datum from a float64 value.
sql/util/types/datum.go:1461
↓ 2 callers
Function
NewGleamAgentClient
(cc *grpc.ClientConn)
pb/gleam.pb.go:2239
↓ 2 callers
Function
NewJoinPartitionedSorted
(isLeftOuterJoin bool, isRightOuterJoin bool, indexes []int)
instruction/join_partitioned_sorted.go:29
↓ 2 callers
Function
NewLocalDistinct
(orderBys []OrderBy)
instruction/local_distinct.go:26
↓ 2 callers
Function
NewLocalGroupBySorted
(indexes []int)
instruction/local_group_by_sorted.go:26
↓ 2 callers
Function
NewLocalHashAndJoinWith
(indexes []int)
instruction/local_hash_and_join_with.go:27
↓ 2 callers
Function
NewLocalLimit
(n int, offset int)
instruction/local_limit.go:27
↓ 2 callers
Function
NewLocalSort
(orderBys []OrderBy, memoryInMB int)
instruction/local_sort.go:30
↓ 2 callers
Function
NewLocalTop
(n int, orderBys []OrderBy)
instruction/local_top.go:28
↓ 2 callers
Function
NewMarket
()
distributed/driver/scheduler/market/cda_market.go:46
↓ 2 callers
Function
NewMergeSortedTo
(orderBys []OrderBy)
instruction/merge_sorted_to.go:26
↓ 2 callers
Function
NewMergeTo
()
instruction/merge_to.go:22
↓ 2 callers
Function
NewPipeAsArgs
(code string)
instruction/pipe_as_args.go:29
↓ 2 callers
Function
NewRoundRobin
()
instruction/roud_robin.go:25
↓ 2 callers
Function
NewScatterPartitions
(indexes []int)
instruction/partition_scatter.go:25
↓ 2 callers
Function
NewShellScript
()
script/shell.go:15
↓ 2 callers
Function
NewUnion
(isParallel bool)
instruction/union.go:25
↓ 2 callers
Function
NewValuesFunc
NewValuesFunc creates a new values function.
sql/expression/expression.go:333
← previous
next →
501–600 of 3,091, ranked by callers