Skip to main content

Module backend

Module backend 

Source
Expand description

Backend-agnostic interface used by the shared HTTP handlers.

Both datapress-duckdb and datapress-datafusion implement Backend against their own dataset registry / store. The generic handlers in crate::handlers and the crate::server::serve helper then drive either backend through the same code path.

Structs§

ArrowIpcChunkWriter
Writer used by backend encoders to push Arrow IPC bytes into an HTTP response stream without accumulating one full response buffer. Small writes are buffered and flushed in ~[ARROW_CHUNK_TARGET]-byte chunks.
DatasetSummary
One entry in GET /api/datasets.
ReloadStats
Outcome of a successful Backend::reload.

Traits§

Backend
Read / reload interface every backend exposes to the HTTP layer.

Functions§

arrow_ipc_stream_channel

Type Aliases§

ArrowIpcStream
Stream of Arrow IPC response chunks emitted by a backend.