MobilityDB  1.0

◆ time_split_state_make()

TimeSplitState* time_split_state_make ( int64  tunits,
TimestampTz *  buckets,
Temporal **  fragments,
int  count 
)

Create the initial state that persists across multiple calls of the function.

Parameters
[in]tunitsSize of the time buckets in PostgreSQL time units
[in]bucketsInitial timestamps of the buckets
[in]fragmentsFragments of the input temporal value
[in]countNumber of elements in the input arrays
Precondition
count is greater than 0