Loading

bucketizer.sum.forbid-nulls


bucketizer
Since v1.0.11
Deprecated since v2.4.1
Available on all platforms
See also

Deprecated: bucketizer.sum.forbid-nulls has the same behavior as bucketizer.sum, use bucketizer.sum instead.

The bucketizer.sum.forbid-nulls function returns the sum of all the values found for each bucket of a bucketized Geo Time Series™.

The associated location and elevation are those of the most recent tick of the interval.

The bucketizer.sum.forbid-nulls function can only be applied to values of type LONG or DOUBLE, when applied to STRING or BOOLEAN it does not return any value.

If a value is NULL in the bucket, the result is NULL

Signature

Examples

NEWGTS 100 NaN NaN NaN 10 ADDVALUE 200 NaN NaN NaN 9 ADDVALUE 300 NaN NaN NaN 8 ADDVALUE 400 NaN NaN NaN 7 ADDVALUE 500 NaN NaN NaN 6 ADDVALUE 600 NaN NaN NaN 5 ADDVALUE 700 NaN NaN NaN 4 ADDVALUE 800 NaN NaN NaN 42 ADDVALUE [ SWAP bucketizer.sum.forbid-nulls 0 0 2 ] BUCKETIZE