MobilityDB  1.0
Data Structures | Functions
temporal_analyze.h File Reference

Functions for gathering statistics from temporal alphanumeric columns. More...

#include <postgres.h>
#include <catalog/pg_type.h>
#include <commands/vacuum.h>
#include <utils/rangetypes.h>
#include <parser/parse_oper.h>
#include <statistics/extended_stats_internal.h>
Include dependency graph for temporal_analyze.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  TemporalAnalyzeExtraData
 
struct  ScalarMCVItem
 
struct  CompareScalarsContext
 

Functions

void temporal_extra_info (VacAttrStats *stats)
 Collect extra information about the temporal type and its base and time types. More...
 
void tinstant_compute_stats (VacAttrStats *stats, AnalyzeAttrFetchFunc fetchfunc, int samplerows, double totalrows)
 
void tsequenceset_compute_stats (VacAttrStats *stats, AnalyzeAttrFetchFunc fetchfunc, int samplerows, double totalrows)
 
Datum temporal_analyze (PG_FUNCTION_ARGS)
 Compute the statistics for temporal columns where only the time dimension is considered. More...
 
Datum tnumber_analyze (PG_FUNCTION_ARGS)
 Compute the statistics for temporal number columns. More...
 
Datum generic_analyze (FunctionCallInfo fcinfo, void(*functemp)(VacAttrStats *, AnalyzeAttrFetchFunc, int, double))
 Generic analyze function for temporal columns. More...
 

Detailed Description

Functions for gathering statistics from temporal alphanumeric columns.