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

Public Member Functions

void SetAggregate (Aggregate aggregate)
 
void ClearAggregate ()
 
void SetWeights (params double[] weights)
 
void ClearWeights ()
 

Detailed Description

Options class used by the ZinterStore() and ZunionStore() methods.

Member Function Documentation

void ClearAggregate ( )
inline

Clears/unsets the AGGREGATE modifier.

The AGGREGATE modifier will be omitted from the command.

void ClearWeights ( )
inline

Clears/unsets the WEIGHTS array/modifier.

The WEIGHTS modifier will be omitted from the command.

void SetAggregate ( Aggregate  aggregate)
inline

Sets the AGGREGATE modifier.

The default aggregation behavior is SUM.

Parameters
aggregateThe AGGREGATE behavior to set (e.g. SUM, MIN, MAX)
void SetWeights ( params double[]  weights)
inline

Establishes the weight values for the WEIGHTS modifier.

Parameters
weightsThe array of weight values.

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