Skip to main content

Crate hyprstream_flight

Crate hyprstream_flight 

Source
Expand description

Arrow Flight SQL server and client for hyprstream-metrics

This crate provides:

  • Flight SQL server - embedded in hyprstream serve for dataset queries
  • Flight SQL client - used by hyprstream flight CLI command

§Architecture

hyprstream serve                    hyprstream flight
    │                                    │
    └── start_flight_server()            └── FlightClient::connect()
             │                                    │
             ▼                                    ▼
        FlightSqlServer ◄──────────────── Flight SQL Protocol

Re-exports§

pub use client::FlightClient;
pub use service::DenyAllFlightAuthorizer;
pub use service::FlightAuthError;
pub use service::FlightAuthorizer;
pub use service::FlightSqlServer;

Modules§

cli
Command-line interface module.
client
Flight SQL client for querying datasets
service

Structs§

FlightConfig
Configuration for the Flight SQL server

Functions§

start_flight_server
Start the Flight SQL server
start_flight_server_with_authorizer
Start Flight with an explicit authentication + tenant-policy boundary.