Esempio n. 1
0
 /// <inheritdoc />
 public virtual IAggregateFluent <TResult> Densify(
     FieldDefinition <TResult> field,
     DensifyRange range,
     params FieldDefinition <TResult>[] partitionByFields)
 {
     throw new NotImplementedException();
 }
Esempio n. 2
0
 /// <inheritdoc />
 public virtual IAggregateFluent <TResult> Densify(
     FieldDefinition <TResult> field,
     DensifyRange range,
     IEnumerable <FieldDefinition <TResult> > partitionByFields = null)
 {
     throw new NotImplementedException();
 }
Esempio n. 3
0
 public override IAggregateFluent <TResult> Densify(
     FieldDefinition <TResult> field,
     DensifyRange range,
     IEnumerable <FieldDefinition <TResult> > partitionByFields = null)
 {
     return(WithPipeline(_pipeline.Densify(field, range, partitionByFields)));
 }
Esempio n. 4
0
 public override IAggregateFluent <TResult> Densify(
     FieldDefinition <TResult> field,
     DensifyRange range,
     params FieldDefinition <TResult>[] partitionByFields)
 {
     return(WithPipeline(_pipeline.Densify(field, range, partitionByFields)));
 }
 /// <summary>
 /// Appends a $densify stage to the pipeline.
 /// </summary>
 /// <typeparam name="TResult">The type of the result.</typeparam>
 /// <param name="aggregate">The aggregate.</param>
 /// <param name="field">The field.</param>
 /// <param name="range">The range.</param>
 /// <param name="partitionByFields">The partition by fields.</param>
 /// <returns>
 /// The fluent aggregate interface.
 /// </returns>
 public static IAggregateFluent <TResult> Densify <TResult>(
     this IAggregateFluent <TResult> aggregate,
     Expression <Func <TResult, object> > field,
     DensifyRange range,
     params Expression <Func <TResult, object> >[] partitionByFields)
 {
     Ensure.IsNotNull(aggregate, nameof(aggregate));
     return(aggregate.AppendStage(PipelineStageDefinitionBuilder.Densify(field, range, partitionByFields)));
 }