MobilityDB 1.1

◆ span_bucket_state_make()

SpanBucketState * span_bucket_state_make ( const Span s,
Datum  size,
Datum  origin 
)

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

Parameters
[in]sBounds 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 s is the value span of the temporal number

xx