MobilityDB 1.1
Functions

Comparison functions for temporal types. More...

Collaboration diagram for Comparison functions:

Functions

int temporal_cmp (const Temporal *temp1, const Temporal *temp2)
 Return -1, 0, or 1 depending on whether the first temporal value is less than, equal, or greater than the second one. More...
 
bool temporal_eq (const Temporal *temp1, const Temporal *temp2)
 Return true if the temporal values are equal. More...
 
bool temporal_ge (const Temporal *temp1, const Temporal *temp2)
 Return true if the first temporal value is greater than or equal to the second one. More...
 
bool temporal_gt (const Temporal *temp1, const Temporal *temp2)
 Return true if the first temporal value is greater than the second one. More...
 
bool temporal_le (const Temporal *temp1, const Temporal *temp2)
 Return true if the first temporal value is less than or equal to the second one. More...
 
bool temporal_lt (const Temporal *temp1, const Temporal *temp2)
 Return true if the first temporal value is less than the second one. More...
 
bool temporal_ne (const Temporal *temp1, const Temporal *temp2)
 Return true if the temporal values are different. More...
 
Temporalteq_bool_tbool (bool b, const Temporal *temp)
 Temporal comparison operators: #=, #<>, #<, #>, #<=, #>=. More...
 
Temporalteq_float_tfloat (double d, const Temporal *temp)
 Return the temporal equality of a float and a temporal float. More...
 
Temporalteq_geo_tpoint (const GSERIALIZED *geo, const Temporal *tpoint)
 General functions for temporal points. More...
 
Temporalteq_int_tint (int i, const Temporal *temp)
 Return the temporal equality of an integer and a temporal integer. More...
 
Temporalteq_point_tgeogpoint (const GSERIALIZED *gs, const Temporal *temp)
 Return the temporal equality of a point and a temporal geographic point. More...
 
Temporalteq_point_tgeompoint (const GSERIALIZED *gs, const Temporal *temp)
 Return the temporal equality of a point and a temporal geometric point. More...
 
Temporalteq_tbool_bool (const Temporal *temp, bool b)
 Return the temporal equality of a temporal boolean and a boolean. More...
 
Temporalteq_temporal_temporal (const Temporal *temp1, const Temporal *temp2)
 Return the temporal equality of the temporal values. More...
 
Temporalteq_text_ttext (const text *txt, const Temporal *temp)
 Return the temporal equality of a text and a temporal text. More...
 
Temporalteq_tfloat_float (const Temporal *temp, double d)
 Return the temporal equality of a temporal float and a float. More...
 
Temporalteq_tgeogpoint_point (const Temporal *temp, const GSERIALIZED *gs)
 Return the temporal equality of a temporal geographic point and a point. More...
 
Temporalteq_tgeompoint_point (const Temporal *temp, const GSERIALIZED *gs)
 Return the temporal equality of a temporal geometric point and a point. More...
 
Temporalteq_tint_int (const Temporal *temp, int i)
 Return the temporal equality of a temporal integer and an integer. More...
 
Temporalteq_tpoint_geo (const Temporal *tpoint, const GSERIALIZED *geo)
 Return the temporal equality of a temporal point and a point. More...
 
Temporalteq_ttext_text (const Temporal *temp, const text *txt)
 Return the temporal equality of a temporal text and a text. More...
 
Temporaltge_float_tfloat (double d, const Temporal *temp)
 Return the temporal greater than or equal to of a float and a temporal float. More...
 
Temporaltge_int_tint (int i, const Temporal *temp)
 Return the temporal greater than or equal to of an integer and a temporal integer. More...
 
Temporaltge_temporal_temporal (const Temporal *temp1, const Temporal *temp2)
 Return the temporal greater than or equal of the temporal values. More...
 
Temporaltge_text_ttext (const text *txt, const Temporal *temp)
 Return the temporal greater than or equal to of a text and a temporal text. More...
 
Temporaltge_tfloat_float (const Temporal *temp, double d)
 Return the temporal greater than or equal to of a temporal float and a float. More...
 
Temporaltge_tint_int (const Temporal *temp, int i)
 Return the temporal greater than or equal to of a temporal integer and an integer. More...
 
Temporaltge_ttext_text (const Temporal *temp, const text *txt)
 Return the temporal greater than or equal to of a temporal text and a text. More...
 
Temporaltgt_float_tfloat (double d, const Temporal *temp)
 Return the temporal greater than of a float and a temporal float. More...
 
Temporaltgt_int_tint (int i, const Temporal *temp)
 Return the temporal greater than of an integer and a temporal integer. More...
 
Temporaltgt_temporal_temporal (const Temporal *temp1, const Temporal *temp2)
 Return the temporal greater than of the temporal values. More...
 
