Skip to main content

uqa_client/
lib.rs

1//
2// Unified Query Algebra
3//
4// Copyright (c) 2023-2026 Cognica, Inc.
5//
6
7//! Direct, authenticated HTTP access to local and Cloud UQA data planes.
8//!
9//! [`HttpEngine`] mirrors the embedded engine's asynchronous SQL-shaped surface. It can use an
10//! explicit URL and token, environment variables, or the installed `uqa` CLI to resolve a local
11//! or Cloud project once during construction.
12
13mod cli_connection;
14mod http_engine;
15mod http_engine_error;
16pub mod notifications;
17mod server_error_envelope;
18mod sql_batch_execution;
19mod sql_diagnostic;
20mod sql_diagnostic_category;
21mod sql_execution;
22mod sql_parameter;
23mod sql_statement;
24mod sql_stream;
25mod sql_stream_frame;
26
27pub use http_engine::HttpEngine;
28pub use http_engine_error::HttpEngineError;
29pub use secrecy::SecretString;
30pub use sql_batch_execution::SQLBatchExecution;
31pub use sql_diagnostic::SQLDiagnostic;
32pub use sql_diagnostic_category::SQLDiagnosticCategory;
33pub use sql_execution::SQLExecution;
34pub use sql_statement::SQLStatement;
35pub use sql_stream::SQLStream;
36pub use sql_stream_frame::SQLStreamFrame;
37pub use uqa_sql::{AsyncSQLEngine, SQLParam, SQLResult};