MobilityDB 1.3
Loading...
Searching...
No Matches
Functions

Distance functions for set and span types. More...

Functions

int64 distance_bigintset_bigintset (const Set *s1, const Set *s2)
 Return the distance between two big integer sets. More...
 
int64 distance_bigintspan_bigintspan (const Span *s1, const Span *s2)
 Return the distance between two big integer spans. More...
 
int64 distance_bigintspanset_bigintspan (const SpanSet *ss, const Span *s)
 Return the distance between a big integer span set and a span. More...
 
int64 distance_bigintspanset_bigintspanset (const SpanSet *ss1, const SpanSet *ss2)
 Return the distance between two big integer span sets. More...
 
int distance_dateset_dateset (const Set *s1, const Set *s2)
 Return the distance in days between two date sets. More...
 
int distance_datespan_datespan (const Span *s1, const Span *s2)
 Return the distance between two date spans. More...
 
int distance_datespanset_datespan (const SpanSet *ss, const Span *s)
 Return the distance in days between a date span set and a span. More...
 
int distance_datespanset_datespanset (const SpanSet *ss1, const SpanSet *ss2)
 Return the distance in days between two date span sets. More...
 
double distance_floatset_floatset (const Set *s1, const Set *s2)
 Return the distance between two float sets. More...
 
double distance_floatspan_floatspan (const Span *s1, const Span *s2)
 Return the distance between two float spans. More...
 
double distance_floatspanset_floatspan (const SpanSet *ss, const Span *s)
 Return the distance between a float span set and a span. More...
 
double distance_floatspanset_floatspanset (const SpanSet *ss1, const SpanSet *ss2)
 Return the distance between two float span sets. More...
 
int distance_intset_intset (const Set *s1, const Set *s2)
 Return the distance between two integer sets. More...
 
int distance_intspan_intspan (const Span *s1, const Span *s2)
 Return the distance between two integer spans. More...
 
int distance_intspanset_intspan (const SpanSet *ss, const Span *s)
 Return the distance between an integer span set and a span. More...
 
int distance_intspanset_intspanset (const SpanSet *ss1, const SpanSet *ss2)
 Return the distance between two integer span sets. More...
 
int64 distance_set_bigint (const Set *s, int64 i)
 Return the distance between a set and a big integer. More...
 
int distance_set_date (const Set *s, DateADT d)
 Return the distance in days between a set and a date. More...
 
double distance_set_float (const Set *s, double d)
 Return the distance between a set and a float. More...
 
int distance_set_int (const Set *s, int i)
 Return the distance between a set and an integer. More...
 
double distance_set_timestamptz (const Set *s, TimestampTz t)
 Return the distance in seconds between a set and a timestamptz as a double. More...
 
int64 distance_span_bigint (const Span *s, int64 i)
 Return the distance between a span and a big integer as a double. More...
 
int distance_span_date (const Span *s, DateADT d)
 Return the distance in days between a span and a date as a double. More...
 
double distance_span_float (const Span *s, double d)
 Return the distance between a span and a float. More...
 
int distance_span_int (const Span *s, int i)
 Return the distance between a span and an integer as a double. More...
 
double distance_span_timestamptz (const Span *s, TimestampTz t)
 Return the distance in seconds between a span and a timestamptz as a double. More...
 
int64 distance_spanset_bigint (const SpanSet *ss, int64 i)
 Return the distance between a span set and a big integer. More...
 
int distance_spanset_date (const SpanSet *ss, DateADT d)
 Return the distance in seconds between a span set and a date as a double. More...
 
double distance_spanset_float (const SpanSet *ss, double d)
 Return the distance between a span set and a float. More...
 
int distance_spanset_int (const SpanSet *ss, int i)
 Return the distance between a span set and an integer. More...
 
double distance_spanset_timestamptz (const SpanSet *ss, TimestampTz t)
 Return the distance in seconds between a span set and a timestamptz. More...
 
double distance_tstzset_tstzset (const Set *s1, const Set *s2)
 Return the distance in seconds between two timestamptz sets. More...
 
double distance_tstzspan_tstzspan (const Span *s1, const Span *s2)
 Return the distance in seconds between two timestamptz spans. More...
 
double distance_tstzspanset_tstzspan (const SpanSet *ss, const Span *s)
 Return the distance in seconds between a timestamptz span set and a span. More...
 
double distance_tstzspanset_tstzspanset (const SpanSet *ss1, const SpanSet *ss2)
 Return the distance in seconds between two timestamptz span sets. More...
 

Detailed Description

Distance functions for set and span types.