userver
C++ Async Framework
Loading...
Searching...
No Matches
typedefs.hpp
Go to the documentation of this file.
1
#
pragma
once
2
3
/// @file userver/storages/clickhouse/io/typedefs.hpp
4
5
#
include
<
userver
/
utils
/
strong_typedef
.
hpp
>
6
7
#
include
<
userver
/
storages
/
clickhouse
/
io
/
columns
/
datetime64_column
.
hpp
>
8
9
USERVER_NAMESPACE_BEGIN
10
11
namespace
storages::
clickhouse
::
io
{
12
13
/// @brief StrongTypedef for serializing `system_clock::time_point`
14
/// to DateTime64(3) format when used as a query argument
15
using
DateTime64Milli
=
16
USERVER_NAMESPACE::
utils
::
StrongTypedef
<
columns
::
DateTime64ColumnMilli
::
Tag
,
std
::
chrono
::
system_clock
::
time_point
>;
17
18
/// @brief StrongTypedef for serializing `system_clock::time_point`
19
/// to DateTime64(6) format when used as a query argument
20
using
DateTime64Micro
=
21
USERVER_NAMESPACE::
utils
::
StrongTypedef
<
columns
::
DateTime64ColumnMicro
::
Tag
,
std
::
chrono
::
system_clock
::
time_point
>;
22
23
/// @brief StrongTypedef for serializing `system_clock::time_point`
24
/// to DateTime64(9) format when used as a query argument
25
using
DateTime64Nano
=
26
USERVER_NAMESPACE::
utils
::
StrongTypedef
<
columns
::
DateTime64ColumnNano
::
Tag
,
std
::
chrono
::
system_clock
::
time_point
>;
27
28
}
// namespace storages::clickhouse::io
29
30
USERVER_NAMESPACE_END
userver
storages
clickhouse
io
typedefs.hpp
Generated on Fri Jan 31 2025 09:46:20 for userver by
Doxygen
1.10.0