MobilityDB  1.0

◆ tnpoint_compute_stats()

static void tnpoint_compute_stats ( VacAttrStats *  stats,
AnalyzeAttrFetchFunc  fetchfunc,
int  sample_rows,
double  total_rows 
)
static

Build some statistics on the sample data for use by operator estimators.

Note
The tnpoint_analyze function sets this function as a callback on the stats object when called by the ANALYZE command. ANALYZE then gathers the requisite number of sample rows and then calls this function.