MCPcopy Index your code

hub / github.com/chrislusf/gleam / functions

Functions3,091 in github.com/chrislusf/gleam

↓ 5 callersFunctionmyMaxInt8
(a, b int8)
sql/util/types/helper.go:97
↓ 5 callersMethodnotToExpression
(hasNot bool, op string, tp *types.FieldType, args ...expression.Expression)
sql/plan/expression_rewriter.go:748
↓ 5 callersMethodreadByte
()
sql/parser/lexer.go:637
↓ 5 callersFunctionremoveLimit
removeLimit removes the limit from prop.
sql/plan/physical_plan_builder.go:222
↓ 4 callersMethodAccept
(*FileLocation)
filesystem/vfs.go:28
↓ 4 callersMethodAddDemand
retChan should be a buffered channel
distributed/driver/scheduler/market/cda_market.go:63
↓ 4 callersMethodAddOneToOneStep
the tasks should run on the source dataset shard
flow/context.go:52
↓ 4 callersMethodAddress
()
pb/instruction_helper.go:11
↓ 4 callersMethodChannel
Channel accepts a channel to feed into the flow.
flow/dataset_source.go:78
↓ 4 callersMethodCleanup
(ctx context.Context, in *CleanupRequest, opts ...grpc.CallOption)
pb/gleam.pb.go:2232
↓ 4 callersFunctionCoerceDatum
CoerceDatum changes type. If a or b is Float, changes the both to Float. Else if a or b is Decimal, changes the both to Decimal. Else if a or b is Uin
sql/util/types/datum.go:1357
↓ 4 callersFunctionCompareInt64
CompareInt64 returns an integer comparing the int64 x to y.
sql/util/types/compare.go:21
↓ 4 callersFunctionComposeDNFCondition
ComposeDNFCondition composes DNF items into a balance deep DNF tree.
sql/expression/expression.go:201
↓ 4 callersMethodCovers
(b ComputeResource)
pb/resource_proto_helper.go:55
↓ 4 callersMethodDateFormat
DateFormat returns a textual representation of the time value formatted according to layout. See http://dev.mysql.com/doc/refman/5.7/en/date-and-time-
sql/util/types/time.go:1640
↓ 4 callersMethodDequeue
()
util/priority_queue.go:35
↓ 4 callersMethodExec
()
sql/executor/executor.go:9
↓ 4 callersFunctionExecute
all data passing through pipe are all (size, msgpack_encoded) tuples The input and output should all be this msgpack format. Only the stdin and stdout
util/exec_util.go:16
↓ 4 callersMethodExecute
(ctx context.Context, in *ExecutionRequest, opts ...grpc.CallOption)
pb/gleam.pb.go:2228
↓ 4 callersMethodGetCpuCount
()
pb/gleam.pb.go:126
↓ 4 callersMethodGetDiskMb
()
pb/gleam.pb.go:161
↓ 4 callersMethodGetFlowHashCode
()
pb/gleam.pb.go:1814
↓ 4 callersMethodGetGpuCount
()
pb/gleam.pb.go:140
↓ 4 callersMethodGetJoinPartitionedSorted
()
pb/gleam.pb.go:1281
↓ 4 callersMethodGetOrderBys
()
pb/gleam.pb.go:1570
↓ 4 callersMethodGetRow
GetRow gets row value.
sql/util/types/datum.go:193
↓ 4 callersMethodGetType
GetType gets field type of aggregate function.
sql/expression/aggregation.go:80
↓ 4 callersFunctionHasPriKeyFlag
HasPriKeyFlag checks if PriKeyFlag is set.
sql/mysql/type.go:120
↓ 4 callersFunctionHasUnsignedFlag
HasUnsignedFlag checks if UnsignedFlag is set.
sql/mysql/type.go:105
↓ 4 callersFunctionInvOp2
InvOp2 returns an invalid operation error.
sql/util/types/etc.go:127
↓ 4 callersMethodInvalidZero
InvalidZero returns a boolean indicating whether the month or day is zero.
sql/util/types/time.go:197
↓ 4 callersMethodLen
()
util/priority_queue.go:44
↓ 4 callersMethodLocalReduceBy
(name string, reducerId gio.ReducerId, sortOption *SortOption)
flow/dataset_reduce.go:44
↓ 4 callersMethodMergeDatasets1ShardTo1Step
All dataset should have the same number of shards.
flow/context.go:167
↓ 4 callersFunctionOnInterrupt
(fn func(), onExitFunc func())
util/on_interrupt/signal_handling_windows.go:11
↓ 4 callersMethodPartitionByKey
(name string, shard int)
flow/dataset_partition.go:38
↓ 4 callersFunctionPropagateConstant
PropagateConstant propagate constant values of equality predicates and inequality predicates in a condition.
sql/expression/constant_propagation.go:255
↓ 4 callersMethodReduceByKey
ReduceByKey runs the reducer registered to the reducerId, combining rows with the same key fields into one row
flow/dataset_reduce.go:14
↓ 4 callersMethodRoundRobin
(name string, n int)
flow/dataset_partition.go:7
↓ 4 callersMethodSetArgs
SetArgs sets argument by index.
sql/expression/aggregation.go:62
↓ 4 callersFunctionSetFlag
SetFlag sets flag for expression.
sql/ast/flag.go:22
↓ 4 callersMethodSetMysqlDuration
SetMysqlDuration sets Duration value
sql/util/types/datum.go:240
↓ 4 callersFunctionSplitCNFItems
SplitCNFItems splits CNF items. CNF means conjunctive normal form, e.g. "a and b and c".
sql/expression/expression.go:239
↓ 4 callersFunctionToFloat64
(val interface{})
gio/type_convertion.go:8
↓ 4 callersFunctionToInt64
(val interface{})
util/type_convertion.go:3
↓ 4 callersMethodYearWeek
(mode int)
sql/util/types/time.go:136
↓ 4 callersMethodaddCastToString
AddCastToString adds a cast function to string type if the expr charset is not UTF8.
sql/plan/typeinferer.go:424
↓ 4 callersMethodaddLimit
(limit *Limit)
sql/plan/physical_plans.go:81
↓ 4 callersFunctionarrow
arrow constructs line-ending arrows according to connecting points
distributed/master/ui/svg_writer_helper.go:97
↓ 4 callersMethodbuild
(expr expression.Expression)
sql/plan/range.go:103
↓ 4 callersMethodbuild
(p plan.Plan)
sql/executor/builder.go:28
↓ 4 callersMethodbuildLimit
(src LogicalPlan, limit *ast.Limit)
sql/plan/logical_plan_builder.go:443
↓ 4 callersMethodbuildSelect
(sel *ast.SelectStmt)
sql/plan/logical_plan_builder.go:807
↓ 4 callersMethodbuildSelection
(p LogicalPlan, where ast.ExprNode, AggMapper map[*ast.AggregateFuncExpr]int)
sql/plan/logical_plan_builder.go:233
↓ 4 callersMethodbuildSort
(p LogicalPlan, byItems []*ast.ByItem, aggMapper map[*ast.AggregateFuncExpr]int)
sql/plan/logical_plan_builder.go:408
↓ 4 callersMethodbuildSubquery
(subq *ast.SubqueryExpr)
sql/plan/expression_rewriter.go:137
↓ 4 callersFunctioncalcDaysInYear
calcDaysInYear calculates days in one year, it works with 0 <= year <= 99.
sql/util/types/mytime.go:193
↓ 4 callersFunctioncalculateSum
calculateSum adds v to sum.
sql/expression/util.go:73
↓ 4 callersFunctioncheckDuplicateColumnName
checkDuplicateColumnName checks if index exists duplicated columns.
sql/plan/validator.go:281
↓ 4 callersMethodcollectGroupByColumns
()
sql/plan/logical_plan_builder.go:37
↓ 4 callersFunctioncompareTime
(a, b TimeInternal)
sql/util/types/time.go:274
↓ 4 callersFunctionconvertLimitOffsetToCount
convertLimitOffsetToCount changes the limit(offset, count) in prop to limit(0, offset + count).
sql/plan/physical_plan_builder.go:231
↓ 4 callersMethodconvertPoint
(point rangePoint, tp *types.FieldType)
sql/plan/range.go:473
↓ 4 callersMethodconvertToUint
(sc *variable.StatementContext, target *FieldType)
sql/util/types/datum.go:805
↓ 4 callersFunctioncountLeadingZeroes
* countLeadingZeroes returns the number of leading zeroes that can be removed from fraction. @param i start index @param word value to c
sql/util/types/mydecimal.go:121
↓ 4 callersFunctiondoline
doline draws a line between to coordinates
distributed/master/ui/svg_writer_helper.go:141
↓ 4 callersFunctionencodeRow
EncodeRow encode one row of data to a blob
util/row_read_write.go:36
↓ 4 callersFunctionencodeUnsignedInt
(b []byte, v uint64, comparable bool)
sql/util/codec/codec.go:109
↓ 4 callersFunctionextractOnCondition
(conditions []expression.Expression, left LogicalPlan, right LogicalPlan)
sql/plan/logical_plan_builder.go:152
↓ 4 callersMethodfindRoot
(a int)
sql/expression/constant_propagation.go:55
↓ 4 callersFunctiongetOrderBys
(storedValues []OrderBy)
instruction/local_sort.go:120
↓ 4 callersFunctionlessThan
(orderBys []OrderBy, x, y *util.Row)
instruction/local_sort.go:92
↓ 4 callersFunctionlinestyle
linestyle returns the style for lines
distributed/master/ui/svg_writer_helper.go:92
↓ 4 callersMethodmatchProperty
matchProperty calculates the cost of the physical plan if it matches the required property. It's usually called at the end of convert2PhysicalPlan. So
sql/plan/plan.go:188
↓ 4 callersFunctionmax
(x, y int64)
instruction/utils.go:80
↓ 4 callersFunctionmyMin
(a, b int)
sql/util/types/helper.go:104
↓ 4 callersFunctionnewChannelOfValuesWithSameKey
create a channel to aggregate values of the same key automatically close original sorted channel
instruction/utils.go:32
↓ 4 callersFunctionparseTwoNumeric
parseTwoNumeric is used for pattens 0..31 0..24 0..60 and so on. It returns the parsed int, and remain data after parse.
sql/util/types/time.go:2112
↓ 4 callersFunctionreadWord
(b []byte, size int)
sql/util/types/mydecimal.go:1273
↓ 4 callersMethodremoveLeadingZeros
()
sql/util/types/mydecimal.go:184
↓ 4 callersFunctionresolveFromSelectFields
(v *ast.ColumnNameExpr, fields []*ast.SelectField, ignoreAsName bool)
sql/plan/logical_plan_builder.go:502
↓ 4 callersMethodscan
()
sql/parser/lexer.go:142
↓ 4 callersMethodscanDigits
()
sql/parser/lexer.go:580
↓ 4 callersFunctiontoOrderBys
(orderBys []*pb.OrderBy)
instruction/utils.go:20
↓ 4 callersFunctionwithClient
(server string, fn func(client pb.GleamAgentClient) error)
distributed/driver/scheduler/grpc_client_to_agent.go:202
↓ 3 callersMethodAddLinkedNToOneStep
(input *Dataset, m int, output *Dataset)
flow/context.go:149
↓ 3 callersMethodAddParent
AddParent means appending a parent for plan.
sql/plan/plan.go:78
↓ 3 callersFunctionAddUint64
AddUint64 adds uint64 a and b if no overflow, else returns error.
sql/util/types/overflow.go:26
↓ 3 callersMethodAppendWarning
AppendWarning appends a warning.
sql/sessionctx/variable/session.go:256
↓ 3 callersMethodCast
Cast casts datum to certain types.
sql/util/types/datum.go:636
↓ 3 callersFunctionConvertDatumToDecimal
ConvertDatumToDecimal converts datum to decimal.
sql/util/types/datum.go:1149
↓ 3 callersFunctionDecimalDiv
DecimalDiv does division of two decimals. from1 - dividend from2 - divisor to - quotient fracIncr - increment of fraction
sql/util/types/mydecimal.go:1792
↓ 3 callersMethodDecorrelate
Decorrelate try to decorrelate the expression by schema.
sql/expression/expression.go:71
↓ 3 callersFunctionDefaultTypeForValue
DefaultTypeForValue returns the default FieldType for the value.
sql/util/types/field_type.go:119
↓ 3 callersMethodDelete
(ctx context.Context, in *DeleteDatasetShardRequest, opts ...grpc.CallOption)
pb/gleam.pb.go:2231
↓ 3 callersFunctionDialReadChannel
(ctx context.Context, wg *sync.WaitGroup, readerName string, address string, channelName string, onDisk bool,
distributed/netchan/channels.go:19
↓ 3 callersFunctionDialWriteChannel
(ctx context.Context, wg *sync.WaitGroup, writerName string, address string, channelName string, onDisk bool,
distributed/netchan/channels.go:54
↓ 3 callersFunctionEncodeKey
EncodeKey appends the encoded values to byte slice b, returns the appended slice. It guarantees the encoded value is in ascending order for comparison
sql/util/codec/codec.go:123
↓ 3 callersFunctionEncodeUint
EncodeUint appends the encoded value to slice b and returns the appended slice. EncodeUint guarantees that the encoded value is in ascending order for
sql/util/codec/number.go:79
↓ 3 callersMethodFunction
()
instruction/instruction.go:28
← previousnext →301–400 of 3,091, ranked by callers