MobilityDB 1.1

◆ temporal_const_to_period()

static bool temporal_const_to_period ( Node *  other,
Span period 
)
static

Functions for selectivity estimation of operators on temporal types whose bounding box is a Period, that is, tbool and ttext.

The operators currently supported are as follows

  • B-tree comparison operators: <, <=, >, >=
  • Bounding box operators: &&, @>, <@, ~=
  • Relative position operators: <<#, &<#, #>>, #>>
  • Ever/always comparison operators: ?=, %=, ?<>, %<>, ?<,%<`, ... These still need to be defined. TODO

Transform the constant into a period