userver: userver/storages/redis/parse_reply.hpp File Reference
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
parse_reply.hpp File Reference

Your opinion will help to improve our service

Leave a feedback >

Detailed Description

Customizations for Redis response parsings.

Definition in file parse_reply.hpp.

Go to the source code of this file.

#include <optional>
#include <string>
#include <unordered_map>
#include <unordered_set>
#include <vector>
#include <userver/storages/redis/fwd.hpp>
#include <userver/utils/void_t.hpp>
#include <userver/storages/redis/reply_types.hpp>
+ This graph shows which files directly or indirectly include this file:

Classes

struct  storages::redis::To< Result, ReplyType >
 

Namespaces

namespace  storages
 Components, clients and helpers for different databases and storages.
 
namespace  storages::redis
 Valkey and Redis client and helpers.
 

Functions

std::vector< std::string > storages::redis::ParseReplyDataArray (ReplyData &&array_data, const std::string &request_description, To< std::vector< std::string > >)
 
std::vector< std::optional< std::string > > storages::redis::ParseReplyDataArray (ReplyData &&array_data, const std::string &request_description, To< std::vector< std::optional< std::string > > >)
 
std::vector< std::pair< std::string, std::string > > storages::redis::ParseReplyDataArray (ReplyData &&array_data, const std::string &request_description, To< std::vector< std::pair< std::string, std::string > > >)
 
std::vector< MemberScorestorages::redis::ParseReplyDataArray (ReplyData &&array_data, const std::string &request_description, To< std::vector< MemberScore > >)
 
std::vector< GeoPointstorages::redis::ParseReplyDataArray (ReplyData &&array_data, const std::string &request_description, To< std::vector< GeoPoint > >)
 
std::string storages::redis::Parse (ReplyData &&reply_data, const std::string &request_description, To< std::string >)
 
double storages::redis::Parse (ReplyData &&reply_data, const std::string &request_description, To< double >)
 
size_t storages::redis::Parse (ReplyData &&reply_data, const std::string &request_description, To< size_t >)
 
bool storages::redis::Parse (ReplyData &&reply_data, const std::string &request_description, To< size_t, bool >)
 
int64_t storages::redis::Parse (ReplyData &&reply_data, const std::string &request_description, To< int64_t >)
 
std::chrono::system_clock::time_point storages::redis::Parse (ReplyData &&reply_data, const std::string &request_description, To< std::chrono::system_clock::time_point >)
 
HsetReply storages::redis::Parse (ReplyData &&reply_data, const std::string &request_description, To< HsetReply >)
 
PersistReply storages::redis::Parse (ReplyData &&reply_data, const std::string &request_description, To< PersistReply >)
 
KeyType storages::redis::Parse (ReplyData &&reply_data, const std::string &request_description, To< KeyType >)
 
void storages::redis::Parse (ReplyData &&reply_data, const std::string &request_description, To< StatusOk, void >)
 
bool storages::redis::Parse (ReplyData &&reply_data, const std::string &request_description, To< std::optional< StatusOk >, bool >)
 
void storages::redis::Parse (ReplyData &&reply_data, const std::string &request_description, To< StatusPong, void >)
 
SetReply storages::redis::Parse (ReplyData &&reply_data, const std::string &request_description, To< SetReply >)
 
std::unordered_set< std::string > storages::redis::Parse (ReplyData &&reply_data, const std::string &request_description, To< std::unordered_set< std::string > >)
 
std::unordered_map< std::string, std::string > storages::redis::Parse (ReplyData &&reply_data, const std::string &request_description, To< std::unordered_map< std::string, std::string > >)
 
ReplyData storages::redis::Parse (ReplyData &&reply_data, const std::string &request_description, To< ReplyData >)
 
template<typename Result, typename ReplyType = Result>
std::enable_if_t< impl::HasParseFunctionFromRedisReply< Result, ReplyType >::value, ReplyType > storages::redis::Parse (ReplyData &&reply_data, const std::string &request_description, To< Result, ReplyType >)
 
template<typename T>
std::vector< T > storages::redis::Parse (ReplyData &&reply_data, const std::string &request_description, To< std::vector< T > >)
 
template<typename T>
std::optional< T > storages::redis::Parse (ReplyData &&reply_data, const std::string &request_description, To< std::optional< T > >)