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

Ever/always and temporal comparison operators. More...

#include "temporal/temporal_compops.h"
#include <meos.h>
#include <meos_internal.h>
#include "temporal/temporal.h"
#include "temporal/type_util.h"

Functions

int always_eq_bool_tbool (bool b, const Temporal *temp)
 Return true if a boolean is always equal to a temporal boolean. More...
 
int always_eq_float_tfloat (double d, const Temporal *temp)
 Return true if a float is always equal to a temporal float. More...
 
int always_eq_int_tint (int i, const Temporal *temp)
 Return true if an integer is always equal to a temporal integer. More...
 
int always_eq_tbool_bool (const Temporal *temp, bool b)
 Return true if a temporal boolean is always equal to a boolean. More...
 
int always_eq_text_ttext (const text *txt, const Temporal *temp)
 Return true if a text is always equal to a temporal text. More...
 
int always_eq_tfloat_float (const Temporal *temp, double d)
 Return true if a temporal float is always equal to a float. More...
 
int always_eq_tint_int (const Temporal *temp, int i)
 Return true if a temporal integer is always equal to an integer. More...
 
int always_eq_ttext_text (const Temporal *temp, const text *txt)
 Return true if a temporal text is always equal to a text. More...
 
int always_ge_float_tfloat (double d, const Temporal *temp)
 Return true if a float is always less than or equal to a float. More...
 
int always_ge_int_tint (int i, const Temporal *temp)
 Return true if an integer is always less than or equal to an integer. More...
 
int always_ge_text_ttext (const text *txt, const Temporal *temp)
 Return true if a text is always less than or equal to a text. More...
 
int always_ge_tfloat_float (const Temporal *temp, double d)
 Return true if a temporal float is always less than or equal to a float. More...
 
int always_ge_tint_int (const Temporal *temp, int i)
 Return true if a temporal integer is always less than or equal to an integer. More...
 
int always_ge_ttext_text (const Temporal *temp, const text *txt)
 Return true if a temporal text is always less than or equal to a text. More...
 
int always_gt_float_tfloat (double d, const Temporal *temp)
 Return true if a float is always less than a temporal float. More...
 
int always_gt_int_tint (int i, const Temporal *temp)
 Return true if an integer is always less than a temporal integer. More...
 
int always_gt_text_ttext (const text *txt, const Temporal *temp)
 Return true if a text is always less than a temporal text. More...
 
int always_gt_tfloat_float (const Temporal *temp, double d)
 Return true if a temporal float is always less than a float. More...
 
int always_gt_tint_int (const Temporal *temp, int i)
 Return true if a temporal integer is always less than an integer. More...
 
int always_gt_ttext_text (const Temporal *temp, const text *txt)
 Return true if a temporal text is always less than a text. More...
 
int always_le_float_tfloat (double d, const Temporal *temp)
 Return true if a float is always less than or equal to a float. More...
 
int always_le_int_tint (int i, const Temporal *temp)
 Return true if an integer is always less than or equal to an integer. More...
 
int always_le_text_ttext (const text *txt, const Temporal *temp)
 Return true if a text is always less than or equal to a text. More...
 
int always_le_tfloat_float (const Temporal *temp, double d)
 Return true if a temporal float is always less than or equal to a float. More...
 
int always_le_tint_int (const Temporal *temp, int i)
 Return true if a temporal integer is always less than or equal to an integer. More...
 
int always_le_ttext_text (const Temporal *temp, const text *txt)
 Return true if a temporal text is always less than or equal to a text. More...
 
int always_lt_float_tfloat (double d, const Temporal *temp)
 Return true if a float is always less than a temporal float. More...
 
int always_lt_int_tint (int i, const Temporal *temp)
 Return true if an integer is always less than a temporal integer. More...
 
int always_lt_text_ttext (const text *txt, const Temporal *temp)
 Return true if a text is always less than a temporal text. More...
 
