Class Reduction
A reduction.
Inheritance
System.Object
Reduction
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Redis.OM.Aggregation.AggregationPredicates
Assembly: Redis.OM.dll
Syntax
public abstract class Reduction : IAggregationPredicate
Constructors
| Improve this Doc View SourceReduction(ReduceFunction)
Initializes a new instance of the Reduction class.
Declaration
protected Reduction(ReduceFunction function)
Parameters
Type | Name | Description |
---|---|---|
ReduceFunction | function | The function to reduce to. |
Properties
| Improve this Doc View SourceFunction
Gets The function to use for reduction.
Declaration
protected ReduceFunction Function { get; }
Property Value
Type | Description |
---|---|
ReduceFunction |
ResultName
Gets the alias of the result name when the reduction completes.
Declaration
public abstract string ResultName { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
| Improve this Doc View SourceSerialize()
Serializes the predicate.
Declaration
public abstract IEnumerable<string> Serialize()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<System.String> | An array of string arguments for an aggregation. |