MobilityDB 1.3
Loading...
Searching...
No Matches
Functions
temporal_posops_meos.c File Reference

Position operators for temporal types. More...

#include <postgres.h>
#include <meos.h>
#include <meos_internal.h>
#include "temporal/set.h"
#include "temporal/span.h"
#include "temporal/temporal.h"
#include "temporal/temporal_boxops.h"

Functions

bool after_tbox_tnumber (const TBox *box, const Temporal *temp)
 Return true if a temporal box is after a temporal number. More...
 
bool after_temporal_temporal (const Temporal *temp1, const Temporal *temp2)
 Return true if the first temporal value is after the second one. More...
 
bool after_temporal_tstzspan (const Temporal *temp, const Span *s)
 Return true if a temporal value is after a timestamptz span. More...
 
bool after_tnumber_tbox (const Temporal *temp, const TBox *box)
 Return true if a temporal number is after a temporal box. More...
 
bool after_tnumber_tnumber (const Temporal *temp1, const Temporal *temp2)
 Return true if the first temporal number is after the second one. More...
 
bool after_tstzspan_temporal (const Span *s, const Temporal *temp)
 Return true if a timestamptz span is after a temporal value. More...
 
bool before_tbox_tnumber (const TBox *box, const Temporal *temp)
 Return true if a temporal box is before a temporal number. More...
 
bool before_temporal_temporal (const Temporal *temp1, const Temporal *temp2)
 Return true if the first temporal value is before the second one. More...
 
bool before_temporal_tstzspan (const Temporal *temp, const Span *s)
 Return true if a temporal value is before a timestamptz span. More...
 
bool before_tnumber_tbox (const Temporal *temp, const TBox *box)
 Return true if a temporal number is before a temporal box. More...
 
bool before_tnumber_tnumber (const Temporal *temp1, const Temporal *temp2)
 Return true if the first temporal number is before the second one. More...
 
bool before_tstzspan_temporal (const Span *s, const Temporal *temp)
 Return true if a timestamptz span is before a temporal value. More...
 
bool left_numspan_tnumber (const Span *s, const Temporal *temp)
 Return true if a number span is to the left of a temporal number. More...
 
bool left_tbox_tnumber (const TBox *box, const Temporal *temp)
 Return true if a temporal box is to the left of a temporal number. More...
 
bool left_tnumber_numspan (const Temporal *temp, const Span *s)
 Return true if a temporal number is to the left of a number span. More...
 
bool left_tnumber_tbox (const Temporal *temp, const TBox *box)
 Return true if a temporal number is to the left of a temporal box. More...
 
bool left_tnumber_tnumber (const Temporal *temp1, const Temporal *temp2)
 Return true if the first temporal number is to the left of the second one. More...
 
bool overafter_tbox_tnumber (const TBox *box, const Temporal *temp)
 Return true if a temporal box is not before a temporal number. More...
 
bool overafter_temporal_temporal (const Temporal *temp1, const Temporal *temp2)
 Return true if the first temporal value is not before the second one. More...
 
bool overafter_temporal_tstzspan (const Temporal *temp, const Span *s)
 Return true if a temporal value is not before a timestamptz span. More...
 
bool overafter_tnumber_tbox (const Temporal *temp, const TBox *box)
 Return true if a temporal number is not before a temporal box. More...
 
bool overafter_tnumber_tnumber (const Temporal *temp1, const Temporal *temp2)
 Return true if the first temporal number is not before the second one. More...
 
bool overafter_tstzspan_temporal (const Span *s, const Temporal *temp)
 Return true if a timestamptz span is not before a temporal value. More...
 
bool overbefore_tbox_tnumber (const TBox *box, const Temporal *temp)
 Return true if a temporal box is not after a temporal number. More...
 
bool overbefore_temporal_temporal (const Temporal *temp1, const Temporal *temp2)
 Return true if the first temporal value is not after the second one. More...
 
bool overbefore_temporal_tstzspan (const Temporal *temp, const Span *s)
 Return true if a temporal value is not after a timestamptz span. More...
 
bool overbefore_tnumber_tbox (const Temporal *temp, const TBox *box)
 Return true if a temporal number is not after a temporal box. More...
 
bool overbefore_tnumber_tnumber (const Temporal *temp1, const Temporal *temp2)
 Return true if the first temporal number is not after the second one. More...
 
bool overbefore_tstzspan_temporal (const Span *s, const Temporal *temp)
 Return true if a timestamptz span is not after a temporal value. More...
 
bool overleft_numspan_tnumber (const Span *s, const Temporal *temp)
 Return true if a number span does not extend to the right of a temporal number. More...
 
bool overleft_tbox_tnumber (const TBox *box, const Temporal *temp)
 Return true if a temporal box does not extend to the right of a temporal number. More...
 
bool overleft_tnumber_numspan (const Temporal *temp, const Span *s)
 Return true if a temporal number does not extend to the right of a number span. More...
 
bool overleft_tnumber_tbox (const Temporal *temp, const TBox *box)
 Return true if a temporal number does not extend to the right of a temporal box. More...
 
bool overleft_tnumber_tnumber (const Temporal *temp1, const Temporal *temp2)
 Return true if the first temporal number does not extend to the right of the second one. More...
 
bool overright_numspan_tnumber (const Span *s, const Temporal *temp)
 Return true if a number span does not extend to the left of a temporal number. More...
 
bool overright_tbox_tnumber (const TBox *box, const Temporal *temp)
 Return true if a temporal box does not extend to the left of a temporal number. More...
 
bool overright_tnumber_numspan (const Temporal *temp, const Span *s)
 Return true if a temporal number does not extend to the left of a number span. More...
 
bool overright_tnumber_tbox (const Temporal *temp, const TBox *box)
 Return true if a temporal number does not extend to the left of a temporal box. More...
 
bool overright_tnumber_tnumber (const Temporal *temp1, const Temporal *temp2)
 Return true if the first temporal number does not extend to the left of the second one. More...
 
bool right_numspan_tnumber (const Span *s, const Temporal *temp)
 Return true if a number span is to the right of a temporal number. More...
 
bool right_tbox_tnumber (const TBox *box, const Temporal *temp)
 Return true if a temporal box is to the right of a temporal number. More...
 
bool right_tnumber_numspan (const Temporal *temp, const Span *s)
 Return true if a temporal number is to the right of a number span. More...
 
bool right_tnumber_tbox (const Temporal *temp, const TBox *box)
 Return true if a temporal number is to the right of a temporal box. More...
 
bool right_tnumber_tnumber (const Temporal *temp1, const Temporal *temp2)
 Return true if the first temporal number is to the right of the second one. More...
 

Detailed Description

Position operators for temporal types.

The following operators are defined: