Expand description
Flow execution and flownode services.
Re-exportsยง
Modulesยง
- adapter ๐
- Flow source schema management and stateless streaming execution.
- batching_
mode ๐ - Run flow as batching mode which is time-window-aware normal query triggered when new data arrives
- df_
optimizer ๐ - Datafusion optimizer for flow plan
- engine ๐
- Define a trait for flow engine, which is used by both streaming engine and batch engine
- error
- Error definition for flow module
- expr ๐
- Small row-batch conversion helper used by stateless streaming.
- heartbeat
- Send heartbeat from flownode to metasrv
- metrics ๐
- Some of the metrics used in the flow module.
- repr ๐
- basically a wrapper around the
datatypecrate for basic Data Representation - server ๐
- Implementation of grpc service for flow node
- utils ๐
Structsยง
- Batching
Execution Guard - Owns a whole serialized execution round. It may be moved to an execution collaborator, so cancellation of the caller cannot release the round early.
- Batching
Mode Options - Batching
Task - Execute
Once Outcome - Flow
Config - Flownode
Builder FlownodeInstanceBuilder- Flownode
Instance - The flownode server instance.
- Flownode
Options - Flownode
Server - Flownode
Service Builder - Useful in distributed mode
- Incremental
Aggregate Analysis - Analysis result for an incremental aggregate plan.
- Incremental
Aggregate Merge Column - Describes how one aggregate output field should be merged with the corresponding existing field in the sink table.
- Plan
Info - Streaming
Engine - Task
Args - Arguments for creating batching task
- Time
Window Expr - Time window expr like
date_bin(INTERVAL '1' MINUTE, ts), this type help with evaluating the expr using given timestamp
Enumsยง
- Dirty
Restore - Frontend
Client - A simple frontend client able to execute sql using grpc protocol
- Incremental
Aggregate Merge Op - Peer
Desc - Describe a peer of frontend
- Query
Coverage
Traitsยง
- Batching
Execution - Batching
Execution Factory - Grpc
Query Handler With Boxed Error - Adapter trait for
GrpcQueryHandlerthat boxes the underlying error intoBoxedError.
Functionsยง
- analyze_
incremental_ aggregate_ plan - find_
time_ window_ expr - Return (
the column name of time index column,the time window expr,the expected time unit of time index column,the expr's schema for evaluating the time window) - sql_
to_ df_ plan - Convert sql to datafusion logical plan Also support TQL (but only Eval not Explain or Analyze)