An aggregator
aggregates bucket
into bucket-aggregate
and the way back.
It is composed of aggregator-item
, matching but completing the data aggregate
.
An `aggregator` aggregates `bucket` into `bucket-aggregate` and the way back. It is composed of `aggregator-item`, matching but completing the data `aggregate`. ![Aggregator entity diagram](archi/time_based/aggregator.png)
(bucket-aggregate aggregator bucket)
Returns the bucket-aggregate
matching bucket
in the aggregator
.
Returns the `bucket-aggregate` matching `bucket` in the `aggregator`.
(bucket-aggregates aggregator buckets)
Returns the bucket-aggregate
matching buckets
in the aggregator
.
Note that each bucket-aggregate
is returned once, and non bucket
outside any aggregate are excluded.
Returns the `bucket-aggregate` matching `buckets` in the `aggregator`. Note that each `bucket-aggregate` is returned once, and non `bucket` outside any aggregate are excluded.
(bucket-range aggregator bucket-aggregate)
Returns the range of bucket
matching a bucket-aggregate
in the aggregator
.
Note the returned value is a pair which first element is included, second is excluded.
Returns the range of `bucket` matching a `bucket-aggregate` in the `aggregator`. Note the returned value is a pair which first element is included, second is excluded.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close