Temporaltgt_text_ttext (const text *txt, const Temporal *temp)
 Return the temporal greater than of a text and a temporal text. More...
 
Temporaltgt_tfloat_float (const Temporal *temp, double d)
 Return the temporal greater than of a temporal float and a float. More...
 
Temporaltgt_tint_int (const Temporal *temp, int i)
 Return the temporal greater than of a temporal integer and an integer. More...
 
Temporaltgt_ttext_text (const Temporal *temp, const text *txt)
 Return the temporal greater than of a temporal text and a text. More...
 
Temporaltle_float_tfloat (double d, const Temporal *temp)
 Return the temporal less than or equal to of a float and a temporal float. More...
 
Temporaltle_int_tint (int i, const Temporal *temp)
 Return the temporal less than or equal to of an integer and a temporal integer. More...
 
Temporaltle_temporal_temporal (const Temporal *temp1, const Temporal *temp2)
 Return the temporal less than or equal to of the temporal values. More...
 
Temporaltle_text_ttext (const text *txt, const Temporal *temp)
 Return the temporal less or equal to than of a text and a temporal text. More...
 
Temporaltle_tfloat_float (const Temporal *temp, double d)
 Return the temporal less than or equal to of a temporal float and a float. More...
 
Temporaltle_tint_int (const Temporal *temp, int i)
 Return the temporal less than or equal to of a temporal integer and an integer. More...
 
Temporaltle_ttext_text (const Temporal *temp, const text *txt)
 Return the temporal less than or equal to of a temporal text and a text. More...
 
Temporaltlt_float_tfloat (double d, const Temporal *temp)
 Return the temporal less than of a float and a temporal float. More...
 
Temporaltlt_int_tint (int i, const Temporal *temp)
 Return the temporal less than of an integer and a temporal integer. More...
 
Temporaltlt_temporal_temporal (const Temporal *temp1, const Temporal *temp2)
 Return the temporal less than of the temporal values. More...
 
Temporaltlt_text_ttext (const text *txt, const Temporal *temp)
 Return the temporal less than of a text and a temporal text. More...
 
Temporaltlt_tfloat_float (const Temporal *temp, double d)
 Return the temporal less than of a temporal float and a float. More...
 
Temporaltlt_tint_int (const Temporal *temp, int i)
 Return the temporal less than of a temporal integer and an integer. More...
 
Temporaltlt_ttext_text (const Temporal *temp, const text *txt)
 Return the temporal less than of a temporal text and a text. More...
 
Temporaltne_bool_tbool (bool b, const Temporal *temp)
 Return the temporal inequality of a boolean and a temporal boolean. More...
 
Temporaltne_float_tfloat (double d, const Temporal *temp)
 Return the temporal inequality of a float and a temporal float. More...
 
Temporaltne_geo_tpoint (const GSERIALIZED *geo, const Temporal *tpoint)
 Return the temporal difference of a point and a temporal point. More...
 
Temporaltne_int_tint (int i, const Temporal *temp)
 Return the temporal inequality of an integer and a temporal integer. More...
 
Temporaltne_point_tgeogpoint (const GSERIALIZED *gs, const Temporal *temp)
 Return the temporal inequality of a point and a temporal geographic point. More...
 
Temporaltne_point_tgeompoint (const GSERIALIZED *gs, const Temporal *temp)
 Return the temporal inequality of a point and a temporal geometric point. More...
 
Temporaltne_tbool_bool (const Temporal *temp, bool b)
 Return the temporal inequality of a temporal boolean and a boolean. More...
 
Temporaltne_temporal_temporal (const Temporal *temp1, const Temporal *temp2)
 Return the temporal inequality of the temporal values. More...
 
Temporaltne_text_ttext (const text *txt, const Temporal *temp)
 Return the temporal inequality of a text and a temporal text. More...
 
Temporaltne_tfloat_float (const Temporal *temp, double d)
 Return the temporal inequality of a temporal float and a float. More...
 
Temporaltne_tgeogpoint_point (const Temporal *temp, const GSERIALIZED *gs)
 Return the temporal inequality of a temporal geographic point and a point. More...
 
Temporaltne_tgeompoint_point (const Temporal *temp, const GSERIALIZED *gs)
 Return the temporal inequality of a temporal geometric point and a point. More...
 
Temporaltne_tint_int (const Temporal *temp, int i)
 Return the temporal inequality of a temporal integer and an integer. More...
 
Temporaltne_tpoint_geo (const Temporal *tpoint, const GSERIALIZED *geo)
 Return the temporal difference of the temporal point and a point. More...
 
Temporaltne_ttext_text (const Temporal *temp, const text *txt)
 Return the temporal inequality of a temporal text and a text. More...
 

Detailed Description

Comparison functions for temporal types.