![]() |
MobilityDB 1.3
|
Operators for set types. More...
#include <assert.h>
#include <postgres.h>
#include <meos.h>
#include <meos_internal.h>
#include "temporal/set.h"
#include "temporal/temporal.h"
#include "temporal/type_util.h"
Functions | |
bool | contained_set_set (const Set *s1, const Set *s2) |
Return true if the first set is contained in the second one. More... | |
bool | contained_value_set (Datum value, const Set *s) |
Return true if a value is contained in a set. More... | |
static bool | contains_bound_set_set (const Set *s1, const Set *s2) |
Return true if the bounds of the first set contains the bounds of the second. More... | |
static bool | contains_bound_set_value (const Set *s, Datum value) |
Return true if the bounds of the set contains the value. More... | |
bool | contains_set_set (const Set *s1, const Set *s2) |
Return true if the first set contains the second one. More... | |
bool | contains_set_value (const Set *s, Datum value) |
Return true if a set contains a value. More... | |
Datum | distance_set_set (const Set *s1, const Set *s2) |
Return the distance between two sets. More... | |
Datum | distance_set_value (const Set *s, Datum value) |
Return the distance between a set and a value. More... | |
Set * | intersection_set_set (const Set *s1, const Set *s2) |
Return the intersection of two sets. More... | |
Set * | intersection_set_value (const Set *s, Datum value) |
Return the intersection of a set and a value. More... | |
Set * | intersection_value_set (Datum value, const Set *s) |
Return the union of a value and a set. More... | |
bool | left_set_set (const Set *s1, const Set *s2) |
Return true if the first set is to the left of the second one. More... | |
bool | left_set_value (const Set *s, Datum value) |
Return true if a set is to the left of a value. More... | |
bool | left_value_set (Datum value, const Set *s) |
Return true if a value is to the left of a set. More... | |
Set * | minus_set_set (const Set *s1, const Set *s2) |
Return the difference of two sets. More... | |
Set * | minus_set_value (const Set *s, Datum value) |
Return the difference of a set and a value. More... | |
Set * | minus_value_set (Datum value, const Set *s) |
Return the difference of a value and a set. More... | |
static bool | overlaps_bound_set_set (const Set *s1, const Set *s2) |
Return true if the bounds of two sets overlap. More... | |
bool | overlaps_set_set (const Set *s1, const Set *s2) |
Return true if two sets overlap. More... | |
bool | overleft_set_set (const Set *s1, const Set *s2) |
Return true if the first set does not extend to the right of the second one. More... | |
bool | overleft_set_value (const Set *s, Datum value) |
Return true if a set does not extend to the right of a value. More... | |
bool | overleft_value_set (Datum value, const Set *s) |
Return true if a value does not extend to the right of a set. More... | |
bool | overright_set_set (const Set *s1, const Set *s2) |
Return true if the first set does not extend to the left of the second one. More... | |
bool | overright_set_value (const Set *s, Datum value) |
Return true if a set does not extend to the left of a value. More... | |
bool | overright_value_set (Datum value, const Set *s) |
Return true if a value does not extend to the the left of a set. More... | |
bool | right_set_set (const Set *s1, const Set *s2) |
Return true if the first set is to the right of the second one. More... | |
bool | right_set_value (const Set *s, Datum value) |
Return true if a set is to the right of a value. More... | |
bool | right_value_set (Datum value, const Set *s) |
Return true if a value is to the right of a set. More... | |
static Set * | setop_set_set (const Set *s1, const Set *s2, SetOper op) |
Return the union, intersection, or difference of two sets. More... | |
Set * | union_set_set (const Set *s1, const Set *s2) |
Return the union of two sets. More... | |
Set * | union_set_value (const Set *s, Datum value) |
Return the union of a set and a value. More... | |
Set * | union_value_set (Datum value, const Set *s) |
Return the union of a value and a set. More... | |
Operators for set types.