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
↓ 3 callers
Method
GetAgent
(name string)
distributed/master/structure.go:76
↓ 3 callers
Method
GetColumnsIndices
GetColumnsIndices will return a slice which contains the position of each column in schema. If there is one column that doesn't match, nil will be ret
sql/expression/schema.go:132
↓ 3 callers
Method
GetComputeResources
()
pb/gleam.pb.go:84
↓ 3 callers
Method
GetDatum
GetDatum gets datum of the expression.
sql/ast/ast.go:71
↓ 3 callers
Function
GetDefaultCollation
GetDefaultCollation returns the default collation for charset.
sql/util/charset/charset.go:121
↓ 3 callers
Method
GetExecutionStat
()
pb/gleam.pb.go:928
↓ 3 callers
Method
GetLocalLimit
()
pb/gleam.pb.go:1386
↓ 3 callers
Method
GetLocalTop
()
pb/gleam.pb.go:1330
↓ 3 callers
Method
GetPartitionSize
GetPartitionSize returns the size in MB for each partition of the dataset. This is based on the hinted total size divided by the number of partitions.
flow/context_hint.go:34
↓ 3 callers
Method
GetRack
(name string)
distributed/master/structure.go:68
↓ 3 callers
Method
GetReaderCount
()
pb/gleam.pb.go:1120
↓ 3 callers
Method
GetResources
(ctx context.Context, in *ComputeRequest, opts ...grpc.CallOption)
pb/gleam.pb.go:1930
↓ 3 callers
Method
GetScript
()
pb/gleam.pb.go:1351
↓ 3 callers
Method
GetSelect
()
pb/gleam.pb.go:1274
↓ 3 callers
Method
GetStepId
()
pb/gleam.pb.go:1239
↓ 3 callers
Method
GetTaskId
()
pb/gleam.pb.go:1246
↓ 3 callers
Method
GetWriteRequest
()
pb/gleam.pb.go:1024
↓ 3 callers
Method
HashCode
HashCode create the hashcode for expression
sql/expression/expression.go:62
↓ 3 callers
Method
Hint
Hint adds hints to the flow.
flow/context_hint.go:10
↓ 3 callers
Method
IsDistinct
IsDistinct indicates if the aggregate function contains distinct attribute.
sql/expression/aggregation.go:68
↓ 3 callers
Method
IsNegative
IsNegative returns whether a decimal is negative.
sql/util/types/mydecimal.go:168
↓ 3 callers
Function
IsTypeBlob
IsTypeBlob returns a boolean indicating whether the tp is a blob type.
sql/util/types/etc.go:32
↓ 3 callers
Function
IsTypeChar
IsTypeChar returns a boolean indicating whether the tp is the char type like a string type or a varchar type.
sql/util/types/etc.go:43
↓ 3 callers
Method
LocalGroupBy
(name string, sortOption *SortOption)
flow/dataset_group.go:18
↓ 3 callers
Method
LocalLimit
LocalLimit take the local first n rows and skip all other rows.
flow/dataset_map.go:59
↓ 3 callers
Function
MakeDatums
MakeDatums creates datum slice from interfaces.
sql/util/types/datum.go:1485
↓ 3 callers
Method
Msgsize
Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
util/row_codec.go:428
↓ 3 callers
Function
NewGleamMasterClient
(cc *grpc.ClientConn)
pb/gleam.pb.go:1939
↓ 3 callers
Function
NewPriorityQueue
(lessFunc func(a, b interface{}) bool)
util/priority_queue.go:23
↓ 3 callers
Function
NewSelect
(keyIndexes, valueIndexes []int)
instruction/select.go:29
↓ 3 callers
Method
Next
Next returns the next row, nil row means there is no more to return.
sql/ast/ast.go:141
↓ 3 callers
Method
Output
Output concurrently collects outputs from previous step to the driver.
flow/dataset_output.go:17
↓ 3 callers
Method
PrecisionAndFrac
PrecisionAndFrac returns the internal precision and frac number.
sql/util/types/mydecimal.go:1153
↓ 3 callers
Function
RegisterReducer
(fn Reducer)
gio/map_reduce.go:94
↓ 3 callers
Method
ReplaceChild
ReplaceChild means replacing a child with another one.
sql/plan/plan.go:84
↓ 3 callers
Method
RunFunction
(task *Task)
flow/step.go:36
↓ 3 callers
Function
ScalarFuncs2Exprs
ScalarFuncs2Exprs converts []*ScalarFunction to []Expression.
sql/expression/scalar_function.go:84
↓ 3 callers
Method
Seek
(offset int64, pos int)
plugins/file/parquet/parquet_file_reader.go:35
↓ 3 callers
Method
SetBytesAsString
SetBytesAsString sets bytes value to datum as string type.
sql/util/types/datum.go:176
↓ 3 callers
Method
SetFrac
SetFrac sets the frac of the datum.
sql/util/types/datum.go:85
↓ 3 callers
Method
SetRow
SetRow sets row value.
sql/util/types/datum.go:198
↓ 3 callers
Method
SetUniqueKeys
SetUniqueKeys will set the value of Schema.Keys.
sql/expression/schema.go:126
↓ 3 callers
Method
TableByName
(schema, table model.CIStr)
sql/infoschema/infoschema.go:60
↓ 3 callers
Function
TakeMessage
TakeMessage Reads and processes MessagePack encoded messages. If count is less than 0, all lines are processed.
util/message_read.go:58
↓ 3 callers
Function
ToFloat64
(val interface{})
util/type_convertion.go:40
↓ 3 callers
Method
ToOsExecCommand
()
script/script.go:29
↓ 3 callers
Function
TsEmit
TsEmit encode and write a row of data to os.Stdout with ts in milliseconds epoch time
gio/emit.go:16
↓ 3 callers
Method
UnmarshalMsg
UnmarshalMsg implements msgp.Unmarshaler
util/row_codec.go:280
↓ 3 callers
Method
addTopN
(ctx context.Context, prop *requiredProperty)
sql/plan/physical_plans.go:80
↓ 3 callers
Method
attachOnConds
(onConds []expression.Expression)
sql/plan/logical_plans.go:59
↓ 3 callers
Function
boolToInt64
(v bool)
sql/expression/helper.go:33
↓ 3 callers
Method
buildQuantifierPlan
buildQuantifierPlan adds extra condition for any / all subquery.
sql/plan/expression_rewriter.go:311
↓ 3 callers
Method
buildUnion
(union *ast.UnionStmt)
sql/plan/logical_plan_builder.go:340
↓ 3 callers
Function
calcTimeDiff
calcTimeDiff calculates difference between two datetime values as seconds + microseconds. t1 and t2 should be TIME/DATE/DATETIME value. sign can be +1
sql/util/types/mytime.go:131
↓ 3 callers
Function
checkFsp
(sc *variable.StatementContext, arg types.Datum)
sql/expression/builtin_time.go:1328
↓ 3 callers
Function
connect
(canvas *svg.SVG, a, b point, label string)
distributed/master/ui/svg_writer_helper.go:39
↓ 3 callers
Method
constructBinaryOpFunction
constructBinaryOpFunctions converts (a0,a1,a2) op (b0,b1,b2) to (a0 op b0) and (a1 op b1) and (a2 op b2).
sql/plan/expression_rewriter.go:119
↓ 3 callers
Method
convert2PhysicalPlanLeft
convert2PhysicalPlanLeft converts the left join to *physicalPlanInfo.
sql/plan/physical_plan_builder.go:319
↓ 3 callers
Function
convertIntToUint
(val int64, upperBound uint64, tp byte)
sql/util/types/convert.go:96
↓ 3 callers
Function
copyBuffer
(dst io.Writer, src io.Reader, written *int64)
util/channel_util.go:206
↓ 3 callers
Function
datumToConstant
(d types.Datum, tp byte)
sql/plan/expression_rewriter.go:642
↓ 3 callers
Method
doDelete
(name string)
distributed/agent/local_dataset_shards_manager.go:29
↓ 3 callers
Method
doDelete
(name string)
distributed/agent/local_dataset_shards_manager_in_memory.go:74
↓ 3 callers
Function
doOptimize
(logic LogicalPlan, ctx context.Context, allocator *idAllocator)
sql/plan/optimizer.go:51
↓ 3 callers
Function
doSub
(from1, from2, to *MyDecimal)
sql/util/types/mydecimal.go:1344
↓ 3 callers
Function
errorOrWarning
errorOrWarning reports error or warning depend on the context.
sql/expression/builtin_time.go:1519
↓ 3 callers
Function
extractSecondMicrosecond
Format is `SS.FFFFFF`.
sql/util/types/time.go:1342
↓ 3 callers
Method
filename
()
distributed/store/single_file_store.go:122
↓ 3 callers
Function
findColumnIndexByGroup
(groups []LogicalPlan, col *expression.Column)
sql/plan/join_reorder.go:38
↓ 3 callers
Function
findIndexByName
(indices []*model.IndexInfo, name model.CIStr)
sql/plan/planbuilder.go:204
↓ 3 callers
Method
getMsg
()
sql/terror/terror.go:215
↓ 3 callers
Function
getPrintDivLine
(maxColLen []int)
sql/util/printer/printer.go:76
↓ 3 callers
Function
mergeArithType
(a, b byte)
sql/plan/typeinferer.go:196
↓ 3 callers
Function
rangePointLess
(sc *variable.StatementContext, a, b rangePoint)
sql/plan/range.go:75
↓ 3 callers
Method
resolveHavingAndOrderBy
(sel *ast.SelectStmt, p LogicalPlan)
sql/plan/logical_plan_builder.go:651
↓ 3 callers
Method
scanFloat
(beg *Pos)
sql/parser/lexer.go:555
↓ 3 callers
Function
scanTimeArgs
(seps []string, args ...*int)
sql/util/types/time.go:613
↓ 3 callers
Method
sendOneHeartbeat
(stream pb.GleamMaster_SendHeartbeatClient)
distributed/agent/agent_grpc_client_to_master.go:61
↓ 3 callers
Function
skipEmptySpace
(input string)
sql/util/types/time.go:1895
↓ 3 callers
Method
skipEmptySpace
()
sql/parser/lexer.go:138
↓ 3 callers
Function
splitLocationToParts
(location string)
filesystem/vfs_hdfs.go:94
↓ 3 callers
Method
startOffset
(v *yySymType)
sql/parser/yy_parser.go:128
↓ 3 callers
Function
sub
sub subtracts b and carry from a, returns the diff and new carry.
sql/util/types/mydecimal.go:76
↓ 3 callers
Method
tableUniqueName
(schema, table model.CIStr)
sql/resolver/resolver.go:794
↓ 3 callers
Method
test
(flag weekBehaviour)
sql/util/types/mytime.go:222
↓ 3 callers
Function
writeWord
(b []byte, word int32, size int)
sql/util/types/mydecimal.go:1292
↓ 3 callers
Function
yySymName
(c int)
sql/parser/parser.go:8043
↓ 2 callers
Method
AddChild
AddChild means appending a child for plan.
sql/plan/plan.go:80
↓ 2 callers
Function
AddInteger
AddInteger adds uint64 a and int64 b and returns uint64 if no overflow error.
sql/util/types/overflow.go:44
↓ 2 callers
Method
Available
()
util/message_write.go:40
↓ 2 callers
Function
BufWrites
BufWrites ensures all writers are bufio.Writer For any bufio.Writer created here, flush it before returning.
util/buf_writer.go:10
↓ 2 callers
Function
CastValue
CastValue casts a value based on column type.
sql/table/column.go:112
↓ 2 callers
Function
ChannelToLineWriter
(wg *sync.WaitGroup, stat *pb.InstructionStat, name string, reader io.Reader, writer io.WriteCloser, errorOutp
util/channel_util.go:191
↓ 2 callers
Method
Closed
()
flow/dataset.go:33
↓ 2 callers
Function
CoerceArithmetic
CoerceArithmetic converts datum to appropriate datum for arithmetic computing.
sql/util/types/datum_eval.go:25
↓ 2 callers
Method
CompactStr
CompactStr only considers Tp/CharsetBin/Flen/Deimal. This is used for showing column type in infoschema.
sql/util/types/field_type.go:60
↓ 2 callers
Function
ComputePlus
ComputePlus computes the result of a+b.
sql/util/types/datum_eval.go:75
↓ 2 callers
Method
Convert
Convert converts t with type tp.
sql/util/types/time.go:240
↓ 2 callers
Function
ConvertLineReaderToRowReader
(lineReader io.Reader, name string, errorOutput io.Writer)
util/channel_util.go:170
↓ 2 callers
Function
CreateDistinctChecker
CreateDistinctChecker creates a new distinct checker.
sql/util/distinct/distinct.go:23
← previous
next →
401–500 of 3,091, ranked by callers