Expand description
gRPC transport types for Hyper database access.
This module provides two ways to use gRPC:
-
Unified Connection (recommended): Use
Connection::connect()with anhttps://orhttp://URL - transport is auto-detected. -
Direct gRPC: Use
GrpcConnectionorGrpcConnectionAsyncfor explicit gRPC access with full control over transfer modes and async.
§Transfer Modes
TransferMode::Sync- All results in one response (simple, 100s timeout)TransferMode::Async- Header only, fetch results viaGetQueryResultTransferMode::Adaptive- First chunk inline, rest streamed (default, recommended)
Structs§
- Grpc
Client - Async gRPC client for Hyper database.
- Grpc
Client Sync - Synchronous wrapper around
GrpcClient. - Grpc
Config - Configuration for gRPC connections to Hyper servers.
- Grpc
Connection - A gRPC connection to a Hyper database (query-only).
- Grpc
Connection Async - Async gRPC connection to a Hyper database (query-only).
- Grpc
Error - gRPC-specific error information.
- Grpc
Query Result - Result of a gRPC query execution.
- Grpc
Result Chunk - A single chunk of gRPC query results.
Enums§
- Transfer
Mode - The requested result transfer mode.
By default, we recommend using
ADAPTIVEfor most workloads.