userver: storages::redis::ZaddOptions Struct Reference
Loading...
Searching...
No Matches
storages::redis::ZaddOptions Struct Reference

Detailed Description

Definition at line 56 of file command_options.hpp.

Public Types

enum class  Exist {
  kAddAlways ,
  kAddIfNotExist ,
  kAddIfExist
}
 
enum class  Compare {
  kNone ,
  kGreaterThan ,
  kLessThan
}
 
enum class  ReturnValue {
  kAddedCount ,
  kChangedCount
}
 

Public Member Functions

constexpr ZaddOptions (Exist exist, ReturnValue return_value=ReturnValue::kAddedCount, Compare compare=Compare::kNone)
 
constexpr ZaddOptions (Exist exist, Compare compare, ReturnValue return_value=ReturnValue::kAddedCount)
 
constexpr ZaddOptions (ReturnValue return_value, Exist exist=Exist::kAddAlways, Compare compare=Compare::kNone)
 
constexpr ZaddOptions (ReturnValue return_value, Compare compare, Exist exist=Exist::kAddAlways)
 
constexpr ZaddOptions (Compare compare, Exist exist=Exist::kAddAlways, ReturnValue return_value=ReturnValue::kAddedCount)
 
constexpr ZaddOptions (Compare compare, ReturnValue return_value, Exist exist=Exist::kAddAlways)
 

Public Attributes

Exist exist = Exist::kAddAlways
 
Compare compare = Compare::kNone
 
ReturnValue return_value = ReturnValue::kAddedCount
 

Member Enumeration Documentation

◆ Compare

enum class storages::redis::ZaddOptions::Compare
strong

Definition at line 58 of file command_options.hpp.

◆ Exist

enum class storages::redis::ZaddOptions::Exist
strong

Definition at line 57 of file command_options.hpp.

◆ ReturnValue

enum class storages::redis::ZaddOptions::ReturnValue
strong

Definition at line 59 of file command_options.hpp.

Constructor & Destructor Documentation

◆ ZaddOptions() [1/6]

constexpr storages::redis::ZaddOptions::ZaddOptions ( Exist exist,
ReturnValue return_value = ReturnValue::kAddedCount,
Compare compare = Compare::kNone )
inlineconstexpr

Definition at line 62 of file command_options.hpp.

◆ ZaddOptions() [2/6]

constexpr storages::redis::ZaddOptions::ZaddOptions ( Exist exist,
Compare compare,
ReturnValue return_value = ReturnValue::kAddedCount )
inlineconstexpr

Definition at line 68 of file command_options.hpp.

◆ ZaddOptions() [3/6]

constexpr storages::redis::ZaddOptions::ZaddOptions ( ReturnValue return_value,
Exist exist = Exist::kAddAlways,
Compare compare = Compare::kNone )
inlineconstexpr

Definition at line 71 of file command_options.hpp.

◆ ZaddOptions() [4/6]

constexpr storages::redis::ZaddOptions::ZaddOptions ( ReturnValue return_value,
Compare compare,
Exist exist = Exist::kAddAlways )
inlineconstexpr

Definition at line 73 of file command_options.hpp.

◆ ZaddOptions() [5/6]

constexpr storages::redis::ZaddOptions::ZaddOptions ( Compare compare,
Exist exist = Exist::kAddAlways,
ReturnValue return_value = ReturnValue::kAddedCount )
inlineconstexpr

Definition at line 76 of file command_options.hpp.

◆ ZaddOptions() [6/6]

constexpr storages::redis::ZaddOptions::ZaddOptions ( Compare compare,
ReturnValue return_value,
Exist exist = Exist::kAddAlways )
inlineconstexpr

Definition at line 82 of file command_options.hpp.

Member Data Documentation

◆ compare

Compare storages::redis::ZaddOptions::compare = Compare::kNone

Definition at line 86 of file command_options.hpp.

◆ exist

Exist storages::redis::ZaddOptions::exist = Exist::kAddAlways

Definition at line 85 of file command_options.hpp.

◆ return_value

ReturnValue storages::redis::ZaddOptions::return_value = ReturnValue::kAddedCount

Definition at line 87 of file command_options.hpp.


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