MobilityDB 1.1

◆ span_bucket_set()

void span_bucket_set ( Datum  lower,
Datum  size,
meosType  basetype,
Span span 
)

Bucket and tile functions for temporal types.

Note
The time bucket functions are inspired from TimescaleDB. https://docs.timescale.com/latest/api#time_bucket

Generate an integer or float span bucket from a bucket list

Parameters
[in]lowerStart value of the bucket
[in]sizeSize of the buckets
[in]basetypeType of the arguments
[out]spanOutput span