Class ZeroArgumentReduction
A reduction that takes no arguments.
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 class ZeroArgumentReduction : Reduction, IAggregationPredicate
Constructors
| Improve this Doc View SourceZeroArgumentReduction(ReduceFunction)
Initializes a new instance of the ZeroArgumentReduction class.
Declaration
public ZeroArgumentReduction(ReduceFunction function)
Parameters
Type | Name | Description |
---|---|---|
ReduceFunction | function | the reduction function. |
Properties
| Improve this Doc View SourceResultName
Gets the alias of the result name when the reduction completes.
Declaration
public override string ResultName { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Methods
| Improve this Doc View SourceSerialize()
Serializes the predicate.
Declaration
public override IEnumerable<string> Serialize()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<System.String> | An array of string arguments for an aggregation. |