MobilityDB 1.1
Functions
span_selfuncs.h File Reference
#include <postgres.h>
#include "general/set.h"
#include "pg_general/temporal_selfuncs.h"
Include dependency graph for span_selfuncs.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void span_const_to_span (Node *other, Span *span)
 Transform the constant into a span. More...
 
float8 span_joinsel (PlannerInfo *root, meosOper oper, List *args, JoinType jointype, SpecialJoinInfo *sjinfo)
 Estimate join selectivity for spans. More...
 
float8 span_joinsel_default (meosOper oper)
 Return a default join selectivity estimate for given operator, when we don't have statistics or cannot use them for some reason. More...
 
float8 span_sel (PlannerInfo *root, Oid operid, List *args, int varRelid)
 Restriction selectivity for span operators. More...
 
float8 span_sel_default (meosOper oper)
 Functions for selectivity estimation of time types operators. More...
 
double span_sel_hist (VariableStatData *vardata, const Span *constval, meosOper oper, bool value)
 Calculate span operator selectivity using histograms of span bounds. More...