MobilityDB
1.0
|
◆ rbound_bsearch()
Binary search on an array of range bounds. Returns greatest index of range bound in array which is less(less or equal) than given range bound. If all range bounds in array are greater or equal(greater) than given range bound, return -1. When "equal" flag is set conditions in brackets are used. This function is used in scalar operator selectivity estimation. Another goal of this function is to find a histogram bin where to stop interpolation of portion of bounds which are less or equal to given bound.
|