MobilityDB  1.0

◆ range_bucket_state_make()

static RangeBucketState* range_bucket_state_make ( Temporal temp,
RangeType *  r,
Datum  size,
Datum  origin 
)
static

Create the initial state that persists across multiple calls of the function.

Parameters
[in]tempTemporal number to split
[in]rBounds for generating the bucket list
[in]sizeSize of the buckets
[in]originOrigin of the buckets
Precondition
The size argument must be greater to 0.
Note
The first argument is NULL when generating the bucket list, otherwise it is a temporal number to be split and in this case r is the value range of the temporal number