MobilityDB  1.0

◆ bucket_position()

static int bucket_position ( Datum  value,
Datum  size,
Datum  origin,
Oid  type 
)
static

Get the bucket number in the bucket space that contains the value.

Parameters
[in]valueInput value
[in]sizeSize of the buckets
[in]originOrigin of the buckets
[in]typeOid of the data type of the arguments