MobilityDB 1.1
Macros | Functions
span_analyze.h File Reference
#include <postgres.h>
#include <fmgr.h>
#include <commands/vacuum.h>
#include <statistics/extended_stats_internal.h>
#include "general/span.h"
Include dependency graph for span_analyze.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define STATISTIC_KIND_TIME_BOUNDS_HISTOGRAM   10
 
#define STATISTIC_KIND_TIME_LENGTH_HISTOGRAM   11
 
#define STATISTIC_KIND_VALUE_BOUNDS_HISTOGRAM   8
 Functions for gathering statistics from time type columns. More...
 
#define STATISTIC_KIND_VALUE_LENGTH_HISTOGRAM   9
 

Functions

int float8_qsort_cmp (const void *a1, const void *a2)
 Functions for gathering statistics from time type columns. More...
 
Datum set_analyze (FunctionCallInfo fcinfo, void(*func)(VacAttrStats *, AnalyzeAttrFetchFunc, int, double))
 
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. More...