Skip to main content

Module server

Module server 

Source
Expand description

Engine construction and lifecycle for LaminarDB server.

Enumsยง

ServerError
ServerHandle
Handle to a running LaminarDB server. Call wait_for_shutdown to block until Ctrl-C.

Functionsยง

apply_checkpoint_config ๐Ÿ”’
Apply checkpoint settings to a LaminarDB builder.
execute_config_ddl ๐Ÿ”’
Execute DDL for all config sections (sources, lookups, pipelines, sinks, raw SQL).
file_url_to_path ๐Ÿ”’
Extract a local filesystem path from a file:// URL, or None for cloud URLs.
lookup_to_ddl
pipeline_to_ddl
run_server
Build and start a LaminarDB server from the given configuration.
sink_to_ddl
source_to_ddl
spawn_config_watcher ๐Ÿ”’
Spawn config file watcher unless disabled via LAMINAR_DISABLE_FILE_WATCH=1.
start_http_api ๐Ÿ”’
Start HTTP API server and return (shared state, join handle).
toml_value_to_sql ๐Ÿ”’
Convert a TOML value to a SQL string literal value. Escapes single quotes (SQL standard: โ€™ โ†’ โ€˜โ€™).
wait_for_termination_signal ๐Ÿ”’