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

◆ tcontseq_time_split_iter()

static int tcontseq_time_split_iter ( const TSequence seq,
TimestampTz  start,
TimestampTz  end,
int64  tunits,
int  count,
TSequence **  result,
TimestampTz times 
)
static

Split a temporal value into an array of fragments according to time bins.

Parameters
[in]seqTemporal value
[in]start,endStart and end timestamps of the bins
[in]tunitsSize of the time bins in PostgreSQL time units
[in]countNumber of bins
[out]resultOutput array of fragments of the temporal value
[out]timesOutput array of bin lower bounds
Note
This function is called for each sequence of a temporal sequence set