userver: storages::redis::ScanOptionsGeneric Class Reference
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
storages::redis::ScanOptionsGeneric Class Reference

Your opinion will help to improve our service

Leave a feedback >

#include <userver/storages/redis/command_options.hpp>

Detailed Description

A command option to use in Scan, Hscan, Scan and Zscan commands that combines Match and Count options.

Definition at line 136 of file command_options.hpp.

Public Types

using Match = storages::redis::Match
 
using Count = storages::redis::Count
 

Public Member Functions

 ScanOptionsGeneric (const ScanOptionsGeneric &other)=default
 
ScanOptionsGenericoperator= (const ScanOptionsGeneric &other)=default
 
 ScanOptionsGeneric (ScanOptionsGeneric &&other)=default
 
ScanOptionsGenericoperator= (ScanOptionsGeneric &&other)=default
 
template<typename... Args>
 ScanOptionsGeneric (Args... args)
 
const std::optional< Match > & GetMatchOptional () const noexcept
 
const std::optional< Count > & GetCountOptional () const noexcept
 
std::optional< MatchExtractMatch () noexcept
 
std::optional< CountExtractCount () noexcept
 

Member Typedef Documentation

◆ Count

◆ Match

Constructor & Destructor Documentation

◆ ScanOptionsGeneric()

template<typename... Args>
storages::redis::ScanOptionsGeneric::ScanOptionsGeneric ( Args...  args)
inline

Definition at line 150 of file command_options.hpp.

Member Function Documentation

◆ ExtractCount()

std::optional< Count > storages::redis::ScanOptionsGeneric::ExtractCount ( )
inlinenoexcept

Definition at line 160 of file command_options.hpp.

◆ ExtractMatch()

std::optional< Match > storages::redis::ScanOptionsGeneric::ExtractMatch ( )
inlinenoexcept

Definition at line 158 of file command_options.hpp.

◆ GetCountOptional()

const std::optional< Count > & storages::redis::ScanOptionsGeneric::GetCountOptional ( ) const
inlinenoexcept

Definition at line 156 of file command_options.hpp.

◆ GetMatchOptional()

const std::optional< Match > & storages::redis::ScanOptionsGeneric::GetMatchOptional ( ) const
inlinenoexcept

Definition at line 154 of file command_options.hpp.


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