MobilityDB  1.0
Functions
temporal_posops.h File Reference

Relative position operators for temporal types. More...

#include <postgres.h>
#include <catalog/pg_type.h>
#include "temporal.h"
Include dependency graph for temporal_posops.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

Datum before_period_temporal (PG_FUNCTION_ARGS)
 Returns true if the period value is strictly before the temporal value. More...
 
Datum overbefore_period_temporal (PG_FUNCTION_ARGS)
 Returns true if the period value is not after the temporal value. More...
 
Datum after_period_temporal (PG_FUNCTION_ARGS)
 Returns true if the period value is strictly after the temporal value. More...
 
Datum overafter_period_temporal (PG_FUNCTION_ARGS)
 Returns true if the period value is not before the temporal value. More...
 
Datum before_temporal_period (PG_FUNCTION_ARGS)
 Returns true if the temporal value is strictly before the period value. More...
 
Datum overbefore_temporal_period (PG_FUNCTION_ARGS)
 Returns true if the temporal value is not after the period value. More...
 
Datum after_temporal_period (PG_FUNCTION_ARGS)
 Returns true if the temporal value is strictly after the period value. More...
 
Datum overafter_temporal_period (PG_FUNCTION_ARGS)
 Returns true if the temporal value is not before the period value. More...
 
Datum before_temporal_temporal (PG_FUNCTION_ARGS)
 Returns true if the first temporal value is strictly before the second one. More...
 
Datum overbefore_temporal_temporal (PG_FUNCTION_ARGS)
 Returns true if the first temporal value is not after the second one. More...
 
Datum after_temporal_temporal (PG_FUNCTION_ARGS)
 Returns true if the first temporal value is strictly after the second one. More...
 
Datum overafter_temporal_temporal (PG_FUNCTION_ARGS)
 Returns true if the first temporal value is not before the second one. More...
 
Datum left_range_tnumber (PG_FUNCTION_ARGS)
 Returns true if the number range value is strictly to the left of the temporal number. More...
 
Datum overleft_range_tnumber (PG_FUNCTION_ARGS)
 Returns true if the number range value is not to the right of the temporal number. More...
 
Datum right_range_tnumber (PG_FUNCTION_ARGS)
 Returns true if the number range value is strictly to the right of the temporal number. More...
 
Datum overright_range_tnumber (PG_FUNCTION_ARGS)
 Returns true if the number range value is not to the left of the temporal number. More...
 
Datum left_tnumber_range (PG_FUNCTION_ARGS)
 Returns true if the temporal number is strictly to the left of the number range value. More...
 
Datum overleft_tnumber_range (PG_FUNCTION_ARGS)
 Returns true if the temporal number is not to the right of the number range value. More...
 
Datum overright_tnumber_range (PG_FUNCTION_ARGS)
 Returns true if the temporal number is not to the left of the number range value. More...
 
Datum right_tnumber_range (PG_FUNCTION_ARGS)
 Returns true if the temporal number is strictly to the right of the number range value. More...
 
Datum left_tbox_tnumber (PG_FUNCTION_ARGS)
 Returns true if the temporal box value is strictly to the left of the temporal number. More...
 
Datum overleft_tbox_tnumber (PG_FUNCTION_ARGS)
 Returns true if the temporal box value is not to the right of the temporal number. More...
 
Datum right_tbox_tnumber (PG_FUNCTION_ARGS)
 Returns true if the temporal box value is strictly to the right of the temporal number. More...
 
Datum overright_tbox_tnumber (PG_FUNCTION_ARGS)
 Returns true if the temporal box value is not to the left of the temporal number. More...
 
Datum before_tbox_tnumber (PG_FUNCTION_ARGS)
 Returns true if the temporal box value is strictly before the temporal number. More...
 
Datum overbefore_tbox_tnumber (PG_FUNCTION_ARGS)
 Returns true if the temporal box value is not after the temporal number. More...
 
Datum after_tbox_tnumber (PG_FUNCTION_ARGS)
 Returns true if the temporal box value is strictly after the temporal number. More...
 
Datum overafter_tbox_tnumber (PG_FUNCTION_ARGS)
 Returns true if the temporal box value is not before the temporal number. More...
 
Datum left_tnumber_tbox (PG_FUNCTION_ARGS)
 Returns true if the temporal number is strictly to the left of the temporal box value. More...
 
Datum overleft_tnumber_tbox (PG_FUNCTION_ARGS)
 Returns true if the temporal number is not to the right of the temporal box value. More...
 
Datum right_tnumber_tbox (PG_FUNCTION_ARGS)
 Returns true if the temporal number is strictly to the right of the temporal box value. More...
 
Datum overright_tnumber_tbox (PG_FUNCTION_ARGS)
 Returns true if the temporal number is not to the left of the temporal box value. More...
 
Datum before_tnumber_tbox (PG_FUNCTION_ARGS)
 Returns true if the temporal number is strictly before the temporal box value. More...
 
Datum overbefore_tnumber_tbox (PG_FUNCTION_ARGS)
 Returns true if the temporal number is not after the temporal box value. More...
 
Datum after_tnumber_tbox (PG_FUNCTION_ARGS)
 Returns true if the temporal number is strictly after the temporal box value. More...
 
Datum overafter_tnumber_tbox (PG_FUNCTION_ARGS)
 Returns true if the temporal number is not before the temporal box value. More...
 
Datum left_tnumber_tnumber (PG_FUNCTION_ARGS)
 Returns true if the first temporal number is strictly to the left of the second one. More...
 
Datum overleft_tnumber_tnumber (PG_FUNCTION_ARGS)
 Returns true if the first temporal number is not to the right of the second one. More...
 
Datum right_tnumber_tnumber (PG_FUNCTION_ARGS)
 Returns true if the first temporal number is strictly to the right of the second one. More...
 
Datum overright_tnumber_tnumber (PG_FUNCTION_ARGS)
 Returns true if the first temporal number is not to the left of the second one. More...
 
Datum before_tnumber_tnumber (PG_FUNCTION_ARGS)
 Returns true if the first temporal number is strictly before the second one. More...
 
Datum overbefore_tnumber_tnumber (PG_FUNCTION_ARGS)
 Returns true if the first temporal number is not after the second one. More...
 
Datum after_tnumber_tnumber (PG_FUNCTION_ARGS)
 Returns true if the first temporal number is strictly after the second one. More...
 
Datum overafter_tnumber_tnumber (PG_FUNCTION_ARGS)
 Returns true if the first temporal number is not before the second one. More...
 

Detailed Description

Relative position operators for temporal types.