userver: storages::clickhouse::Query Class Reference
Loading...
Searching...
No Matches
storages::clickhouse::Query Class Referencefinal

#include <userver/storages/clickhouse/query.hpp>

Detailed Description

Holds a query and its name. In case query is expected to be executed with parameters, query text should conform to fmt format.

Definition at line 33 of file query.hpp.

Public Types

using Name = ::utils::StrongTypedef<struct NameTag, std::string>
 

Public Member Functions

 Query (const char *text, std::optional< Name >=std::nullopt)
 
 Query (std::string text, std::optional< Name >=std::nullopt)
 
const std::string & QueryText () const &
 
const std::optional< Name > & QueryName () const &
 

Member Typedef Documentation

◆ Name

using storages::clickhouse::Query::Name = ::utils::StrongTypedef<struct NameTag, std::string>

Definition at line 35 of file query.hpp.

Friends And Related Symbol Documentation

◆ Cluster

friend class Cluster
friend

Definition at line 44 of file query.hpp.

◆ QueryTester

friend class QueryTester
friend

Definition at line 45 of file query.hpp.


The documentation for this class was generated from the following file: