Enum ReduceFunction
the name of a reduction function.
Namespace: Redis.OM.Aggregation.AggregationPredicates
Assembly: Redis.OM.dll
Syntax
public enum ReduceFunction
Fields
| Name | Description |
|---|---|
| AVG | Average. |
| COUNT | count. |
| COUNT_DISTINCT | distinct count. |
| COUNT_DISTINCTISH | An approximate count of distinct occurrences of a field. |
| FIRST_VALUE | retrieves the first value matching the pattern. |
| MAX | Max. |
| MIN | Min. |
| QUANTILE | Quantile. |
| RANDOM_SAMPLE | Gets a random sample. |
| STDDEV | Standard deviation |
| SUM | The sum. |
| TOLIST | Sends distinct elements to a list. |