MobilityDB
1.0
|
◆ tinstantset_find_timestamp()
Returns the location of the timestamp in the temporal instant set value using binary search. If the timestamp is contained in the temporal value, the index of the sequence is returned in the output parameter. Otherwise, returns a number encoding whether the timestamp is before, between two sequences, or after the temporal value. For example, given a value composed of 3 instants and a timestamp, the value returned in the output parameter is as follows: 0 1 2 | | | 1) t^ => result = 0 2) t^ => result = 0 3) t^ => result = 1 4) t^ => result = 2 5) t^ => result = 3
|