StructsΒ§
- Absent
Over Time - absent_over_time returns an empty vector if the range vector passed to it has any elements (floats or native histograms) and a 1-element vector with the value 1 if the range vector passed to it has no elements.
- AvgOver
Time - The average value of all points in the specified interval.
- Count
Over Time - The count of all values in the specified interval.
- Last
Over Time - The most recent point value in specified interval.
- MaxOver
Time - The maximum value of all points in the specified interval.
- MinOver
Time - The minimum value of all points in the specified interval.
- Present
Over Time - the value 1 for any series in the specified interval.
- Sliding
Extrema π - Reuses extrema candidates across windows whose bounds do not retreat.
- Stddev
Over Time - the population standard deviation of the values in the specified interval. Prometheusβs implementation: https://github.com/prometheus/prometheus/blob/f55ab2217984770aa1eecd0f2d5f54580029b1c0/promql/functions.go#L556-L569
- Stdvar
Over Time - the population standard variance of the values in the specified interval. DataFusionβs implementation: https://github.com/apache/arrow-datafusion/blob/292eb954fc0bad3a1febc597233ba26cb60bda3e/datafusion/physical-expr/src/aggregate/variance.rs#L224-#L241
- SumOver
Time - The sum of all values in the specified interval.
EnumsΒ§
- Presence
Evaluator π
ConstantsΒ§
- MAX_
SLIDING_ πSTEP_ FRACTION - Reuse is taken only when a step advances at most this fraction of the window.
- MIN_
SLIDING_ πWINDOWS - Batches with fewer windows than this have too little repeated work to reclaim.
- MIN_
SLIDING_ πWINDOW_ LENGTH - Below this average window length the per-sample bookkeeping is comparable to the scan it would replace.
FunctionsΒ§
- absent_
over_ πtime_ evaluator - avg_
over_ πtime - count_
over_ πtime_ evaluator - evaluate_
presence π - is_
better π - last_
over_ πtime_ evaluator - min_
max_ πinput_ type - min_
max_ πover_ time_ batch - present_
over_ πtime_ evaluator - reuses_
candidates π - Whether reusing candidates across windows is expected to beat rescanning each one.
- scan_
extremum π - Folds one window on its own, the way the per-window scan used to.
- stddev_
over_ πtime - stdvar_
over_ πtime - sum_
over_ πtime