MCPcopy Index your code

hub / github.com/chrislusf/gleam / functions

Functions3,091 in github.com/chrislusf/gleam

↓ 8 callersMethodresolveColumnInTableSources
(cn *ast.ColumnNameExpr, tableSources []*ast.TableSource)
sql/resolver/resolver.go:578
↓ 7 callersMethodCheck
Check checks if values is distinct.
sql/util/distinct/distinct.go:35
↓ 7 callersFunctionColumn2Exprs
Column2Exprs will transfer column slice to expression slice.
sql/expression/column.go:161
↓ 7 callersMethodGetBytes
GetBytes gets bytes value.
sql/util/types/datum.go:165
↓ 7 callersMethodGetFloat32
GetFloat32 gets float32 value.
sql/util/types/datum.go:138
↓ 7 callersMethodGetInstructionSet
()
pb/gleam.pb.go:866
↓ 7 callersMethodGetIsOnDiskIO
GetIsOnDiskIO returns true if the dataset is persisted to disk in distributed mode.
flow/context_hint.go:40
↓ 7 callersFunctionMinNotNullDatum
MinNotNullDatum returns a datum represents minimum not null value.
sql/util/types/datum.go:1503
↓ 7 callersFunctionNewIntDatum
NewIntDatum creates a new Datum from an int64 value.
sql/util/types/datum.go:1437
↓ 7 callersMethodNewStep
()
flow/step.go:14
↓ 7 callersFunctionParseTimeFromNum
ParseTimeFromNum parses a formatted int64, returns the value which type is tp.
sql/util/types/time.go:1099
↓ 7 callersFunctionProcessMessage
ProcessMessage Reads and processes MessagePack encoded messages until EOF
util/message_read.go:83
↓ 7 callersMethodReset
()
pb/gleam.pb.go:308
↓ 7 callersMethodSource
Source produces data feeding into the flow. Function f writes to this writer. The written bytes should be MsgPack encoded []byte. Use util.EncodeRow(.
flow/dataset_source.go:54
↓ 7 callersFunctionStrToFloat
StrToFloat converts a string to a float64 at the best-effort.
sql/util/types/convert.go:231
↓ 7 callersMethodToDecimal
ToDecimal converts to a decimal.
sql/util/types/datum.go:1180
↓ 7 callersFunctionToString
(val interface{})
gio/type_convertion.go:12
↓ 7 callersMethodUseKeys
UseKeys use the indexes[] specified fields as key fields and the rest of fields as value fields
util/row.go:32
↓ 7 callersFunctionadd
add adds a and b and carry, returns the sum and new carry.
sql/util/types/mydecimal.go:64
↓ 7 callersMethodbuildKeyInfo
buildKeyInfo will collect the information of unique keys into schema.
sql/plan/plan.go:171
↓ 7 callersMethodbuildResultSetNode
(node ast.ResultSetNode)
sql/plan/logical_plan_builder.go:100
↓ 7 callersFunctioncheckFsp
(fsp int)
sql/util/types/fsp.go:36
↓ 7 callersFunctionfromDatasetShardToTask
(shard *DatasetShard, task *Task)
flow/context.go:215
↓ 7 callersFunctionfromDatasetToStep
(input *Dataset, step *Step)
flow/context.go:196
↓ 7 callersFunctionfromStepToDataset
(step *Step, output *Dataset)
flow/context.go:188
↓ 7 callersFunctiongetIndexes
(storedValues []int)
instruction/local_sort.go:113
↓ 7 callersFunctiongetTime
(num int64, tp byte)
sql/util/types/time.go:950
↓ 7 callersFunctionnewAggFunc
(name string, args []Expression, dist bool)
sql/expression/aggregation.go:176
↓ 7 callersMethodsetLastSelectFieldText
The select statement is not at the end of the whole statement, if the last field text was set from its offset to the end of the src string, update the
sql/parser/yy_parser.go:121
↓ 7 callersFunctiontoInts
(indexes []int32)
instruction/utils.go:12
↓ 6 callersMethodBroadcast
Broadcast replicates itself to all shards.
flow/dataset_join_hash.go:24
↓ 6 callersMethodClone
Clone copies an aggregate function totally.
sql/expression/aggregation.go:77
↓ 6 callersMethodCollectExecutionStatistics
collect execution stats from "gleam execute" processes
pb/gleam.pb.go:2230
↓ 6 callersMethodDoJoin
(name string, other *Dataset, leftOuter, rightOuter bool, sortOption *SortOption)
flow/dataset_join.go:34
↓ 6 callersFunctionEncodeValue
EncodeValue appends the encoded values to byte slice b, returning the appended slice. It does not guarantee the order for comparison.
sql/util/codec/codec.go:129
↓ 6 callersMethodFindColumn
FindColumn finds an Column from schema for a ast.ColumnName. It compares the db/table/column names. If there are more than one result, it will raise a
sql/expression/schema.go:76
↓ 6 callersMethodFromInt
FromInt sets the decimal value from int64.
sql/util/types/mydecimal.go:853
↓ 6 callersMethodFromUint
FromUint sets the decimal value from uint64.
sql/util/types/mydecimal.go:865
↓ 6 callersMethodGetShardLocation
(shard *flow.DatasetShard)
distributed/driver/scheduler/scheduler_dataset_shard.go:60
↓ 6 callersFunctionHasNotNullFlag
HasNotNullFlag checks if NotNullFlag is set.
sql/mysql/type.go:90
↓ 6 callersMethodMarshalMsg
MarshalMsg implements msgp.Marshaler
util/row_codec.go:234
↓ 6 callersFunctionMulUint64
MulUint64 multiplies uint64 a and b and returns uint64 if no overflow error.
sql/util/types/overflow.go:90
↓ 6 callersMethodPartition
hash data or by data key, return a new dataset This is divided into 2 steps: 1. Each record is sharded to a local shard 2. The destination shard will
flow/dataset_partition.go:22
↓ 6 callersFunctionReadMessage
ReadMessage reads out the []byte for one message
util/message_read.go:88
↓ 6 callersFunctionRoundFloat
RoundFloat rounds float val to the nearest integer value with float64 format, like MySQL Round function. RoundFloat uses default rounding mode, see ht
sql/util/types/helper.go:28
↓ 6 callersFunctionSlice
Slice converts string to slice without copy. Use at your own risk.
sql/util/hack/hack.go:36
↓ 6 callersFunctionString
String converts slice to string without copy. Use at your own risk.
sql/util/hack/hack.go:23
↓ 6 callersMethodStrings
Strings begins a flow with an []string
flow/dataset_source.go:113
↓ 6 callersMethodToString
ToString gets the string representation of the datum.
sql/util/types/datum.go:1299
↓ 6 callersMethodWeekday
()
sql/util/types/time.go:134
↓ 6 callersMethodaddGbyCol
addGbyCol adds a column to gbyCols. If a group by column has existed, it will not be added repeatedly.
sql/plan/aggregation_push_down.go:151
↓ 6 callersFunctionaddNils
(target []interface{}, nilCount int)
instruction/join_partitioned_sorted.go:181
↓ 6 callersFunctionadjustYear
See https://dev.mysql.com/doc/refman/5.7/en/two-digit-years.html
sql/util/types/time.go:652
↓ 6 callersMethodcheck
()
sql/util/types/time.go:435
↓ 6 callersMethodcheckArgsOneColumn
(args ...expression.Expression)
sql/plan/expression_rewriter.go:942
↓ 6 callersMethodcheckColumn
(expr expression.Expression)
sql/plan/refiner.go:238
↓ 6 callersFunctionconvertDatumToTime
(sc *variable.StatementContext, d types.Datum)
sql/expression/builtin_time.go:170
↓ 6 callersFunctionconvertFloatToInt
(sc *variable.StatementContext, fval float64, lowerBound, upperBound int64, tp byte)
sql/util/types/convert.go:64
↓ 6 callersFunctionconvertFloatToUint
(sc *variable.StatementContext, fval float64, upperBound uint64, tp byte)
sql/util/types/convert.go:116
↓ 6 callersFunctionconvertToDuration
(sc *variable.StatementContext, arg types.Datum, fsp int)
sql/expression/builtin_time.go:124
↓ 6 callersMethoderror
error creates a new ParseError based on err.
plugins/file/csv/generic_csv_reader.go:129
↓ 6 callersFunctionfixWordCntError
fixWordCntError limits word count in wordBufLen, and returns overflow or truncate error.
sql/util/types/mydecimal.go:105
↓ 6 callersFunctionnewFileSource
New creates a FileSource based on a file name. The base file name can have "*", "?" pattern denoting a list of file names.
plugins/file/file_source.go:52
↓ 6 callersFunctionsplitDuration
(t gotime.Duration)
sql/util/types/time.go:930
↓ 6 callersMethodtryToAddUnionScan
(resultPlan PhysicalPlan)
sql/plan/physical_plans.go:213
↓ 5 callersMethodAddSupply
(supply Supply)
distributed/driver/scheduler/market/cda_market.go:104
↓ 5 callersMethodClose
Close closes the underlying iterator, call Next after Close will restart the iteration.
sql/ast/ast.go:145
↓ 5 callersFunctionComposeCNFCondition
ComposeCNFCondition composes CNF items into a balance deep CNF tree, which benefits a lot for pb decoder/encoder.
sql/expression/expression.go:196
↓ 5 callersFunctionDecimalSub
DecimalSub subs one decimal from another, sets the result to 'to'.
sql/util/types/mydecimal.go:1335
↓ 5 callersFunctionDefaultCharsetForType
DefaultCharsetForType returns the default charset/collation for mysql type.
sql/util/types/field_type.go:180
↓ 5 callersMethodEnqueue
(x interface{}, sourceId int)
util/priority_queue.go:31
↓ 5 callersFunctionEvaluateExprWithNull
EvaluateExprWithNull sets columns in schema as null and calculate the final result of the scalar function. If the Expression is a non-constant value,
sql/expression/expression.go:251
↓ 5 callersMethodGet
Get is the same as map[k].
sql/util/segmentmap/segmentmap.go:50
↓ 5 callersMethodGetDataCenter
(name string)
distributed/master/structure.go:60
↓ 5 callersMethodGetError
()
pb/gleam.pb.go:1088
↓ 5 callersMethodGetId
()
pb/gleam.pb.go:406
↓ 5 callersMethodGetIndexes
()
pb/gleam.pb.go:1510
↓ 5 callersMethodGetMemoryMb
()
pb/gleam.pb.go:154
↓ 5 callersFunctionGleamGrpcDial
(address string, opts ...grpc.DialOption)
util/grpc_util.go:31
↓ 5 callersFunctionHasAggFlag
HasAggFlag checks if the expr contains FlagHasAggregateFunc.
sql/ast/flag.go:17
↓ 5 callersMethodIsDir
(*FileLocation)
filesystem/vfs.go:31
↓ 5 callersMethodLen
Len returns the number of columns in schema.
sql/expression/schema.go:116
↓ 5 callersMethodListen
Listen receives textual inputs via a socket. Multiple parameters are separated via tab.
flow/dataset_source.go:24
↓ 5 callersFunctionMergeSchema
MergeSchema will merge two schema into one schema.
sql/expression/schema.go:146
↓ 5 callersFunctionParseDuration
ParseDuration parses the time form a formatted string with a fractional seconds part, returns the duration type Time value. See http://dev.mysql.com/d
sql/util/types/time.go:821
↓ 5 callersMethodReadAll
ReadAll reads all the remaining records from r. Each record is a slice of fields. A successful call returns err == nil, not err == EOF. Because ReadAl
plugins/file/csv/generic_csv_reader.go:166
↓ 5 callersMethodSetFloat32
SetFloat32 sets float32 value.
sql/util/types/datum.go:143
↓ 5 callersFunctionStrToInt
StrToInt converts a string to an integer at the best-effort.
sql/util/types/convert.go:138
↓ 5 callersMethodWeek
(mode int)
sql/util/types/time.go:137
↓ 5 callersFunctionaddSelection
(p Plan, child LogicalPlan, conditions []expression.Expression, allocator *idAllocator)
sql/plan/predicate_push_down.go:21
↓ 5 callersMethodbuildSemiApply
buildSemiApply builds apply plan with outerPlan and innerPlan, which apply semi-join for every row from outerPlan and the whole innerPlan.
sql/plan/logical_plan_builder.go:978
↓ 5 callersMethodcheck
(condition expression.Expression)
sql/plan/refiner.go:112
↓ 5 callersFunctioncolMatch
colMatch(a,b) means that if a match b, e.g. t.a can match test.t.a bug test.t.a can't match t.a. Because column a want column from database test exact
sql/plan/logical_plan_builder.go:478
↓ 5 callersMethodcontext
()
sql/plan/plan.go:111
↓ 5 callersFunctionconvertIntToInt
(val int64, lowerBound int64, upperBound int64, tp byte)
sql/util/types/convert.go:76
↓ 5 callersMethodgetColID
(col *Column)
sql/expression/constant_propagation.go:240
↓ 5 callersMethodgetStreamedContext
()
sql/expression/aggregation.go:238
↓ 5 callersFunctiongetUsedList
(usedCols []*expression.Column, schema expression.Schema)
sql/plan/column_pruning.go:22
↓ 5 callersFunctionlimitProperty
(limit *Limit)
sql/plan/physical_plan_builder.go:244
↓ 5 callersFunctionmyMax
(a, b int)
sql/util/types/helper.go:90
← previousnext →201–300 of 3,091, ranked by callers