Changelog
Todos los cambios notables de Vali-Bucket se documentan aquí. Sigue Keep a Changelog y Semantic Versioning.
[1.0.0] — Paquete nuevo
Agregado
IValiBucket.Bucketize— agrupa timestamps crudos en buckets de tamaño fijo alineados a un anchor, contando cuántos caen en cada uno.IValiBucket.Aggregate<T>— agrupa pares(timestamp, value)en buckets, combinando los valores de cada bucket medianteBucketAggregation(Sum,Average,Count,Min,Max).IValiBucket.GetBucketFor— búsqueda O(1) del bucket al que pertenece un único timestamp, sin tener que agrupar toda una colección.BucketSize(decimal Amount, TimeUnit Unit)— tamaño de bucket de longitud fija (MillisecondsaWeeks);Months/YearslanzanArgumentOutOfRangeException.TimeBucket/TimeBucket<T>— elDateRangedel bucket másCount(yValuepara el overload agregado).- Método de extensión
AddValiBucket()para el registro en DI deIServiceCollection. - Reutiliza el
DateRangedeVali-Rangepara el rango de tiempo de cada bucket.