Phants Client for Redis™*
Public Member Functions | List of all members
ZrangeByScoreOptions Class Reference

Public Member Functions

void SetLimit (int offset, int count)
 
void SetLimit (Limit limit)
 
void ClearLimit ()
 
void SetWithScores (bool withScores)
 

Detailed Description

Options class used by the ZrangeByScore() and ZrevRangeByScore() methods.

Member Function Documentation

void ClearLimit ( )
inline

Clears/unsets the LIMIT modifier.

The LIMIT modifier will be omitted from the command.

void SetLimit ( int  offset,
int  count 
)
inline

Sets the LIMIT modifier using the given values.

Parameters
offsetThe number of elements to skip.
countThe number of elements to return.
void SetLimit ( Limit  limit)
inline

Sets the LIMIT modifier with values provided by a Limit object.

Parameters
limitA Limit object specifying the number of elements to skip and the number of elements to return
void SetWithScores ( bool  withScores)
inline

Sets or clears the WITHSCORES modifier.

Parameters
withScoresA value of true includes the WITHSCORES modifier, false omits it.

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