Class SingleArgumentReduction
A reduction with one argument.
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 SingleArgumentReduction : Reduction, IAggregationPredicate
Constructors
| Improve this Doc View SourceSingleArgumentReduction(ReduceFunction, String)
Initializes a new instance of the SingleArgumentReduction class.
Declaration
public SingleArgumentReduction(ReduceFunction function, string arg)
Parameters
Type | Name | Description |
---|---|---|
ReduceFunction | function | The reduction function. |
System.String | arg | The name of the argument. |
Properties
| Improve this Doc View SourceResultName
Gets the name of the result.
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. |