MobilityDB 1.1
Functions
set_ops.c File Reference
#include <postgres.h>
#include <fmgr.h>
#include <meos.h>
#include <meos_internal.h>
#include "general/set.h"
#include "pg_general/meos_catalog.h"
Include dependency graph for set_ops.c:

Functions

PGDLLEXPORT Datum Contained_set_set (PG_FUNCTION_ARGS)
 Return true if the first timestamp set is contained by the second one. More...
 
PGDLLEXPORT Datum Contained_value_set (PG_FUNCTION_ARGS)
 Return true if a timestamp is contained by a timestamp set. More...
 
PGDLLEXPORT Datum Contains_set_set (PG_FUNCTION_ARGS)
 Return true if the first timestamp set contains the second one. More...
 
PGDLLEXPORT Datum Contains_set_value (PG_FUNCTION_ARGS)
 Return true if a set contains a value. More...
 
PGDLLEXPORT Datum Distance_set_set (PG_FUNCTION_ARGS)
 Return the distance in seconds between two sets. More...
 
PGDLLEXPORT Datum Distance_set_value (PG_FUNCTION_ARGS)
 Return the distance in seconds between a set and a value. More...
 
PGDLLEXPORT Datum Distance_value_set (PG_FUNCTION_ARGS)
 Return the distance in seconds between a value and a set. More...
 
PGDLLEXPORT Datum Intersection_set_set (PG_FUNCTION_ARGS)
 Return the intersection of the timestamp sets. More...
 
PGDLLEXPORT Datum Intersection_set_value (PG_FUNCTION_ARGS)
 Return the intersection of a timestamp set and a timestamp. More...
 
PGDLLEXPORT Datum Intersection_value_set (PG_FUNCTION_ARGS)
 Return the intersection of a timestamp and a timestamp set. More...
 
PGDLLEXPORT Datum Left_set_set (PG_FUNCTION_ARGS)
 Return true if the first timestamp set is strictly left the second one. More...
 
PGDLLEXPORT Datum Left_set_value (PG_FUNCTION_ARGS)
 Return true if a timestamp set is strictly left a timestamp. More...
 
PGDLLEXPORT Datum Left_value_set (PG_FUNCTION_ARGS)
 Return true if a timestamp is strictly left a timestamp set. More...
 
PGDLLEXPORT Datum Minus_set_set (PG_FUNCTION_ARGS)
 Return the difference of two sets. More...
 
PGDLLEXPORT Datum Minus_set_value (PG_FUNCTION_ARGS)
 Return the difference of a set and a value. More...
 
PGDLLEXPORT Datum Minus_value_set (PG_FUNCTION_ARGS)
 Return the difference of a value and a set. More...
 
PGDLLEXPORT Datum Overlaps_set_set (PG_FUNCTION_ARGS)
 Return true if the timestamp sets overlap. More...
 
PGDLLEXPORT Datum Overleft_set_set (PG_FUNCTION_ARGS)
 Return true if the first timestamp set is not right the second one. More...
 
PGDLLEXPORT Datum Overleft_set_value (PG_FUNCTION_ARGS)
 Return true if a timestamp is not right a timestamp. More...
 
PGDLLEXPORT Datum Overleft_value_set (PG_FUNCTION_ARGS)
 Return true if a timestamp is not right a timestamp set. More...
 
PGDLLEXPORT Datum Overright_set_set (PG_FUNCTION_ARGS)
 Return true if the first timestamp set is not left the second one. More...
 
PGDLLEXPORT Datum Overright_set_value (PG_FUNCTION_ARGS)
 Return true if a timestamp set is not left a timestamp. More...
 
PGDLLEXPORT Datum Overright_value_set (PG_FUNCTION_ARGS)
 Return true if a timestamp is not left a timestamp set. More...
 
PGDLLEXPORT Datum Right_set_set (PG_FUNCTION_ARGS)
 Return true if the first timestamp set is strictly right the second one. More...
 
PGDLLEXPORT Datum Right_set_value (PG_FUNCTION_ARGS)
 Return true if a timestamp set is strictly right a timestamp. More...
 
PGDLLEXPORT Datum Right_value_set (PG_FUNCTION_ARGS)
 Return true if a timestamp is strictly right a timestamp set. More...
 
PGDLLEXPORT Datum Union_set_set (PG_FUNCTION_ARGS)
 Return the union of the timestamp sets. More...
 
PGDLLEXPORT Datum Union_set_value (PG_FUNCTION_ARGS)
 Return the union of a timestamp set and a timestamp. More...
 
PGDLLEXPORT Datum Union_value_set (PG_FUNCTION_ARGS)
 Return the union of a timestamp and a timestamp set. More...