MobilityDB 1.1

◆ span_compute_stats_generic()

void span_compute_stats_generic ( VacAttrStats *  stats,
int  non_null_cnt,
int *  slot_idx,
SpanBound lowers,
SpanBound uppers,
float8 lengths,
bool  valuedim 
)

Compute statistics for time type columns and for the time dimension of all temporal types whose subtype is not instant.

Parameters
[in]statsStructure storing statistics information
[in]non_null_cntNumber of rows that are not null
[in]slot_idxIndex of the slot where the statistics collected are stored
[in]lowers,uppersArrays of span bounds
[in]lengthsArrays of span lengths
[in]valuedimTrue for computing the histogram of the value dimension, false for the time dimension