userver: userver/storages/clickhouse/io/floating_point_types.hpp File Reference
Loading...
Searching...
No Matches
floating_point_types.hpp File Reference

Detailed Description

Class that can be escaped for clickhouse queries instead of [double] and [float]. [double] and [float] are escaped as FloatingWithPrecision<double, 12> and FloatingWithPrecision<float, 6> respectively. These constants were derived from the accuracity the numbers from ranges [0.0-100000.0] (doubles) and [0.0-100.0] (floats) can be represented by these type. Clickhouse also supports inf, -inf and nan, see clickhouse docs.

Definition in file floating_point_types.hpp.

Go to the source code of this file.

#include <concepts>
#include <fmt/format.h>

Classes

class  storages::clickhouse::io::FloatingWithPrecision< FloatingPointT, Precision >
 Class that can be escaped for clickhouse queries instead of [double] and [float]. [double] and [float] are escaped as FloatingWithPrecision<double, 12> and FloatingWithPrecision<float, 6> respectively. These constants were derived from the accuracity the numbers from ranges [0.0-100000.0] (doubles) and [0.0-100.0] (floats) can be represented by these type. Clickhouse also supports inf, -inf and nan, see clickhouse docs. More...

Namespaces

namespace  storages
 Components, clients and helpers for different databases and storages.
namespace  storages::clickhouse
 Top namespace for uClickHouse driver.
namespace  storages::clickhouse::io
 uClickHouse input-output.