예제 #1
0
 /// <inheritdoc cref="IDateHistogramCompositeAggregationSource.CalendarInterval" />
 public DateHistogramCompositeAggregationSourceDescriptor <T> CalendarInterval(DateMathTime interval) =>
 Assign(interval, (a, v) => a.CalendarInterval = v);
 public DateMathExpression Operation(DateMathTime expression, DateMathOperation operation)
 {
     Self.Ranges.Add(Tuple.Create(operation, expression));
     return(this);
 }
예제 #3
0
 /// <inheritdoc cref="IDateHistogramGroupSource.CalendarInterval"/>
 public DateHistogramGroupSourceDescriptor <T> CalendarInterval(DateMathTime time) => Assign(time, (a, v) => a.CalendarInterval = v);
 public DateMathExpression Subtract(DateMathTime expression)
 {
     Self.Ranges.Add(Tuple.Create(DateMathOperation.Subtract, expression));
     return(this);
 }