Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/JasonThon/lightflus
/ functions
Functions
588 in github.com/JasonThon/lightflus
⨍
Functions
588
◇
Types & classes
381
↓ 289 callers
Method
to_string
(&self)
src/common/src/types.rs:116
↓ 180 callers
Method
clone
(&self)
src/proto/src/taskmanager.rs:680
↓ 154 callers
Method
map
(callbackFn: (value: T) => U)
typescript-api/src/stream/dataflow.ts:69
↓ 34 callers
Method
get
(&mut self, key: &K)
src/common/src/redis.rs:58
↓ 25 callers
Method
set
( &mut self, key: &K, value: &V, )
src/common/src/redis.rs:36
↓ 22 callers
Method
get_type
get the data type of TypedValue
src/common/src/types.rs:348
↓ 21 callers
Method
as_bytes
(self)
src/proto/src/common_impl.rs:534
↓ 21 callers
Method
get_data_bytes
(&self)
src/common/src/types.rs:449
↓ 20 callers
Method
get
(&self, job_id: &ResourceId)
src/lightflus-core/src/coordinator/storage.rs:59
↓ 20 callers
Method
is_empty
(&self)
src/common/src/utils.rs:127
↓ 18 callers
Method
as_uri
(&self)
src/proto/src/common_impl.rs:510
↓ 17 callers
Method
filter
(callbackFn: (value: T) => boolean)
typescript-api/src/stream/dataflow.ts:32
↓ 15 callers
Function
get_env
(k: &str)
src/common/src/utils.rs:137
↓ 14 callers
Function
now
()
src/common/src/utils.rs:28
↓ 14 callers
Method
send
(&self, key: &[u8], payload: &[u8])
src/common/src/kafka.rs:66
↓ 13 callers
Method
clear
(&mut self)
src/common/src/utils.rs:131
↓ 13 callers
Method
toOperatorInfo
()
typescript-api/src/stream/operator.ts:71
↓ 13 callers
Function
to_typed_value
to_typed_value() will convert v8::Value into TypedValue. */
src/stream/src/v8_runtime.rs:183
↓ 12 callers
Method
value
(&self)
src/common/src/types.rs:496
↓ 11 callers
Method
call_fn
( &self, event: &KeyedDataEvent, rt_engine: &RefCell<RuntimeEngine<'p, 'i>>, )
src/stream/src/dataflow.rs:141
↓ 11 callers
Method
clone
(&self)
src/proto/src/coordinator.rs:500
↓ 11 callers
Method
del
(&mut self, key: &K)
src/common/src/redis.rs:65
↓ 11 callers
Function
get_function_name
(info: &Details)
src/stream/src/dataflow.rs:90
↓ 11 callers
Function
injectFunctionName
(name: string, func: string)
typescript-api/src/common/common.ts:14
↓ 9 callers
Method
get_data
get the slice of bytes with the head of data type symbol Example: ``` use common::types::TypedValue; use proto::common::DataTypeEnum; fn main() { let
src/common/src/types.rs:220
↓ 9 callers
Method
into_tonic_status
(&self)
src/lightflus-core/src/errors/mod.rs:191
↓ 9 callers
Function
new_rpc_response
(val: T)
src/lightflus-core/src/lib.rs:13
↓ 9 callers
Method
ok
()
src/proto/src/common_impl.rs:462
↓ 9 callers
Method
partial_cmp
(&self, other: &Self)
src/common/src/types.rs:40
↓ 8 callers
Method
next
(&mut self)
src/stream/src/edge.rs:241
↓ 8 callers
Method
write_redis_args
(&self, out: &mut W)
src/common/src/types.rs:100
↓ 7 callers
Method
build
( &self, host_addr: &HostAddr, task_id: ExecutorId, f: F, )
src/common/src/net/mod.rs:132
↓ 7 callers
Method
call_one_arg
* call with one argument */
src/stream/src/v8_runtime.rs:61
↓ 7 callers
Method
execute
# Execute the statement and return the whole result set Each SQL statement can be executed by a [MysqlConn] instance with three arguments: - SQL stat
src/common/src/db.rs:56
↓ 7 callers
Function
join_all
( cx: &mut Context<'_>, fut_list: &mut Vec<Pin<Box<dyn Future<Output = T> + Send + 'a>>>, callback
src/common/src/futures/mod.rs:11
↓ 6 callers
Method
addChild
(parentId: number, op: T)
typescript-api/src/stream/context.ts:39
↓ 6 callers
Method
build
(&self)
src/lightflus-core/src/coordinator/coord.rs:36
↓ 6 callers
Function
file_common_probe_proto_rawDescGZIP
()
tools/alpha/common/probe/probe.pb.go:379
↓ 6 callers
Method
incrementAndGetId
()
typescript-api/src/stream/context.ts:30
↓ 6 callers
Function
new_event_channel
(buf_size: usize)
src/stream/src/lib.rs:23
↓ 6 callers
Function
run_producer
( brokers: &str, topic: &str, group: &str, partition: i32, )
src/common/src/kafka.rs:38
↓ 6 callers
Function
setup
()
src/stream/src/dataflow.rs:461
↓ 6 callers
Function
setup
()
src/stream/src/v8_runtime.rs:289
↓ 5 callers
Method
build
(&self, gateway: SafeTaskManagerRpcGateway)
src/common/src/net/cluster.rs:179
↓ 5 callers
Method
close
(&mut self)
src/common/src/db.rs:159
↓ 5 callers
Method
fetch
(&self, mut processor: F)
src/common/src/kafka.rs:112
↓ 5 callers
Method
get_job_id
(&self)
src/proto/src/common_impl.rs:314
↓ 5 callers
Method
key
(&self)
src/common/src/types.rs:492
↓ 5 callers
Method
new
()
typescript-api/src/connectors/connectors.ts:164
↓ 5 callers
Method
parse
(status: tonic::Status)
src/common/src/err.rs:60
↓ 5 callers
Method
reduce
(callbackFn: (agg: T, current: T) => T)
typescript-api/src/stream/dataflow.ts:74
↓ 5 callers
Method
to_json_value
(&self)
src/common/src/types.rs:428
↓ 5 callers
Method
validate
(&self)
src/proto/src/common_impl.rs:266
↓ 4 callers
Method
build
(&self)
src/lightflus-core/src/taskmanager/rpc.rs:52
↓ 4 callers
Method
connect
(&mut self)
src/common/src/redis.rs:25
↓ 4 callers
Method
get_execution_id
(&self)
src/lightflus-core/src/coordinator/executions.rs:217
↓ 4 callers
Function
init
()
tools/alpha/common/probe/probe.pb.go:406
↓ 4 callers
Function
now_timestamp
()
src/common/src/utils.rs:49
↓ 4 callers
Method
partition_dataflow
A dataflow will be splitted into several partitions and deploy these sub-dataflow into different workers Graph-Partition is an NP-hard problem. Fortun
src/common/src/net/cluster.rs:121
↓ 4 callers
Function
prost_now
()
src/common/src/utils.rs:41
↓ 4 callers
Method
run
(&self)
src/common/src/testutils/mod.rs:12
↓ 4 callers
Function
run_consumer
( brokers: &str, group_id: &str, topic: &str, )
src/common/src/kafka.rs:12
↓ 4 callers
Method
to_tonic_status
(&self)
src/lightflus-core/src/coordinator/managers.rs:222
↓ 4 callers
Method
try_for_each
# TryForEach, processing elements iteratively The result set of a SQL statement can be processed by a [MysqlConn] instance iteratively with calling me
src/common/src/db.rs:119
↓ 4 callers
Function
wrap_value
wrap_value() will convert a TypedValue into v8::Value. */
src/stream/src/v8_runtime.rs:110
↓ 4 callers
Method
write
(&self, val: T)
src/stream/src/edge.rs:73
↓ 3 callers
Method
close_sink
(&mut self)
src/stream/src/connector.rs:193
↓ 3 callers
Method
code
(&self)
src/common/src/err.rs:79
↓ 3 callers
Method
connect
(&mut self)
src/common/src/db.rs:144
↓ 3 callers
Method
create_stream_executor
(&self, operator_info: &OperatorInfo)
src/stream/src/task.rs:81
↓ 3 callers
Method
get_arguments
(&self, msg: &LocalEvent)
src/stream/src/connector.rs:504
↓ 3 callers
Method
get_node
(&self, addr: &HostAddr)
src/common/src/net/cluster.rs:86
↓ 3 callers
Method
host
(value: string)
typescript-api/src/connectors/connectors.ts:310
↓ 3 callers
Function
hostname
()
src/common/src/net/mod.rs:31
↓ 3 callers
Function
initialize_v8
()
src/stream/src/lib.rs:15
↓ 3 callers
Method
into_grpc_status
(&self)
src/lightflus-core/src/errors/mod.rs:60
↓ 3 callers
Function
local
(port: usize)
src/common/src/net/mod.rs:24
↓ 3 callers
Function
pb_to_bytes_mut
(message: T)
src/common/src/utils.rs:236
↓ 3 callers
Method
set_in_edge
(&mut self, in_edge: Box<dyn OutEdge<Output = LocalEvent>>)
src/stream/src/task.rs:119
↓ 3 callers
Method
sink
(&mut self, msg: LocalEvent)
src/stream/src/connector.rs:184
↓ 3 callers
Function
try_catch_log
(try_catch: &mut v8::TryCatch<v8::HandleScope>)
src/stream/src/v8_runtime.rs:268
↓ 2 callers
Method
Descriptor
Deprecated: Use ProbeRequest.ProtoReflect.Descriptor instead.
tools/alpha/common/probe/probe.pb.go:155
↓ 2 callers
Method
String
()
tools/alpha/common/probe/probe.pb.go:136
↓ 2 callers
Method
ack
(&mut self, ack: &Ack)
src/lightflus-core/src/coordinator/executions.rs:233
↓ 2 callers
Method
addOperator
(operator: T)
typescript-api/src/stream/context.ts:64
↓ 2 callers
Method
add_out_edge
( &mut self, executor_id: ExecutorId, out_edge: Box<dyn OutEdge<Output = LocalEvent>>,
src/stream/src/task.rs:248
↓ 2 callers
Method
arg
(&self, flag: &str)
src/common/src/utils.rs:90
↓ 2 callers
Method
batch_send_events_to_operator
/ Send all events batchly
src/proto/src/taskmanager.rs:230
↓ 2 callers
Method
blocking_fetch
(&self, processor: F)
src/common/src/kafka.rs:139
↓ 2 callers
Method
brokers
(value: string[])
typescript-api/src/connectors/connectors.ts:53
↓ 2 callers
Method
build
(ctor?: new() => T, type?: string)
typescript-api/src/connectors/connectors.ts:134
↓ 2 callers
Method
build_out_edge
(&self)
src/stream/src/task.rs:200
↓ 2 callers
Method
builder
()
typescript-api/src/connectors/connectors.ts:63
↓ 2 callers
Method
call
(&mut self, req: http::Request<B>)
src/proto/src/taskmanager.rs:383
↓ 2 callers
Method
call_two_args
* call with two arguments */
src/stream/src/v8_runtime.rs:81
↓ 2 callers
Method
check
(&self)
src/proto/src/common_impl.rs:183
↓ 2 callers
Method
check_operator
(&self, node_id: u32)
src/proto/src/common_impl.rs:294
↓ 2 callers
Method
connect
Attempt to create a new client by connecting to a given endpoint.
src/proto/src/taskmanager.rs:71
↓ 2 callers
Method
create_dataflow
(&self, dataflow: Dataflow)
src/lightflus-core/src/coordinator/coord.rs:77
↓ 2 callers
Method
create_sub_dataflow
( &self, request: RpcRequest<CreateSubDataflowRequest>, )
src/lightflus-core/src/taskmanager/rpc.rs:100
next →
1–100 of 588, ranked by callers