MobilityDB 1.1

◆ temporal_sel_period()

Selectivity temporal_sel_period ( VariableStatData *  vardata,
Span period,
meosOper  oper 
)

Return an estimate of the selectivity of the search period and the operator for columns of temporal values.

For the traditional comparison operators (<, <=, ...), we follow the approach for range types in PostgreSQL, this function computes the selectivity for <, <=, >, and >=, while the selectivity functions for = and <> are eqsel and neqsel, respectively.