Options class used by the Sort() method(s).
void AddGetPattern |
( |
string |
pattern | ) |
|
|
inline |
Adds a pattern to the list of patterns used with the GET modifier.
- Parameters
-
pattern | The pattern to add. |
Clears/unsets the BY modifier.
The BY modifier will be omitted from the command.
void ClearGetPatterns |
( |
| ) |
|
|
inline |
Clears/unsets the GET modifier.
The GET modifier will be omitted from the command.
Clears/unsets the LIMIT modifier.
The LIMIT modifier will be omitted from the command.
Clears/unsets the sort order modifiers.
Both the ASC and DESC modifiers will be omitted from the command.
void SetAlpha |
( |
bool |
useAlpha | ) |
|
|
inline |
Sets or clears the ALPHA modifier.
- Parameters
-
useAlpha | A value of true includes the ALPHA modifier, false omits it. |
void SetByPattern |
( |
string |
pattern | ) |
|
|
inline |
Sets the pattern for the BY modifier.
- Parameters
-
pattern | The value of the BY modifier. |
void SetLimit |
( |
int |
offset, |
|
|
int |
count |
|
) |
| |
|
inline |
Sets the LIMIT modifier using the given values.
- Parameters
-
offset | The number of elements to skip. |
count | The number of elements to return. |
void SetLimit |
( |
Limit |
limit | ) |
|
|
inline |
Sets the LIMIT modifier with values provided by a Limit object.
- Parameters
-
limit | A Limit object specifying the number of elements to skip and the number of elements to return |
Sets the ASC or DESC modifier.
Note: the ASC and DESC modifiers are mutually exclusive.
- Parameters
-
order | The value of the sort order modifier. |
The documentation for this class was generated from the following file:
- /mnt/e/cosmo/program/repos/trunk/RedisClient/Assets/phants/ClientForRedis/Assets/Scripts/CmdClient/groups/util/ParameterTypes.cs