MobilityDB 1.3
Loading...
Searching...
No Matches

◆ tcbuffersegm_intersection_value()

int tcbuffersegm_intersection_value ( Datum  start,
Datum  end,
Datum  value,
TimestampTz  lower,
TimestampTz  upper,
TimestampTz t1,
TimestampTz t2 
)

Return 1 if a segment of a temporal circular buffer and a circular buffer intersect during the period defined by the timestamps output in the last arguments.

Parameters
[in]start,endTemporal instants defining the segment
[in]valueValue to locate
[in]lower,upperTimestamps defining the segments
[out]t1,t2
Returns
Number of timestamps in the result, between 0 and 2. In the case of a single result both t1 and t2 are set to the unique timestamp.