MobilityDB  1.0

◆ range_compute_stats()

void range_compute_stats ( VacAttrStats *  stats,
int  non_null_cnt,
int *  slot_idx,
RangeBound *  lowers,
RangeBound *  uppers,
float8 *  lengths,
TypeCacheEntry *  typcache,
Oid  rangetypid 
)

Compute statistics for the value dimension (that is ranges) for temporal numbers.

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 range bounds
[in]lengthsArrays of range lengths
[in]typcacheInformation about the range stored in the cache
[in]rangetypidOid of the range type
Note
Function derived from compute_range_stats of file rangetypes_typanalyze.c