Show / Hide Table of Contents

Class SingleArgumentReduction

A reduction with one argument.

Inheritance
System.Object
Reduction
SingleArgumentReduction
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 SingleArgumentReduction : Reduction, IAggregationPredicate

Constructors

| Improve this Doc View Source

SingleArgumentReduction(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 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()

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.

Overrides
Reduction.Serialize()

Implements

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