int always_lt_tfloat_float (const Temporal *temp, double d)
 Return true if a temporal float is always less than a float. More...
 
int always_lt_tint_int (const Temporal *temp, int i)
 Return true if a temporal integer is always less than an integer. More...
 
int always_lt_ttext_text (const Temporal *temp, const text *txt)
 Return true if a temporal text is always less than a text. More...
 
int always_ne_bool_tbool (bool b, const Temporal *temp)
 Return true if a boolean is always different from a temporal boolean. More...
 
int always_ne_float_tfloat (double d, const Temporal *temp)
 Return true if a float is always different from a temporal float. More...
 
int always_ne_int_tint (int i, const Temporal *temp)
 Return true if an integer is always different from a temporal integer. More...
 
int always_ne_tbool_bool (const Temporal *temp, bool b)
 Return true if a temporal boolean is always different from a boolean. More...
 
int always_ne_text_ttext (const text *txt, const Temporal *temp)
 Return true if a text is always different from a temporal text. More...
 
int always_ne_tfloat_float (const Temporal *temp, double d)
 Return true if a temporal float is always different from a float. More...
 
int always_ne_tint_int (const Temporal *temp, int i)
 Return true if a temporal integer is always different from an integer. More...
 
int always_ne_ttext_text (const Temporal *temp, const text *txt)
 Return true if a temporal text is always different from a text. More...
 
int ever_eq_bool_tbool (bool b, const Temporal *temp)
 Return true if a boolean is ever equal to a temporal boolean. More...
 
int ever_eq_float_tfloat (double d, const Temporal *temp)
 Return true if a float is ever equal to a temporal float. More...
 
int ever_eq_int_tint (int i, const Temporal *temp)
 Return true if an integer is ever equal to a temporal integer. More...
 
int ever_eq_tbool_bool (const Temporal *temp, bool b)
 Return true if a temporal boolean is ever equal to a boolean. More...
 
int ever_eq_text_ttext (const text *txt, const Temporal *temp)
 Return true if a text is ever equal to a temporal text. More...
 
int ever_eq_tfloat_float (const Temporal *temp, double d)
 Return true if a temporal float is ever equal to a float. More...
 
int ever_eq_tint_int (const Temporal *temp, int i)
 Return true if a temporal integer is ever equal to an integer. More...
 
int ever_eq_ttext_text (const Temporal *temp, const text *txt)
 Return true if a temporal text is ever equal to a text. More...
 
int ever_ge_float_tfloat (double d, const Temporal *temp)
 Return true if a float is ever less than or equal to a float. More...
 
int ever_ge_int_tint (int i, const Temporal *temp)
 Return true if an integer is ever less than or equal to an integer. More...
 
int ever_ge_text_ttext (const text *txt, const Temporal *temp)
 Return true if a text is ever less than or equal to a text. More...
 
int ever_ge_tfloat_float (const Temporal *temp, double d)
 Return true if a temporal float is ever less than or equal to a float. More...
 
int ever_ge_tint_int (const Temporal *temp, int i)
 Return true if a temporal integer is ever less than or equal to an integer. More...
 
int ever_ge_ttext_text (const Temporal *temp, const text *txt)
 Return true if a temporal text is ever less than or equal to a text. More...
 
int ever_gt_float_tfloat (double d, const Temporal *temp)
 Return true if a float is ever less than a temporal float. More...
 
int ever_gt_int_tint (int i, const Temporal *temp)
 Return true if an integer is ever less than a temporal integer. More...
 
int ever_gt_text_ttext (const text *txt, const Temporal *temp)
 Return true if a text is ever less than a temporal text. More...
 
int ever_gt_tfloat_float (const Temporal *temp, double d)
 Return true if a temporal float is ever less than a float. More...
 
int ever_gt_tint_int (const Temporal *temp, int i)
 Return true if a temporal integer is ever less than an integer. More...
 
