userver: userver/storages/redis/scan_tag.hpp Source File
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
scan_tag.hpp
Go to the documentation of this file.
1#pragma once
2
3/// @file
4/// @brief @copybrief storages::redis::ScanTag
5
6USERVER_NAMESPACE_BEGIN
7
8namespace storages::redis {
9
10/// @brief Enum that distinguished different SCAN requests for the storages::redis::ScanRequest
11enum class ScanTag {
12 kScan, ///< SCAN Redis command: iterates the set of keys in the currently selected Redis database
13 kSscan, ///< SSCAN Redis command: iterates elements of Sets types
14 kHscan, ///< HSCAN Redis command: iterates fields of Hash types and their associated values
15 kZscan, ///< ZSCAN Redis command: iterates elements of Sorted Set types and their associated scores
16};
17
18} // namespace storages::redis
19
20USERVER_NAMESPACE_END