Class LimitPredicate
A predicate for limiting results of an aggregation.
Inheritance
System.Object
LimitPredicate
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 LimitPredicate : IAggregationPredicate
Properties
| Improve this Doc View SourceCount
Gets or sets the number of items to return.
Declaration
public long Count { get; set; }
Property Value
Type | Description |
---|---|
System.Int64 |
Offset
Gets or sets the offset to use to step into the results.
Declaration
public long Offset { get; set; }
Property Value
Type | Description |
---|---|
System.Int64 |
Methods
| Improve this Doc View SourceSerialize()
Serializes the predicate.
Declaration
public IEnumerable<string> Serialize()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<System.String> | An array of string arguments for an aggregation. |