Show / Hide Table of Contents

Class TwoArgumentReduction

A reduction with two arguments.

Inheritance
System.Object
Reduction
TwoArgumentReduction
Implements
IAggregationPredicate
Inherited Members
Reduction.Function
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 TwoArgumentReduction : Reduction, IAggregationPredicate

Constructors

| Improve this Doc View Source

TwoArgumentReduction(ReduceFunction, MethodCallExpression)

Initializes a new instance of the TwoArgumentReduction class.

Declaration
public TwoArgumentReduction(ReduceFunction func, MethodCallExpression expression)
Parameters
Type Name Description
ReduceFunction func

The reduction function.

System.Linq.Expressions.MethodCallExpression expression

The expression.

Properties

| Improve this Doc View Source

ResultName

Gets the name of the result.

Declaration
public override string ResultName { get; }
Property Value
Type Description
System.String
Overrides
Reduction.ResultName

Methods

| Improve this Doc View Source

Serialize()

Sends the reduction to an array of strings for redis.

Declaration
public override IEnumerable<string> Serialize()
Returns
Type Description
System.Collections.Generic.IEnumerable<System.String>

an array of strings.

Overrides
Reduction.Serialize()

Implements

IAggregationPredicate
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX