Show / Hide Table of Contents

Class FirstValueReduction

Get's the first value of a group matching the expression.

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

Constructors

| Improve this Doc View Source

FirstValueReduction(MethodCallExpression)

Initializes a new instance of the FirstValueReduction class.

Declaration
public FirstValueReduction(MethodCallExpression exp)
Parameters
Type Name Description
System.Linq.Expressions.MethodCallExpression exp

The expression.

Properties

| Improve this Doc View Source

ResultName

Gets the alias of the result name when the reduction completes.

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