MobilityDB 1.1

◆ tnumberseq_step_value_split()

static void tnumberseq_step_value_split ( const TSequence seq,
Datum  start_bucket,
Datum  size,
int  count,
TSequence **  result,
int *  numseqs,
int  numcols 
)
static

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

Parameters
[in]seqTemporal value
[in]start_bucketValue of the start bucket
[in]sizeSize of the value buckets
[in]countNumber of buckets
[in,out]resultArray containing the fragments of each bucket
[in,out]numseqsNumber of fragments for each bucket
[in]numcolsNumber of columns in the 2D pointer array. It can be seq->count for sequences or ss->totalcount for sequence sets