MobilityDB 1.1
|
Comparison functions for temporal types. More...
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... | |
Temporal * | teq_bool_tbool (bool b, const Temporal *temp) |
Temporal comparison operators: #=, #<>, #<, #>, #<=, #>=. More... | |
Temporal * | teq_float_tfloat (double d, const Temporal *temp) |
Return the temporal equality of a float and a temporal float. More... | |
Temporal * | teq_geo_tpoint (const GSERIALIZED *geo, const Temporal *tpoint) |
General functions for temporal points. More... | |
Temporal * | teq_int_tint (int i, const Temporal *temp) |
Return the temporal equality of an integer and a temporal integer. More... | |
Temporal * | teq_point_tgeogpoint (const GSERIALIZED *gs, const Temporal *temp) |
Return the temporal equality of a point and a temporal geographic point. More... | |
Temporal * | teq_point_tgeompoint (const GSERIALIZED *gs, const Temporal *temp) |
Return the temporal equality of a point and a temporal geometric point. More... | |
Temporal * | teq_tbool_bool (const Temporal *temp, bool b) |
Return the temporal equality of a temporal boolean and a boolean. More... | |
Temporal * | teq_temporal_temporal (const Temporal *temp1, const Temporal *temp2) |
Return the temporal equality of the temporal values. More... | |
Temporal * | teq_text_ttext (const text *txt, const Temporal *temp) |
Return the temporal equality of a text and a temporal text. More... | |
Temporal * | teq_tfloat_float (const Temporal *temp, double d) |
Return the temporal equality of a temporal float and a float. More... | |
Temporal * | teq_tgeogpoint_point (const Temporal *temp, const GSERIALIZED *gs) |
Return the temporal equality of a temporal geographic point and a point. More... | |
Temporal * | teq_tgeompoint_point (const Temporal *temp, const GSERIALIZED *gs) |
Return the temporal equality of a temporal geometric point and a point. More... | |
Temporal * | teq_tint_int (const Temporal *temp, int i) |
Return the temporal equality of a temporal integer and an integer. More... | |
Temporal * | teq_tpoint_geo (const Temporal *tpoint, const GSERIALIZED *geo) |
Return the temporal equality of a temporal point and a point. More... | |
Temporal * | teq_ttext_text (const Temporal *temp, const text *txt) |
Return the temporal equality of a temporal text and a text. More... | |
Temporal * | tge_float_tfloat (double d, const Temporal *temp) |
Return the temporal greater than or equal to of a float and a temporal float. More... | |
Temporal * | tge_int_tint (int i, const Temporal *temp) |
Return the temporal greater than or equal to of an integer and a temporal integer. More... | |
Temporal * | tge_temporal_temporal (const Temporal *temp1, const Temporal *temp2) |
Return the temporal greater than or equal of the temporal values. More... | |
Temporal * | tge_text_ttext (const text *txt, const Temporal *temp) |
Return the temporal greater than or equal to of a text and a temporal text. More... | |
Temporal * | tge_tfloat_float (const Temporal *temp, double d) |
Return the temporal greater than or equal to of a temporal float and a float. More... | |
Temporal * | tge_tint_int (const Temporal *temp, int i) |
Return the temporal greater than or equal to of a temporal integer and an integer. More... | |
Temporal * | tge_ttext_text (const Temporal *temp, const text *txt) |
Return the temporal greater than or equal to of a temporal text and a text. More... | |
Temporal * | tgt_float_tfloat (double d, const Temporal *temp) |
Return the temporal greater than of a float and a temporal float. More... | |
Temporal * | tgt_int_tint (int i, const Temporal *temp) |
Return the temporal greater than of an integer and a temporal integer. More... | |
Temporal * | tgt_temporal_temporal (const Temporal *temp1, const Temporal *temp2) |
Return the temporal greater than of the temporal values. More... | |
Temporal * | tgt_text_ttext (const text *txt, const Temporal *temp) |
Return the temporal greater than of a text and a temporal text. More... | |
Temporal * | tgt_tfloat_float (const Temporal *temp, double d) |
Return the temporal greater than of a temporal float and a float. More... | |
Temporal * | tgt_tint_int (const Temporal *temp, int i) |
Return the temporal greater than of a temporal integer and an integer. More... | |
Temporal * | tgt_ttext_text (const Temporal *temp, const text *txt) |
Return the temporal greater than of a temporal text and a text. More... | |
Temporal * | tle_float_tfloat (double d, const Temporal *temp) |
Return the temporal less than or equal to of a float and a temporal float. More... | |
Temporal * | tle_int_tint (int i, const Temporal *temp) |
Return the temporal less than or equal to of an integer and a temporal integer. More... | |
Temporal * | tle_temporal_temporal (const Temporal *temp1, const Temporal *temp2) |
Return the temporal less than or equal to of the temporal values. More... | |
Temporal * | tle_text_ttext (const text *txt, const Temporal *temp) |
Return the temporal less or equal to than of a text and a temporal text. More... | |
Temporal * | tle_tfloat_float (const Temporal *temp, double d) |
Return the temporal less than or equal to of a temporal float and a float. More... | |
Temporal * | tle_tint_int (const Temporal *temp, int i) |
Return the temporal less than or equal to of a temporal integer and an integer. More... | |
Temporal * | tle_ttext_text (const Temporal *temp, const text *txt) |
Return the temporal less than or equal to of a temporal text and a text. More... | |
Temporal * | tlt_float_tfloat (double d, const Temporal *temp) |
Return the temporal less than of a float and a temporal float. More... | |
Temporal * | tlt_int_tint (int i, const Temporal *temp) |
Return the temporal less than of an integer and a temporal integer. More... | |
Temporal * | tlt_temporal_temporal (const Temporal *temp1, const Temporal *temp2) |
Return the temporal less than of the temporal values. More... | |
Temporal * | tlt_text_ttext (const text *txt, const Temporal *temp) |
Return the temporal less than of a text and a temporal text. More... | |
Temporal * | tlt_tfloat_float (const Temporal *temp, double d) |
Return the temporal less than of a temporal float and a float. More... | |
Temporal * | tlt_tint_int (const Temporal *temp, int i) |
Return the temporal less than of a temporal integer and an integer. More... | |
Temporal * | tlt_ttext_text (const Temporal *temp, const text *txt) |
Return the temporal less than of a temporal text and a text. More... | |
Temporal * | tne_bool_tbool (bool b, const Temporal *temp) |
Return the temporal inequality of a boolean and a temporal boolean. More... | |
Temporal * | tne_float_tfloat (double d, const Temporal *temp) |
Return the temporal inequality of a float and a temporal float. More... | |
Temporal * | tne_geo_tpoint (const GSERIALIZED *geo, const Temporal *tpoint) |
Return the temporal difference of a point and a temporal point. More... | |
Temporal * | tne_int_tint (int i, const Temporal *temp) |
Return the temporal inequality of an integer and a temporal integer. More... | |
Temporal * | tne_point_tgeogpoint (const GSERIALIZED *gs, const Temporal *temp) |
Return the temporal inequality of a point and a temporal geographic point. More... | |
Temporal * | tne_point_tgeompoint (const GSERIALIZED *gs, const Temporal *temp) |
Return the temporal inequality of a point and a temporal geometric point. More... | |
Temporal * | tne_tbool_bool (const Temporal *temp, bool b) |
Return the temporal inequality of a temporal boolean and a boolean. More... | |
Temporal * | tne_temporal_temporal (const Temporal *temp1, const Temporal *temp2) |
Return the temporal inequality of the temporal values. More... | |
Temporal * | tne_text_ttext (const text *txt, const Temporal *temp) |
Return the temporal inequality of a text and a temporal text. More... | |
Temporal * | tne_tfloat_float (const Temporal *temp, double d) |
Return the temporal inequality of a temporal float and a float. More... | |
Temporal * | tne_tgeogpoint_point (const Temporal *temp, const GSERIALIZED *gs) |
Return the temporal inequality of a temporal geographic point and a point. More... | |
Temporal * | tne_tgeompoint_point (const Temporal *temp, const GSERIALIZED *gs) |
Return the temporal inequality of a temporal geometric point and a point. More... | |
Temporal * | tne_tint_int (const Temporal *temp, int i) |
Return the temporal inequality of a temporal integer and an integer. More... | |
Temporal * | tne_tpoint_geo (const Temporal *tpoint, const GSERIALIZED *geo) |
Return the temporal difference of the temporal point and a point. More... | |
Temporal * | tne_ttext_text (const Temporal *temp, const text *txt) |
Return the temporal inequality of a temporal text and a text. More... | |
Comparison functions for temporal types.