int ever_gt_ttext_text (const Temporal *temp, const text *txt)
 Return true if a temporal text is ever less than a text. More...
 
int ever_le_float_tfloat (double d, const Temporal *temp)
 Return true if a float is ever less than or equal to a float. More...
 
int ever_le_int_tint (int i, const Temporal *temp)
 Return true if an integer is ever less than or equal to an integer. More...
 
int ever_le_text_ttext (const text *txt, const Temporal *temp)
 Return true if a text is ever less than or equal to a text. More...
 
int ever_le_tfloat_float (const Temporal *temp, double d)
 Return true if a temporal float is ever less than or equal to a float. More...
 
int ever_le_tint_int (const Temporal *temp, int i)
 Return true if a temporal integer is ever less than or equal to an integer. More...
 
int ever_le_ttext_text (const Temporal *temp, const text *txt)
 Return true if a temporal text is ever less than or equal to a text. More...
 
int ever_lt_float_tfloat (double d, const Temporal *temp)
 Return true if a float is ever less than a temporal float. More...
 
int ever_lt_int_tint (int i, const Temporal *temp)
 Return true if an integer is ever less than a temporal integer. More...
 
int ever_lt_text_ttext (const text *txt, const Temporal *temp)
 Return true if a text is ever less than a temporal text. More...
 
int ever_lt_tfloat_float (const Temporal *temp, double d)
 Return true if a temporal float is ever less than a float. More...
 
int ever_lt_tint_int (const Temporal *temp, int i)
 Return true if a temporal integer is ever less than an integer. More...
 
int ever_lt_ttext_text (const Temporal *temp, const text *txt)
 Return true if a temporal text is ever less than a text. More...
 
int ever_ne_bool_tbool (bool b, const Temporal *temp)
 Return true if a boolean is ever different from a temporal boolean. More...
 
int ever_ne_float_tfloat (double d, const Temporal *temp)
 Return true if a float is ever different from a temporal float. More...
 
int ever_ne_int_tint (int i, const Temporal *temp)
 Return true if an integer is ever different from a temporal integer. More...
 
int ever_ne_tbool_bool (const Temporal *temp, bool b)
 Return true if a temporal boolean is ever different from a boolean. More...
 
int ever_ne_text_ttext (const text *txt, const Temporal *temp)
 Return true if a text is ever different from a temporal text. More...
 
int ever_ne_tfloat_float (const Temporal *temp, double d)
 Return true if a temporal float is ever different from a float. More...
 
int ever_ne_tint_int (const Temporal *temp, int i)
 Return true if a temporal integer is ever different from an integer. More...
 
int ever_ne_ttext_text (const Temporal *temp, const text *txt)
 Return true if a temporal text is ever different from a text. More...
 
Temporalteq_bool_tbool (bool b, const Temporal *temp)
 Return the temporal equality of a boolean and a temporal boolean. More...
 
Temporalteq_float_tfloat (double d, const Temporal *temp)
 Return the temporal equality of a float and a temporal float. More...
 
Temporalteq_int_tint (int i, const Temporal *temp)
 Return the temporal equality of an integer and a temporal integer. More...
 
Temporalteq_tbool_bool (const Temporal *temp, bool b)
 Return the temporal equality of a temporal boolean and a boolean. 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_tint_int (const Temporal *temp, int i)
 Return the temporal equality of a temporal integer and an integer. 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 to of two 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 two 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 two 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 two 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_int_tint (int i, const Temporal *temp)
 Return the temporal inequality of an integer and a temporal integer. More...
 
Temporaltne_tbool_bool (const Temporal *temp, bool b)
 Return the temporal inequality of a temporal boolean and a boolean. 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_tint_int (const Temporal *temp, int i)
 Return the temporal inequality of a temporal integer and an integer. More...
 
Temporaltne_ttext_text (const Temporal *temp, const text *txt)
 Return the temporal inequality of a temporal text and a text. More...
 

Detailed Description

Ever/always and temporal comparison operators.