Crates.io | streamhouse |
lib.rs | streamhouse |
version | 0.0.1 |
source | src |
created_at | 2023-07-02 16:55:11.129656 |
updated_at | 2023-07-02 16:55:11.129656 |
description | A strongly typed client for clickhouse |
homepage | |
repository | https://github.com/droundy/streamhouse |
max_upload_size | |
id | 906229 |
size | 68,242 |
A strongly typed client for ClickHouse that returns a stream of rows.
Row
trait (not serde
!) for encoding/decoding rows.RowBinaryWithNamesAndTypes
encoding to ensure type safety.clickhouse
crateclickhouse
being a little faster.clickhouse
which has an unsound
API, streamhouse
does not
use unsafe (and thus provides a sound API).streamhouse
provides a
futures::Stream
of rows,
where clickhouse
only creates a stream-like
RowCursor
.clickhouse
, an error in which two columns are swapped in order can give
incorrect results. With streamhouse
this error is caught and reported.clickhouse
uses serde
internally, it is not convenient to create a
type that can be used with a different serialization (e.g. when converted to
JSON) than its internal representation in clickhouse. streamhouse
uses its
own traits, so your types can have independent representations as clickhouse
columns versus other serializations you may wish to use.