![]() |
MobilityDB 1.3
|
Operators for span set types. More...
#include <postgres.h>
#include <fmgr.h>
#include <meos.h>
#include <meos_internal.h>
#include "temporal/span.h"
#include "temporal/temporal.h"
#include "pg_temporal/meos_catalog.h"
#include "pg_temporal/spanset.h"
#include "pg_temporal/temporal.h"
Functions | |
Datum | Adjacent_span_spanset (PG_FUNCTION_ARGS) |
Return true if a span and a span set are adjacent @sqlfn span_adjacent() More... | |
Datum | Adjacent_spanset_span (PG_FUNCTION_ARGS) |
Return true if a span set and a span are adjacent @sqlfn span_adjacent() More... | |
Datum | Adjacent_spanset_spanset (PG_FUNCTION_ARGS) |
Return true if two span sets are adjacent @sqlfn span_adjacent() More... | |
Datum | Adjacent_spanset_value (PG_FUNCTION_ARGS) |
Return true if a span set and a value are adjacent @sqlfn span_adjacent() More... | |
Datum | Adjacent_value_spanset (PG_FUNCTION_ARGS) |
Return true if a value and a span set are adjacent @sqlfn span_adjacent() More... | |
static Datum | Boolop_base_spanset (FunctionCallInfo fcinfo, bool(*func)(Datum, const SpanSet *)) |
Generic function for set operators on span sets. More... | |
static Datum | Boolop_span_spanset (FunctionCallInfo fcinfo, bool(*func)(const Span *, const SpanSet *)) |
Generic function for boolean operators on span sets. More... | |
static Datum | Boolop_spanset_base (FunctionCallInfo fcinfo, bool(*func)(const SpanSet *, Datum)) |
Generic function for boolean operators on span sets. More... | |
static Datum | Boolop_spanset_span (FunctionCallInfo fcinfo, bool(*func)(const SpanSet *, const Span *)) |
Generic function for boolean operators on span sets. More... | |
static Datum | Boolop_spanset_spanset (FunctionCallInfo fcinfo, bool(*func)(const SpanSet *, const SpanSet *)) |
Generic function for boolean operators on span sets. More... | |
Datum | Contained_span_spanset (PG_FUNCTION_ARGS) |
Return true if a span is contained in a span set @sqlfn span_contained() More... | |
Datum | Contained_spanset_span (PG_FUNCTION_ARGS) |
Return true if a span set is contained in a span @sqlfn span_contained() More... | |
Datum | Contained_spanset_spanset (PG_FUNCTION_ARGS) |
Return true if the first span set is contained in the second one @sqlfn span_contained() More... | |
Datum | Contained_value_spanset (PG_FUNCTION_ARGS) |
Return true if a value is contained in a span set @sqlfn span_contained() More... | |
Datum | Contains_span_spanset (PG_FUNCTION_ARGS) |
Return true if a span contains a span set @sqlfn span_contains() More... | |
Datum | Contains_spanset_span (PG_FUNCTION_ARGS) |
Return true if a span set contains a span @sqlfn span_contains() More... | |
Datum | Contains_spanset_spanset (PG_FUNCTION_ARGS) |
Return true if the first span set contains the second one @sqlfn span_contains() More... | |
Datum | Contains_spanset_value (PG_FUNCTION_ARGS) |
Return true if a span contains a value @sqlfn span_contains() More... | |
Datum | Distance_span_spanset (PG_FUNCTION_ARGS) |
Return the distance in seconds between a span and a span set @sqlfn span_distance() More... | |
Datum | Distance_spanset_span (PG_FUNCTION_ARGS) |
Return the distance between a span set and a span @sqlfn span_distance() More... | |
Datum | Distance_spanset_spanset (PG_FUNCTION_ARGS) |
Return the distance between two span sets @sqlfn span_distance() More... | |
Datum | Distance_spanset_value (PG_FUNCTION_ARGS) |
Return the distance between a span set and a value @sqlfn span_distance() More... | |
Datum | Distance_value_spanset (PG_FUNCTION_ARGS) |
Return the distance between a value and a span set @sqlfn span_distance() More... | |
Datum | Intersection_span_spanset (PG_FUNCTION_ARGS) |
Return the intersection of a span and a span set @sqlfn span_intersection() More... | |
Datum | Intersection_spanset_span (PG_FUNCTION_ARGS) |
Return the intersection of a span set and a span @sqlfn span_intersection() More... | |
Datum | Intersection_spanset_spanset (PG_FUNCTION_ARGS) |
Return the intersection of two span sets @sqlfn span_intersection() More... | |
Datum | Intersection_spanset_value (PG_FUNCTION_ARGS) |
Return the intersection of a span set and a value @sqlfn span_intersection() More... | |
Datum | Intersection_value_spanset (PG_FUNCTION_ARGS) |
Return the intersection of a value and a span set @sqlfn span_intersection() More... | |
Datum | Left_span_spanset (PG_FUNCTION_ARGS) |
Return true if a span is to the left of a span set @sqlfn span_left() More... | |
Datum | Left_spanset_span (PG_FUNCTION_ARGS) |
Return true if a span set is to the left a span @sqlfn span_left() More... | |
Datum | Left_spanset_spanset (PG_FUNCTION_ARGS) |
Return true if the first span set is to the left of the second one @sqlfn span_left() More... | |
Datum | Left_spanset_value (PG_FUNCTION_ARGS) |
Return true if a span set is to the left of a value @sqlfn span_left() More... | |
Datum | Left_value_spanset (PG_FUNCTION_ARGS) |
Return true if a value is to the left of a span set @sqlfn span_left() More... | |
Datum | Minus_span_spanset (PG_FUNCTION_ARGS) |
Return the difference of a span and a span set @sqlfn span_minus() More... | |
Datum | Minus_spanset_span (PG_FUNCTION_ARGS) |
Return the difference of a span set and a span @sqlfn span_minus() More... | |
Datum | Minus_spanset_spanset (PG_FUNCTION_ARGS) |
Return the difference of two span sets @sqlfn span_minus() More... | |
Datum | Minus_spanset_value (PG_FUNCTION_ARGS) |
Return the difference of a span set and a value @sqlfn span_minus() More... | |
Datum | Minus_value_spanset (PG_FUNCTION_ARGS) |
Return the difference of a value and a span set @sqlfn span_minus() More... | |
Datum | Overlaps_span_spanset (PG_FUNCTION_ARGS) |
Return true if a span and a span set overlap @sqlfn span_overlaps() More... | |
Datum | Overlaps_spanset_span (PG_FUNCTION_ARGS) |
Return true if a span set and a span overlap @sqlfn span_overlaps() More... | |
Datum | Overlaps_spanset_spanset (PG_FUNCTION_ARGS) |
Return true if two span sets overlap @sqlfn span_overlaps() More... | |
Datum | Overleft_span_spanset (PG_FUNCTION_ARGS) |
Return true if a span does not extend to the right of a span set @sqlfn span_overleft() More... | |
Datum | Overleft_spanset_span (PG_FUNCTION_ARGS) |
Return true if a span set does not extend to the right of a span @sqlfn span_overleft() More... | |
Datum | Overleft_spanset_spanset (PG_FUNCTION_ARGS) |
Return true if the first span set does not extend to the right of the second one @sqlfn span_overleft() More... | |
Datum | Overleft_spanset_value (PG_FUNCTION_ARGS) |
Return true if a span set does not extend to the right of a value @sqlfn span_overleft() More... | |
Datum | Overleft_value_spanset (PG_FUNCTION_ARGS) |
Return true if a value does not extend to the right of a span set @sqlfn span_overleft() More... | |
Datum | Overright_span_spanset (PG_FUNCTION_ARGS) |
Return true if a span does not extend to the left of a span set @sqlfn span_overright() More... | |
Datum | Overright_spanset_span (PG_FUNCTION_ARGS) |
Return true if a span set does not extend to the left of a span @sqlfn span_overright() More... | |
Datum | Overright_spanset_spanset (PG_FUNCTION_ARGS) |
Return true if the first span set does not extend to the left of the second one @sqlfn span_overright() More... | |
Datum | Overright_spanset_value (PG_FUNCTION_ARGS) |
Return true if a span set does not extend to the left of a value @sqlfn span_overright() More... | |
Datum | Overright_value_spanset (PG_FUNCTION_ARGS) |
Return true if a value does not extend to the left of a span set @sqlfn span_overright() More... | |
Datum | Right_span_spanset (PG_FUNCTION_ARGS) |
Return true if a span is to the right of a span set @sqlfn span_right() More... | |
Datum | Right_spanset_span (PG_FUNCTION_ARGS) |
Return true if a span set is to the right of a span @sqlfn span_right() More... | |
Datum | Right_spanset_spanset (PG_FUNCTION_ARGS) |
Return true if the first span set is to the right of the second one @sqlfn span_right() More... | |
Datum | Right_spanset_value (PG_FUNCTION_ARGS) |
Return true if a span set is to the right of a value @sqlfn span_right() More... | |
Datum | Right_value_spanset (PG_FUNCTION_ARGS) |
Return true if a value is to the right of a span set @sqlfn span_right() More... | |
static Datum | Setop_base_spanset (FunctionCallInfo fcinfo, SpanSet *(*func)(Datum, const SpanSet *)) |
Generic function for set operators on span sets. More... | |
static Datum | Setop_span_spanset (FunctionCallInfo fcinfo, SpanSet *(*func)(const Span *, const SpanSet *)) |
Generic function for set operators on span sets. More... | |
static Datum | Setop_spanset_base (FunctionCallInfo fcinfo, SpanSet *(*func)(const SpanSet *, Datum)) |
Generic function for set operators on span sets. More... | |
static Datum | Setop_spanset_span (FunctionCallInfo fcinfo, SpanSet *(*func)(const SpanSet *, const Span *)) |
Generic function for set operators on span sets. More... | |
static Datum | Setop_spanset_spanset (FunctionCallInfo fcinfo, SpanSet *(*func)(const SpanSet *, const SpanSet *)) |
Generic function for set operators on span sets. More... | |
Datum | Union_span_spanset (PG_FUNCTION_ARGS) |
Return the union of a span and a span set @sqlfn span_union() More... | |
Datum | Union_spanset_span (PG_FUNCTION_ARGS) |
Return the union of a span set and a span @sqlfn span_union() More... | |
Datum | Union_spanset_spanset (PG_FUNCTION_ARGS) |
Return the union of two span sets @sqlfn span_union() More... | |
Datum | Union_spanset_value (PG_FUNCTION_ARGS) |
Return the union of a span set and a value @sqlfn span_union() More... | |
Datum | Union_value_spanset (PG_FUNCTION_ARGS) |
Return the union of a value and a span set @sqlfn span_union() More... | |
Operators for span set types.