Show / Hide Table of Contents

Class Reduction

A reduction.

Inheritance
System.Object
Reduction
FirstValueReduction
SingleArgumentReduction
TwoArgumentReduction
ZeroArgumentReduction
Implements
IAggregationPredicate
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 Source

Reduction(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 Source

Function

Gets The function to use for reduction.

Declaration
protected ReduceFunction Function { get; }
Property Value
Type Description
ReduceFunction
| Improve this Doc View Source

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 Source

Serialize()

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.

Implements

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