graphar-flight 0.1.2

Apache Arrow Flight SQL service over FalkorDB — Cypher in, Arrow out
Documentation
mod tests;

pub mod auth;
pub mod convert;
pub mod error;
pub mod export;
pub mod falkor;
pub mod registry;
pub mod server;
pub mod service;

pub use auth::{AuthConfig, Authorizer, BasicCredential, Identity};
pub use error::{FlightSqlError, Result};
pub use export::{ExportReport, export_cypher, export_cypher_chunked};
#[cfg(feature = "skade")]
pub use export::{append_arrow_to_iceberg, export_cypher_to_iceberg};
pub use falkor::FalkorExecutor;
pub use registry::SchemaRegistry;
pub use server::{ServerOptions, TlsOptions, run_server, run_server_with};
pub use service::CypherFlightService;

/// **Introspection / emit marker** — record one functional-status row for the
/// nornir test matrix. Wraps `nornir_testmatrix::functional_status` behind the
/// `testmatrix` feature (a compiled-out `#[inline]` no-op otherwise, with no
/// nornir dep). `component` is the reporting surface (e.g.
/// `"graphar-flight/do_get_statement"`), `check` what it verified, `ok` the
/// verdict, `detail` a short human note. The Flight SQL handlers call this so
/// `nornir test --features testmatrix` SEES each surface's health.
#[inline]
pub fn functional_status(component: &str, check: &str, ok: bool, detail: &str) {
    #[cfg(feature = "testmatrix")]
    nornir_testmatrix::functional_status(component, check, ok, detail);
    #[cfg(not(feature = "testmatrix"))]
    {
        let _ = (component, check, ok, detail);
    }
}