/// <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); }
/// <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); }