Method Densify
Densify<TResult>(IAggregateFluent<TResult>, Expression<Func<TResult, object>>, DensifyRange, IEnumerable<Expression<Func<TResult, object>>>)
Appends a $densify stage to the pipeline.
public static IAggregateFluent<TResult> Densify<TResult>(this IAggregateFluent<TResult> aggregate, Expression<Func<TResult, object>> field, DensifyRange range, IEnumerable<Expression<Func<TResult, object>>> partitionByFields = null)
Parameters
aggregate
IAggregateFluent<TResult>The aggregate.
field
Expression<Func<TResult, object>>The field.
range
DensifyRangeThe range.
partitionByFields
IEnumerable<Expression<Func<TResult, object>>>The partition by fields.
Returns
- IAggregateFluent<TResult>
The fluent aggregate interface.
Type Parameters
TResult
The type of the result.
Densify<TResult>(IAggregateFluent<TResult>, Expression<Func<TResult, object>>, DensifyRange, params Expression<Func<TResult, object>>[])
Appends a $densify stage to the pipeline.
public static IAggregateFluent<TResult> Densify<TResult>(this IAggregateFluent<TResult> aggregate, Expression<Func<TResult, object>> field, DensifyRange range, params Expression<Func<TResult, object>>[] partitionByFields)
Parameters
aggregate
IAggregateFluent<TResult>The aggregate.
field
Expression<Func<TResult, object>>The field.
range
DensifyRangeThe range.
partitionByFields
Expression<Func<TResult, object>>[]The partition by fields.
Returns
- IAggregateFluent<TResult>
The fluent aggregate interface.
Type Parameters
TResult
The type of the result.