MobilityDB 1.1
|
#include <stdbool.h>
#include <stdint.h>
#include "../postgres/postgres.h"
#include "../postgres/utils/timestamp_def.h"
#include "../postgres/utils/date.h"
#include <liblwgeom.h>
Go to the source code of this file.
Data Structures | |
struct | Match |
Struct for storing a similarity match. More... | |
struct | Set |
API of the Mobility Engine Open Source (MEOS) library. More... | |
struct | SkipList |
Structure to represent skiplists that keep the current state of an aggregation. More... | |
struct | SkipListElem |
struct | Span |
Structure to represent spans (a.k.a. More... | |
struct | SpanSet |
Structure to represent span sets. More... | |
struct | STBox |
Structure to represent spatiotemporal boxes. More... | |
struct | TBox |
Structure to represent temporal boxes. More... | |
struct | Temporal |
Structure to represent the common structure of temporal values of any temporal subtype. More... | |
struct | TInstant |
Structure to represent temporal values of instant subtype. More... | |
struct | TSequence |
Structure to represent temporal values of instant set or sequence subtype. More... | |
struct | TSequenceSet |
Structure to represent temporal values of sequence set subtype. More... | |
Macros | |
#define | SKIPLIST_MAXLEVEL 32 |
Structure to represent skiplist elements. More... | |
#define | TSEQUENCE_BBOX_PTR(seq) ((void *)(&(seq)->period)) |
#define | TSEQUENCESET_BBOX_PTR(ss) ((void *)(&(ss)->period)) |
Enumerations | |
enum | interpType { INTERP_NONE = 0 , DISCRETE = 1 , STEP = 2 , LINEAR = 3 , INTERP_NONE = 0 , DISCRETE = 1 , STEP = 2 , LINEAR = 3 } |
Enumeration that defines the interpolation types used in MobilityDB. More... | |
enum | SkipListElemType { TIMESTAMPTZ , PERIOD , TEMPORAL , TIMESTAMPTZ , PERIOD , TEMPORAL } |
Functions | |
bool | above_geo_tpoint (const GSERIALIZED *geo, const Temporal *tpoint) |
bool | above_stbox_stbox (const STBox *box1, const STBox *box2) |
Return true if the first spatiotemporal box is strictly above of the second one. More... | |
bool | above_stbox_tpoint (const STBox *stbox, const Temporal *tpoint) |
bool | above_tpoint_geo (const Temporal *tpoint, const GSERIALIZED *geo) |
bool | above_tpoint_stbox (const Temporal *tpoint, const STBox *stbox) |
bool | above_tpoint_tpoint (const Temporal *tpoint1, const Temporal *tpoint2) |
Temporal * | add_float_tfloat (double d, const Temporal *tnumber) |
Return the temporal addition of a float and a temporal float. More... | |
Temporal * | add_int_tint (int i, const Temporal *tnumber) |
Mathematical operators (+, -, *, /) and functions (round, degrees, ...) for temporal numbers. More... | |
Temporal * | add_tfloat_float (const Temporal *tnumber, double d) |
Return the temporal addition of a temporal float and a float. More... | |
Temporal * | add_tint_int (const Temporal *tnumber, int i) |
Return the temporal addition of a temporal integer and an integer. More... | |
Temporal * | add_tnumber_tnumber (const Temporal *tnumber1, const Temporal *tnumber2) |
Return the temporal addition of the temporal numbers. More... | |
bool | adjacent_bigintspan_bigint (const Span *s, int64 i) |
Return true if an integer span and an integer are adjacent. More... | |
bool | adjacent_bigintspanset_bigint (const SpanSet *ss, int64 i) |
Return true if a span set and a value are adjacent. More... | |
bool | adjacent_float_tfloat (double d, const Temporal *tnumber) |
bool | adjacent_floatspan_float (const Span *s, double d) |
Return true if a float span and a float are adjacent. More... | |
bool | adjacent_geo_tpoint (const GSERIALIZED *geo, const Temporal *tpoint) |
bool | adjacent_int_tint (int i, const Temporal *tnumber) |
bool | adjacent_intspan_int (const Span *s, int i) |
Return true if an integer span and an integer are adjacent. More... | |
bool | adjacent_period_temporal (const Span *p, const Temporal *temp) |
bool | adjacent_periodset_temporal (const SpanSet *ps, const Temporal *temp) |
bool | adjacent_periodset_timestamp (const SpanSet *ps, TimestampTz t) |
Return true if a period set a timestamp are adjacent. More... | |
bool | adjacent_set_span (const Set *os, const Span *s) |
bool | adjacent_set_spanset (const Set *s, const SpanSet *ss) |
bool | adjacent_span_set (const Span *s, const Set *os) |
bool | adjacent_span_span (const Span *s1, const Span *s2) |
Return true if the spans are adjacent. More... | |
bool | adjacent_span_spanset (const Span *s, const SpanSet *ss) |
bool | adjacent_span_tnumber (const Span *span, const Temporal *tnumber) |
bool | adjacent_spanset_set (const SpanSet *ss, const Set *s) |
bool | adjacent_spanset_span (const SpanSet *ss, const Span *s) |
Return true if a span set and a span are adjacent. More... | |
bool | adjacent_spanset_spanset (const SpanSet *ss1, const SpanSet *ss2) |
Return true if a span set and a span are adjacent. More... | |
bool | adjacent_stbox_stbox (const STBox *box1, const STBox *box2) |
Return true if the spatiotemporal boxes are adjacent. More... | |
bool | adjacent_stbox_tpoint (const STBox *stbox, const Temporal *tpoint) |
bool | adjacent_tbox_tbox (const TBox *box1, const TBox *box2) |
Return true if the temporal boxes are adjacent. More... | |
bool | adjacent_tbox_tnumber (const TBox *tbox, const Temporal *tnumber) |
bool | adjacent_temporal_period (const Temporal *temp, const Span *p) |
bool | adjacent_temporal_periodset (const Temporal *temp, const SpanSet *ps) |
bool | adjacent_temporal_temporal (const Temporal *temp1, const Temporal *temp2) |
bool | adjacent_temporal_timestamp (const Temporal *temp, TimestampTz t) |
bool | adjacent_temporal_timestampset (const Temporal *temp, const Set *ts) |
bool | adjacent_tfloat_float (const Temporal *tnumber, double d) |
bool | adjacent_timestamp_temporal (TimestampTz t, const Temporal *temp) |
bool | adjacent_timestampset_temporal (const Set *ts, const Temporal *temp) |
bool | adjacent_tint_int (const Temporal *tnumber, int i) |
bool | adjacent_tnumber_span (const Temporal *tnumber, const Span *span) |
bool | adjacent_tnumber_tbox (const Temporal *tnumber, const TBox *tbox) |
bool | adjacent_tnumber_tnumber (const Temporal *tnumber1, const Temporal *tnumber2) |
bool | adjacent_tpoint_geo (const Temporal *tpoint, const GSERIALIZED *geo) |
bool | adjacent_tpoint_stbox (const Temporal *tpoint, const STBox *stbox) |
bool | adjacent_tpoint_tpoint (const Temporal *tpoint1, const Temporal *tpoint2) |
bool | after_period_temporal (const Span *p, const Temporal *temp) |
bool | after_periodset_temporal (const SpanSet *ps, const Temporal *temp) |
bool | after_stbox_stbox (const STBox *box1, const STBox *box2) |
Return true if the first spatiotemporal box is strictly after the second one. More... | |
bool | after_stbox_tpoint (const STBox *stbox, const Temporal *tpoint) |
bool | after_tbox_tbox (const TBox *box1, const TBox *box2) |
Return true if the first temporal box is strictly after the second one. More... | |
bool | after_tbox_tnumber (const TBox *tbox, const Temporal *tnumber) |
bool | after_temporal_period (const Temporal *temp, const Span *p) |
bool | after_temporal_periodset (const Temporal *temp, const SpanSet *ps) |
bool | after_temporal_temporal (const Temporal *temp1, const Temporal *temp2) |
bool | after_temporal_timestamp (const Temporal *temp, TimestampTz t) |
bool | after_temporal_timestampset (const Temporal *temp, const Set *ts) |
bool | after_timestamp_temporal (TimestampTz t, const Temporal *temp) |
bool | after_timestamp_timestampset (TimestampTz t, const Set *ts) |
Return true if a timestamp is strictly after a timestamp set. More... | |
bool | after_timestampset_temporal (const Set *ts, const Temporal *temp) |
bool | after_tnumber_tbox (const Temporal *tnumber, const TBox *tbox) |
bool | after_tnumber_tnumber (const Temporal *tnumber1, const Temporal *tnumber2) |
bool | after_tpoint_stbox (const Temporal *tpoint, const STBox *stbox) |
bool | after_tpoint_tpoint (const Temporal *tpoint1, const Temporal *tpoint2) |
bool | back_geo_tpoint (const GSERIALIZED *geo, const Temporal *tpoint) |
bool | back_stbox_stbox (const STBox *box1, const STBox *box2) |
Return true if the first spatiotemporal box is strictly back of the second one. More... | |
bool | back_stbox_tpoint (const STBox *stbox, const Temporal *tpoint) |
bool | back_tpoint_geo (const Temporal *tpoint, const GSERIALIZED *geo) |
bool | back_tpoint_stbox (const Temporal *tpoint, const STBox *stbox) |
bool | back_tpoint_tpoint (const Temporal *tpoint1, const Temporal *tpoint2) |
Span * | bbox_union_span_span (const Span *s1, const Span *s2) |
Return the union of the spans. More... | |
bool | bearing_point_point (const GSERIALIZED *geo1, const GSERIALIZED *geo2, double *result) |
Return the temporal bearing between two geometry/geography points. More... | |
Temporal * | bearing_tpoint_point (const Temporal *temp, const GSERIALIZED *gs, bool invert) |
Return the temporal bearing between a temporal point and a geometry/geography point. More... | |
Temporal * | bearing_tpoint_tpoint (const Temporal *temp1, const Temporal *temp2) |
Return the temporal bearing between two temporal points. More... | |
bool | before_period_temporal (const Span *p, const Temporal *temp) |
bool | before_periodset_temporal (const SpanSet *ps, const Temporal *temp) |
bool | before_periodset_timestamp (const SpanSet *ps, TimestampTz t) |
Return true if a period set is strictly before a timestamp. More... | |
bool | before_stbox_stbox (const STBox *box1, const STBox *box2) |
Return true if the first spatiotemporal box is strictly before the second one. More... | |
bool | before_stbox_tpoint (const STBox *stbox, const Temporal *tpoint) |
bool | before_tbox_tbox (const TBox *box1, const TBox *box2) |
Return true if the first temporal box is strictly before the second one. More... | |
bool | before_tbox_tnumber (const TBox *tbox, const Temporal *tnumber) |
bool | before_temporal_period (const Temporal *temp, const Span *p) |
bool | before_temporal_periodset (const Temporal *temp, const SpanSet *ps) |
bool | before_temporal_temporal (const Temporal *temp1, const Temporal *temp2) |
bool | before_temporal_timestamp (const Temporal *temp, TimestampTz t) |
bool | before_temporal_timestampset (const Temporal *temp, const Set *ts) |
bool | before_timestamp_temporal (TimestampTz t, const Temporal *temp) |
bool | before_timestamp_timestampset (TimestampTz t, const Set *ts) |
Return true if a timestamp is strictly before the second one. More... | |
bool | before_timestampset_temporal (const Set *ts, const Temporal *temp) |
bool | before_tnumber_tbox (const Temporal *tnumber, const TBox *tbox) |
bool | before_tnumber_tnumber (const Temporal *tnumber1, const Temporal *tnumber2) |
bool | before_tpoint_stbox (const Temporal *tpoint, const STBox *stbox) |
bool | before_tpoint_tpoint (const Temporal *tpoint1, const Temporal *tpoint2) |
bool | below_geo_tpoint (const GSERIALIZED *geo, const Temporal *tpoint) |
bool | below_stbox_stbox (const STBox *box1, const STBox *box2) |
Return true if the first spatiotemporal box is strictly below of the second one. More... | |
bool | below_stbox_tpoint (const STBox *stbox, const Temporal *tpoint) |
bool | below_tpoint_geo (const Temporal *tpoint, const GSERIALIZED *geo) |
bool | below_tpoint_stbox (const Temporal *tpoint, const STBox *stbox) |
bool | below_tpoint_tpoint (const Temporal *tpoint1, const Temporal *tpoint2) |
Span * | bigint_extent_transfn (Span *s, int64 i) |
Transition function for extent aggregate of base types of spans. More... | |
Set * | bigint_to_bigintset (int64 i) |
Cast a value as a set. More... | |
Span * | bigint_to_intspan (int i) |
Set * | bigintset_agg_transfn (Set *state, int64 i) |
Transition function for set aggregate of values. More... | |
int | bigintset_cmp (const Set *s1, const Set *s2) |
int64 | bigintset_end_value (const Set *s) |
Return the end value of a big integer set. More... | |
bool | bigintset_eq (const Set *s1, const Set *s2) |
bool | bigintset_ge (const Set *s1, const Set *s2) |
bool | bigintset_gt (const Set *s1, const Set *s2) |
Set * | bigintset_in (const char *str) |
Return a set from its Well-Known Text (WKT) representation. More... | |
bool | bigintset_le (const Set *s1, const Set *s2) |
bool | bigintset_lt (const Set *s1, const Set *s2) |
bool | bigintset_ne (const Set *s1, const Set *s2) |
int | bigintset_num_values (const Set *s) |
int64 | bigintset_start_value (const Set *s) |
Return the start value of a big integer set. More... | |
bool | bigintset_value_n (const Set *s, int n, int64 *result) |
Return the n-th value of a big integer set. More... | |
int64 * | bigintset_values (const Set *s) |
Return the array of values of a big integer set. More... | |
Span * | bigintspan_in (const char *str) |
Return an integer span from its Well-Known Text (WKT) representation. More... | |
int | bigintspan_lower (const Span *s) |
Return the lower bound of an integer span. More... | |
Span * | bigintspan_make (int64 lower, int64 upper, bool lower_inc, bool upper_inc) |
Construct an integer span from the bounds. More... | |
char * | bigintspan_out (const Span *s) |
Return the Well-Known Text (WKT) representation of a span. More... | |
void | bigintspan_set_floatspan (const Span *s1, Span *s2) |
int | bigintspan_upper (const Span *s) |
Return the upper bound of an integer span. More... | |
SpanSet * | bigintspanset_in (const char *str) |
Return a big integer span from its Well-Known Text (WKT) representation. More... | |
int | bigintspanset_lower (const SpanSet *ss) |
Return the lower bound of an integer span set. More... | |
char * | bigintspanset_outbigintspanset_out (const SpanSet *ss) |
int | bigintspanset_upper (const SpanSet *ss) |
Return the upper bound of an integer span set. More... | |
bool | bool_in (const char *in_str) |
Convert "t" or "f" to 1 or 0. More... | |
char * | bool_out (bool b) |
Convert 1 or 0 to "t" or "f". More... | |
bool | contained_bigint_bigintset (int64 i, const Set *s) |
Return true if a value is contained by a set. More... | |
bool | contained_bigint_bigintspan (int64 i, const Span *s) |
Return true if an integer is contained by an integer span. More... | |
bool | contained_bigint_bigintspanset (int64 i, const SpanSet *ss) |
Return true if a value is contained by a span. More... | |
bool | contained_float_floatset (double d, const Set *s) |
Return true if a value is contained by a set. More... | |
bool | contained_float_floatspan (double d, const Span *s) |
Return true if a float is contained by a float span. More... | |
bool | contained_float_floatspanset (double d, const SpanSet *ss) |
Return true if a value is contained by a span. More... | |
bool | contained_float_tfloat (double d, const Temporal *tnumber) |
bool | contained_geo_tpoint (const GSERIALIZED *geo, const Temporal *tpoint) |
bool | contained_int_intset (int i, const Set *s) |
Return true if a value is contained by a set. More... | |
bool | contained_int_intspan (int i, const Span *s) |
Return true if an integer is contained by an integer span. More... | |
bool | contained_int_intspanset (int i, const SpanSet *ss) |
Return true if a value is contained by a span. More... | |
bool | contained_int_tint (int i, const Temporal *tnumber) |
bool | contained_period_temporal (const Span *p, const Temporal *temp) |
bool | contained_periodset_temporal (const SpanSet *ps, const Temporal *temp) |
bool | contained_set_set (const Set *s1, const Set *s2) |
Return true if a set is contained by the second one. More... | |
bool | contained_set_span (const Set *os, const Span *s) |
bool | contained_set_spanset (const Set *s, const SpanSet *ss) |
bool | contained_span_span (const Span *s1, const Span *s2) |
Return true if the first span is contained by the second one. More... | |
bool | contained_span_spanset (const Span *s, const SpanSet *ss) |
Return true if a span is contained by a span. More... | |
bool | contained_span_tnumber (const Span *span, const Temporal *tnumber) |
bool | contained_spanset_span (const SpanSet *ss, const Span *s) |
Return true if a span set is contained by a span. More... | |
bool | contained_spanset_spanset (const SpanSet *ss1, const SpanSet *ss2) |
Return true if the first span set is contained by the second one. More... | |
bool | contained_stbox_stbox (const STBox *box1, const STBox *box2) |
Return true if the first spatiotemporal box is contained by the second one. More... | |
bool | contained_stbox_tpoint (const STBox *stbox, const Temporal *tpoint) |
bool | contained_tbox_tbox (const TBox *box1, const TBox *box2) |
Return true if the first temporal box is contained by the second one. More... | |
bool | contained_tbox_tnumber (const TBox *tbox, const Temporal *tnumber) |
bool | contained_temporal_period (const Temporal *temp, const Span *p) |
bool | contained_temporal_periodset (const Temporal *temp, const SpanSet *ps) |
bool | contained_temporal_temporal (const Temporal *temp1, const Temporal *temp2) |
bool | contained_temporal_timestamp (const Temporal *temp, TimestampTz t) |
bool | contained_temporal_timestampset (const Temporal *temp, const Set *ts) |
bool | contained_tfloat_float (const Temporal *tnumber, double d) |
bool | contained_timestamp_period (TimestampTz t, const Span *p) |
Return true if a timestamp is contained by a period. More... | |
bool | contained_timestamp_temporal (TimestampTz t, const Temporal *temp) |
bool | contained_timestamp_timestampset (TimestampTz t, const Set *ts) |
Return true if a timestamp is contained by a timestamp set. More... | |
bool | contained_timestampset_temporal (const Set *ts, const Temporal *temp) |
bool | contained_timestampset_timestampset (const Set *ts1, const Set *ts2) |
bool | contained_tint_int (const Temporal *tnumber, int i) |
bool | contained_tnumber_span (const Temporal *tnumber, const Span *span) |
bool | contained_tnumber_tbox (const Temporal *tnumber, const TBox *tbox) |
bool | contained_tnumber_tnumber (const Temporal *tnumber1, const Temporal *tnumber2) |
bool | contained_tpoint_geo (const Temporal *tpoint, const GSERIALIZED *geo) |
bool | contained_tpoint_stbox (const Temporal *tpoint, const STBox *stbox) |
bool | contained_tpoint_tpoint (const Temporal *tpoint1, const Temporal *tpoint2) |
bool | contains_bbox_geo_tpoint (const GSERIALIZED *geo, const Temporal *tpoint) |
bool | contains_float_tfloat (double d, const Temporal *tnumber) |
bool | contains_floatspan_float (const Span *s, double d) |
Return true if a float span contains a float. More... | |
bool | contains_int_tint (int i, const Temporal *tnumber) |
bool | contains_intspan_int (const Span *s, int i) |
Return true if an integer span contains an integer. More... | |
bool | contains_period_temporal (const Span *p, const Temporal *temp) |
bool | contains_period_timestamp (const Span *p, TimestampTz t) |
Return true if a period contains a timestamp. More... | |
bool | contains_periodset_temporal (const SpanSet *ps, const Temporal *temp) |
bool | contains_periodset_timestamp (const SpanSet *ps, TimestampTz t) |
Return true if a period set contains a timestamp. More... | |
bool | contains_set_set (const Set *s1, const Set *s2) |
Return true if the first set contains the second one. More... | |
bool | contains_span_set (const Span *s, const Set *os) |
bool | contains_span_span (const Span *s1, const Span *s2) |
Return true if the first span contains the second one. More... | |
bool | contains_span_spanset (const Span *s, const SpanSet *ss) |
Return true if a span contains a span set. More... | |
bool | contains_span_tnumber (const Span *span, const Temporal *tnumber) |
bool | contains_spanset_set (const SpanSet *ss, const Set *s) |
bool | contains_spanset_span (const SpanSet *ss, const Span *s) |
Return true if a span set contains a span. More... | |
bool | contains_spanset_spanset (const SpanSet *ss1, const SpanSet *ss2) |
Return true if the first span set contains the second one. More... | |
bool | contains_stbox_stbox (const STBox *box1, const STBox *box2) |
Return true if the first spatiotemporal box contains the second one. More... | |
bool | contains_stbox_tpoint (const STBox *stbox, const Temporal *tpoint) |
bool | contains_tbox_tbox (const TBox *box1, const TBox *box2) |
Return true if the first temporal box contains the second one. More... | |
bool | contains_tbox_tnumber (const TBox *tbox, const Temporal *tnumber) |
bool | contains_temporal_period (const Temporal *temp, const Span *p) |
bool | contains_temporal_periodset (const Temporal *temp, const SpanSet *ps) |
bool | contains_temporal_temporal (const Temporal *temp1, const Temporal *temp2) |
bool | contains_temporal_timestamp (const Temporal *temp, TimestampTz t) |
bool | contains_temporal_timestampset (const Temporal *temp, const Set *ts) |
bool | contains_tfloat_float (const Temporal *tnumber, double d) |
bool | contains_timestamp_temporal (TimestampTz t, const Temporal *temp) |
bool | contains_timestampset_temporal (const Set *ts, const Temporal *temp) |
bool | contains_timestampset_timestamp (const Set *ts, TimestampTz t) |
Return true if a timestamp set contains a timestamp. More... | |
bool | contains_timestampset_timestampset (const Set *ts1, const Set *ts2) |
bool | contains_tint_int (const Temporal *tnumber, int i) |
bool | contains_tnumber_span (const Temporal *tnumber, const Span *span) |
bool | contains_tnumber_tbox (const Temporal *tnumber, const TBox *tbox) |
bool | contains_tnumber_tnumber (const Temporal *tnumber1, const Temporal *tnumber2) |
bool | contains_tpoint_geo (const Temporal *tpoint, const GSERIALIZED *geo) |
bool | contains_tpoint_stbox (const Temporal *tpoint, const STBox *stbox) |
bool | contains_tpoint_tpoint (const Temporal *tpoint1, const Temporal *tpoint2) |
text * | cstring2text (const char *cstring) |
Convert a C string into a text value. More... | |
double | distance_floatspan_float (const Span *s, double d) |
Return the distance between a float span and a float. More... | |
double | distance_intspan_int (const Span *s, int i) |
Return the distance between an integer span and an integer. More... | |
double | distance_period_periodset (const Span *p, const SpanSet *ps) |
double | distance_period_timestamp (const Span *p, TimestampTz t) |
Return the distance in seconds between a period and a timestamp. More... | |
double | distance_period_timestampset (const Span *p, const Set *ts) |
double | distance_periodset_period (const SpanSet *ps, const Span *p) |
double | distance_periodset_periodset (const SpanSet *ps1, const SpanSet *ps2) |
double | distance_periodset_timestamp (const SpanSet *ps, TimestampTz t) |
Return the distance in seconds between a period set and a timestamp. More... | |
double | distance_periodset_timestampset (const SpanSet *ps, const Set *ts) |
double | distance_set_set (const Set *s1, const Set *s2) |
Return the distance between two sets. More... | |
double | distance_span_set (const Span *s, const Set *os) |
double | distance_span_span (const Span *s1, const Span *s2) |
Return the distance between two spans. More... | |
double | distance_spanset_span (const SpanSet *ss, const Span *s) |
Return the distance between a span set and a span. More... | |
double | distance_spanset_spanset (const SpanSet *ss1, const SpanSet *ss2) |
Return the distance between two span sets. More... | |
Temporal * | distance_tfloat_float (const Temporal *temp, double d) |
Return the temporal distance between a temporal float and a float. More... | |
double | distance_timestamp_period (TimestampTz t, const Span *p) |
double | distance_timestamp_periodset (TimestampTz t, const SpanSet *ps) |
double | distance_timestamp_timestamp (TimestampTz t1, TimestampTz t2) |
double | distance_timestamp_timestampset (TimestampTz t, const Set *ts) |
double | distance_timestampset_period (const Set *ts, const Span *p) |
double | distance_timestampset_periodset (const Set *ts, const SpanSet *ps) |
double | distance_timestampset_timestamp (const Set *ts, TimestampTz t) |
Return the distance in seconds between a timestamp set and a timestamp. More... | |
double | distance_timestampset_timestampset (const Set *ts1, const Set *ts2) |
Temporal * | distance_tint_int (const Temporal *temp, int i) |
Return the temporal distance between a temporal integer and an integer. More... | |
Temporal * | distance_tnumber_tnumber (const Temporal *temp1, const Temporal *temp2) |
Return the temporal distance between two temporal numbers. More... | |
Temporal * | distance_tpoint_geo (const Temporal *temp, const GSERIALIZED *geo) |
Return the temporal distance between a temporal point and a geometry/geography point. More... | |
Temporal * | distance_tpoint_tpoint (const Temporal *temp1, const Temporal *temp2) |
Return the temporal distance between two temporal points. More... | |
Temporal * | div_float_tfloat (double d, const Temporal *tnumber) |
Return the temporal division of a float and a temporal float. More... | |
Temporal * | div_int_tint (int i, const Temporal *tnumber) |
Return the temporal division of an integer and a temporal integer. More... | |
Temporal * | div_tfloat_float (const Temporal *tnumber, double d) |
Return the temporal division of a temporal float and a float. More... | |
Temporal * | div_tint_int (const Temporal *tnumber, int i) |
Return the temporal division of a temporal integer and an integer. More... | |
Temporal * | div_tnumber_tnumber (const Temporal *tnumber1, const Temporal *tnumber2) |
Return the temporal division of the temporal numbers. More... | |
int | econtains_geo_tpoint (const GSERIALIZED *geo, const Temporal *temp) |
Return 1 if a geometry ever contains a temporal point, 0 if not, and -1 if the geometry is empty. More... | |
int | edisjoint_tpoint_geo (const Temporal *temp, const GSERIALIZED *gs) |
Return 1 if a temporal point and a geometry are ever disjoint, 0 if not, and -1 if the geometry is empty. More... | |
int | edisjoint_tpoint_tpoint (const Temporal *temp1, const Temporal *temp2) |
Ever spatial relationships for temporal points. More... | |
int | edwithin_tpoint_geo (const Temporal *temp, const GSERIALIZED *gs, double dist) |
Return 1 if a geometry and a temporal point are ever within the given distance, 0 if not, -1 if a geometry is empty. More... | |
int | edwithin_tpoint_tpoint (const Temporal *temp1, const Temporal *temp2, double dist) |
Return 1 if the temporal points are ever within the given distance, 0 if not, -1 if the temporal points do not intersect on time. More... | |
int | eintersects_tpoint_geo (const Temporal *temp, const GSERIALIZED *gs) |
Return 1 if a geometry and a temporal point ever intersect, 0 if not, and -1 if the geometry is empty. More... | |
int | eintersects_tpoint_tpoint (const Temporal *temp1, const Temporal *temp2) |
Return 1 if the temporal points ever intersect, 0 if not, and -1 if the temporal points do not intersect in time. More... | |
int | etouches_tpoint_geo (const Temporal *temp, const GSERIALIZED *gs) |
Return 1 if a temporal point and a geometry ever touch, 0 if not, and -1 if the geometry is empty. More... | |
double | float_bucket (double value, double size, double origin) |
Return the initial value of the bucket in which a float value falls. More... | |
Span * | float_extent_transfn (Span *s, double d) |
Transition function for extent aggregate of base types of spans. More... | |
TBox * | float_period_to_tbox (double d, const Span *p) |
Return a temporal box from a float and a period. More... | |
TBox * | float_timestamp_to_tbox (double d, TimestampTz t) |
Return a temporal box from a float and a timestamp. More... | |
Span * | float_to_floaspan (double d) |
Cast a value as a span. More... | |
Set * | float_to_floatset (double d) |
Cast a value as a set. More... | |
TBox * | float_to_tbox (double d) |
Cast a float to a temporal box. More... | |
Set * | floatset_agg_transfn (Set *state, double d) |
Transition function for set aggregate of values. More... | |
int | floatset_cmp (const Set *s1, const Set *s2) |
double | floatset_end_value (const Set *s) |
Return the end value of a float set. More... | |
bool | floatset_eq (const Set *s1, const Set *s2) |
bool | floatset_ge (const Set *s1, const Set *s2) |
bool | floatset_gt (const Set *s1, const Set *s2) |
Set * | floatset_in (const char *str) |
Return a set from its Well-Known Text (WKT) representation. More... | |
bool | floatset_le (const Set *s1, const Set *s2) |
bool | floatset_lt (const Set *s1, const Set *s2) |
bool | floatset_ne (const Set *s1, const Set *s2) |
int | floatset_num_values (const Set *s) |
double | floatset_start_value (const Set *s) |
Return the start value of a float set. More... | |
bool | floatset_value_n (const Set *s, int n, double *result) |
Return the n-th value of a float set. More... | |
double * | floatset_values (const Set *s) |
Return the array of values of a float set. More... | |
Span * | floatspan_bucket_list (const Span *bounds, double size, double origin, int *newcount) |
Return the bucket list from an integer span. More... | |
Span * | floatspan_in (const char *str) |
Return a float span from its Well-Known Text (WKT) representation. More... | |
double | floatspan_lower (const Span *s) |
Return the lower bound of a float span. More... | |
Span * | floatspan_make (double lower, double upper, bool lower_inc, bool upper_inc) |
Construct a span from the bounds. More... | |
char * | floatspan_out (const Span *s, int maxdd) |
Return the Well-Known Text (WKT) representation of a span. More... | |
void | floatspan_set_bigintspan (const Span *s1, Span *s2) |
void | floatspan_set_intspan (const Span *s1, Span *s2) |
Set the second span with the first one transformed to intspan. More... | |
double | floatspan_upper (const Span *s) |
Return the upper bound of a float span. More... | |
SpanSet * | floatspanset_in (const char *str) |
Return a float span from its Well-Known Text (WKT) representation. More... | |
double | floatspanset_lower (const SpanSet *ss) |
Return the lower bound of a float span set. More... | |
char * | floatspanset_out (const SpanSet *ss, int maxdd) |
Return the Well-Known Text (WKT) representation of a span set. More... | |
double | floatspanset_upper (const SpanSet *ss) |
Return the upper bound of a float span set. More... | |
bool | front_geo_tpoint (const GSERIALIZED *geo, const Temporal *tpoint) |
bool | front_stbox_stbox (const STBox *box1, const STBox *box2) |
Return true if the first spatiotemporal box is strictly in front of the second one. More... | |
bool | front_stbox_tpoint (const STBox *stbox, const Temporal *tpoint) |
bool | front_tpoint_geo (const Temporal *tpoint, const GSERIALIZED *geo) |
bool | front_tpoint_stbox (const Temporal *tpoint, const STBox *stbox) |
bool | front_tpoint_tpoint (const Temporal *tpoint1, const Temporal *tpoint2) |
STBox * | geo_expand_space (const GSERIALIZED *gs, double d) |
Return the bounding box of a temporal point expanded on the spatial dimension. More... | |
STBox * | geo_period_to_stbox (const GSERIALIZED *gs, const Span *p) |
Return a spatiotemporal box from a geometry/geography and a period. More... | |
STBox * | geo_timestamp_to_stbox (const GSERIALIZED *gs, TimestampTz t) |
Return a spatiotemporal box from a geometry/geography and a timestamp. More... | |
STBox * | geo_to_stbox (const GSERIALIZED *gs) |
Cast a geometry/geography to a spatiotemporal box. More... | |
Temporal * | geo_to_tpoint (const GSERIALIZED *geo) |
Converts the PostGIS trajectory geometry/geography where the M coordinates encode the timestamps in Unix epoch into a temporal point. More... | |
char * | geoset_as_ewkt (const Set *set, int maxdd) |
Return the Extended Well-Known Text (EWKT) representation a geoset. More... | |
char * | geoset_as_text (const Set *set, int maxdd) |
Return the Well-Known Text (WKT) representation a geoset. More... | |
int | geoset_srid (const Set *set) |
Return the SRID of a geoset point. More... | |
bytea * | gserialized_as_ewkb (const GSERIALIZED *geom, char *type) |
Return the EWKB representation of a geometry. More... | |
char * | gserialized_as_ewkt (const GSERIALIZED *geom, int precision) |
Return the EWKT representation (and optionally a SRID) of a geometry. More... | |
char * | gserialized_as_geojson (const GSERIALIZED *geom, int option, int precision, char *srs) |
Output a geometry in GeoJSON format. More... | |
char * | gserialized_as_hexewkb (const GSERIALIZED *geom, const char *type) |
Return the WKB representation of a geometry in hex-encoded ASCII. More... | |
char * | gserialized_as_text (const GSERIALIZED *geom, int precision) |
Return the WKT representation (and optionally a SRID) of a geometry. More... | |
GSERIALIZED * | gserialized_from_ewkb (const bytea *bytea_wkb, int32 srid) |
Return a geometry from its EWKB representation. More... | |
GSERIALIZED * | gserialized_from_geojson (const char *geojson) |
Input a geometry from GeoJSON format. More... | |
GSERIALIZED * | gserialized_from_hexewkb (const char *wkt) |
Return a geometry from its WKT representation. More... | |
GSERIALIZED * | gserialized_from_text (char *wkt, int srid) |
Return a geometry from its WKT representation (and optionally a SRID) More... | |
GSERIALIZED * | gserialized_in (char *input, int32 geom_typmod) |
Input function for geometries. More... | |
char * | gserialized_out (const GSERIALIZED *geom) |
Output function for geometries. More... | |
int | int_bucket (int value, int size, int origin) |
Return the initial value of the bucket in which an integer value falls. More... | |
Span * | int_extent_transfn (Span *s, int i) |
Transition function for extent aggregate of base types of spans. More... | |
TBox * | int_period_to_tbox (int i, const Span *p) |
Return a temporal box from an integer and a period. More... | |
TBox * | int_timestamp_to_tbox (int i, TimestampTz t) |
Return a temporal box from an integer and a timestamp. More... | |
Set * | int_to_intset (int i) |
Cast a value as a set. More... | |
Span * | int_to_intspan (int i) |
Cast a value as a span. More... | |
TBox * | int_to_tbox (int i) |
Cast an integer to a temporal box. More... | |
bool | inter_stbox_stbox (const STBox *box1, const STBox *box2, STBox *result) |
Set a spatiotemporal box with the result of the intersection of the first two boxes. More... | |
bool | inter_tbox_tbox (const TBox *box1, const TBox *box2, TBox *result) |
Set a temporal box with the result of the intersection of the first two temporal boxes. More... | |
bool | intersection_period_timestamp (const Span *p, TimestampTz t, TimestampTz *result) |
Return the intersection of a period and a timestamp. More... | |
bool | intersection_periodset_timestamp (const SpanSet *ps, TimestampTz t, TimestampTz *result) |
Return the intersection of a period set and a timestamp. More... | |
Set * | intersection_set_set (const Set *s1, const Set *s2) |
Return the intersection of two sets. More... | |
Set * | intersection_span_set (const Span *s, const Set *os) |
Span * | intersection_span_span (const Span *s1, const Span *s2) |
Return the intersection of two spans. More... | |
Set * | intersection_spanset_set (const SpanSet *ss, const Set *s) |
SpanSet * | intersection_spanset_span (const SpanSet *ss, const Span *s) |
Return the intersection of a span set and a span. More... | |
SpanSet * | intersection_spanset_spanset (const SpanSet *ss1, const SpanSet *ss2) |
Return the intersection of two span sets. More... | |
STBox * | intersection_stbox_stbox (const STBox *box1, const STBox *box2) |
Return the intersection of the spatiotemporal boxes. More... | |
TBox * | intersection_tbox_tbox (const TBox *box1, const TBox *box2) |
Return the intersection of the spatiotemporal boxes. More... | |
bool | intersection_timestamp_period (TimestampTz t, const Span *p, TimestampTz *result) |
Set * | intersection_timestampset_period (const Set *ts, const Span *p) |
Set * | intersection_timestampset_periodset (const Set *ts, const SpanSet *ps) |
bool | intersection_timestampset_timestamp (const Set *ts, const TimestampTz t, TimestampTz *result) |
Return the intersection of a timestamp set and a timestamp. More... | |
Set * | intersection_timestampset_timestampset (const Set *ts1, const Set *ts2) |
Set * | intset_agg_transfn (Set *state, int i) |
int | intset_cmp (const Set *s1, const Set *s2) |
int | intset_end_value (const Set *s) |
Return the end value of an integer set. More... | |
bool | intset_eq (const Set *s1, const Set *s2) |
bool | intset_ge (const Set *s1, const Set *s2) |
bool | intset_gt (const Set *s1, const Set *s2) |
Set * | intset_in (const char *str) |
Return a set from its Well-Known Text (WKT) representation. More... | |
bool | intset_le (const Set *s1, const Set *s2) |
bool | intset_lt (const Set *s1, const Set *s2) |
bool | intset_ne (const Set *s1, const Set *s2) |
int | intset_num_values (const Set *s) |
int | intset_start_value (const Set *s) |
Return the start value of an integer set. More... | |
bool | intset_value_n (const Set *s, int n, int *result) |
Return the n-th value of an integer set. More... | |
int * | intset_values (const Set *s) |
Return the array of values of an integer set. More... | |
Span * | intspan_bucket_list (const Span *bounds, int size, int origin, int *newcount) |
Return the bucket list from an integer span. More... | |
Span * | intspan_in (const char *str) |
Return an integer span from its Well-Known Text (WKT) representation. More... | |
int | intspan_lower (const Span *s) |
Return the lower bound of an integer span. More... | |
Span * | intspan_make (int lower, int upper, bool lower_inc, bool upper_inc) |
Construct an integer span from the bounds. More... | |
char * | intspan_out (const Span *s) |
Return the Well-Known Text (WKT) representation of a span. More... | |
void | intspan_set_floatspan (const Span *s1, Span *s2) |
Set the second span with the first one transformed to floatspan. More... | |
int | intspan_upper (const Span *s) |
Return the upper bound of an integer span. More... | |
SpanSet * | intspanset_in (const char *str) |
Return an integer span from its Well-Known Text (WKT) representation. More... | |
int | intspanset_lower (const SpanSet *ss) |
Return the lower bound of an integer span set. More... | |
char * | intspanset_out (const SpanSet *ss) |
Return the Well-Known Text (WKT) representation of a span set. More... | |
int | intspanset_upper (const SpanSet *ss) |
Return the upper bound of an integer span set. More... | |
bool | left_float_floatspan (double d, const Span *s) |
Return true if a float is strictly to the left of a float span. More... | |
bool | left_float_tfloat (double d, const Temporal *tnumber) |
bool | left_floatspan_float (const Span *s, double d) |
Return true if a float span is strictly to the left of a float. More... | |
bool | left_geo_tpoint (const GSERIALIZED *geo, const Temporal *tpoint) |
bool | left_int_intspan (int i, const Span *s) |
Return true if an integer is strictly to the left of an integer span. More... | |
bool | left_int_tint (int i, const Temporal *tnumber) |
bool | left_intspan_int (const Span *s, int i) |
Return true if an integer span is strictly to the left of an integer. More... | |
bool | left_set_set (const Set *s1, const Set *s2) |
Return true if the first set is strictly to the left of a second one. More... | |
bool | left_set_span (const Set *os, const Span *s) |
bool | left_set_spanset (const Set *s, const SpanSet *ss) |
bool | left_span_set (const Span *s, const Set *os) |
bool | left_span_span (const Span *s1, const Span *s2) |
Return true if the first span is strictly to the left of the second one. More... | |
bool | left_span_spanset (const Span *s, const SpanSet *ss) |
Return true if a span is strictly before a span set. More... | |
bool | left_span_tnumber (const Span *span, const Temporal *tnumber) |
bool | left_spanset_set (const SpanSet *ss, const Set *s) |
bool | left_spanset_span (const SpanSet *ss, const Span *s) |
Return true if a span set is strictly before a span. More... | |
bool | left_spanset_spanset (const SpanSet *ss1, const SpanSet *ss2) |
Return true if the first span set is strictly before the second one. More... | |
bool | left_stbox_stbox (const STBox *box1, const STBox *box2) |
Return true if the first spatiotemporal box is strictly to the left of the second one. More... | |
bool | left_stbox_tpoint (const STBox *stbox, const Temporal *tpoint) |
bool | left_tbox_tbox (const TBox *box1, const TBox *box2) |
Return true if the first temporal box is strictly to the left of the second one. More... | |
bool | left_tbox_tnumber (const TBox *tbox, const Temporal *tnumber) |
bool | left_tfloat_float (const Temporal *tnumber, double d) |
bool | left_tint_int (const Temporal *tnumber, int i) |
bool | left_tnumber_span (const Temporal *tnumber, const Span *span) |
bool | left_tnumber_tbox (const Temporal *tnumber, const TBox *tbox) |
bool | left_tnumber_tnumber (const Temporal *tnumber1, const Temporal *tnumber2) |
bool | left_tpoint_geo (const Temporal *tpoint, const GSERIALIZED *geo) |
bool | left_tpoint_stbox (const Temporal *tpoint, const STBox *stbox) |
bool | left_tpoint_tpoint (const Temporal *tpoint1, const Temporal *tpoint2) |
void | meos_finalize (void) |
void | meos_initialize (const char *tz_str) |
SpanSet * | minus_period_timestamp (const Span *p, TimestampTz t) |
Return the difference of a period and a timestamp. More... | |
SpanSet * | minus_periodset_timestamp (const SpanSet *ps, TimestampTz t) |
Return the difference of a period set and a timestamp. More... | |
Set * | minus_set_set (const Set *s1, const Set *s2) |
Return the difference of two sets. More... | |
Set * | minus_set_span (const Set *os, const Span *s) |
Set * | minus_set_spanset (const Set *s, const SpanSet *ss) |
SpanSet * | minus_span_set (const Span *s, const Set *os) |
SpanSet * | minus_span_span (const Span *s1, const Span *s2) |
Return the difference of two spans. More... | |
SpanSet * | minus_span_spanset (const Span *s, const SpanSet *ss) |
Return the difference of a span and a span set. More... | |
SpanSet * | minus_spanset_set (const SpanSet *ss, const Set *s) |
SpanSet * | minus_spanset_span (const SpanSet *ss, const Span *s) |
Return the difference of a span set and a span. More... | |
SpanSet * | minus_spanset_spanset (const SpanSet *ss1, const SpanSet *ss2) |
Return the difference of two span sets. More... | |
bool | minus_timestamp_period (TimestampTz t, const Span *p, TimestampTz *result) |
Return the difference of a timestamp and a period. More... | |
bool | minus_timestamp_periodset (TimestampTz t, const SpanSet *ps, TimestampTz *result) |
Return the difference of a timestamp and a period set. More... | |
Set * | minus_timestampset_timestamp (const Set *ts, TimestampTz t) |
Return the difference of a timestamp set and a timestamp. More... | |
Set * | minus_timestampset_timestampset (const Set *ts1, const Set *ts2) |
Temporal * | mult_float_tfloat (double d, const Temporal *tnumber) |
Return the temporal multiplication of a float and a temporal float. More... | |
Temporal * | mult_int_tint (int i, const Temporal *tnumber) |
Return the temporal multiplication of an integer and a temporal integer. More... | |
Temporal * | mult_tfloat_float (const Temporal *tnumber, double d) |
Return the temporal multiplication of a temporal float and a float. More... | |
Temporal * | mult_tint_int (const Temporal *tnumber, int i) |
Return the temporal multiplication of a temporal integer and an integer. More... | |
Temporal * | mult_tnumber_tnumber (const Temporal *tnumber1, const Temporal *tnumber2) |
Return the temporal multiplication of the temporal numbers. More... | |
double | nad_stbox_geo (const STBox *box, const GSERIALIZED *gs) |
Return the nearest approach distance between a spatiotemporal box and a geometry. More... | |
double | nad_stbox_stbox (const STBox *box1, const STBox *box2) |
Return the nearest approach distance between the spatio-temporal boxes. More... | |
double | nad_tbox_tbox (const TBox *box1, const TBox *box2) |
Return the nearest approach distance between the temporal boxes. More... | |
double | nad_tfloat_float (const Temporal *temp, double d) |
Return the nearest approach distance between a temporal number and a number. More... | |
double | nad_tfloat_tfloat (const Temporal *temp1, const Temporal *temp2) |
Return the nearest approach distance between two temporal floats. More... | |
int | nad_tint_int (const Temporal *temp, int i) |
Return the nearest approach distance between a temporal number and a number. More... | |
int | nad_tint_tint (const Temporal *temp1, const Temporal *temp2) |
Return the nearest approach distance between two temporal integers. More... | |
double | nad_tnumber_tbox (const Temporal *temp, const TBox *box) |
Return the nearest approach distance between a temporal number and a temporal box. More... | |
double | nad_tpoint_geo (const Temporal *temp, const GSERIALIZED *gs) |
Return the nearest approach distance between a temporal point and a geometry. More... | |
double | nad_tpoint_stbox (const Temporal *temp, const STBox *box) |
Return the nearest approach distance between a temporal point and a spatio-temporal box. More... | |
double | nad_tpoint_tpoint (const Temporal *temp1, const Temporal *temp2) |
Return the nearest approach distance between the temporal points. More... | |
TInstant * | nai_tpoint_geo (const Temporal *temp, const GSERIALIZED *gs) |
Return the nearest approach instant between a temporal point and a geometry. More... | |
TInstant * | nai_tpoint_tpoint (const Temporal *temp1, const Temporal *temp2) |
Return the nearest approach instant between the temporal points. More... | |
void | numspan_set_floatspan (const Span *s1, Span *s2) |
Set the second span with the first one transformed to floatspan. More... | |
bool | overabove_geo_tpoint (const GSERIALIZED *geo, const Temporal *tpoint) |
bool | overabove_stbox_stbox (const STBox *box1, const STBox *box2) |
Return true if the first spatiotemporal box does not extend below of the second one. More... | |
bool | overabove_stbox_tpoint (const STBox *stbox, const Temporal *tpoint) |
bool | overabove_tpoint_geo (const Temporal *tpoint, const GSERIALIZED *geo) |
bool | overabove_tpoint_stbox (const Temporal *tpoint, const STBox *stbox) |
bool | overabove_tpoint_tpoint (const Temporal *tpoint1, const Temporal *tpoint2) |
bool | overafter_period_temporal (const Span *p, const Temporal *temp) |
bool | overafter_period_timestamp (const Span *p, TimestampTz t) |
Return true if a period is not before a timestamp. More... | |
bool | overafter_periodset_temporal (const SpanSet *ps, const Temporal *temp) |
bool | overafter_periodset_timestamp (const SpanSet *ps, TimestampTz t) |
Return true if a span set does not extend to the left of a value. More... | |
bool | overafter_stbox_stbox (const STBox *box1, const STBox *box2) |
Return true if the first temporal box does not extend before the second one. More... | |
bool | overafter_stbox_tpoint (const STBox *stbox, const Temporal *tpoint) |
bool | overafter_tbox_tbox (const TBox *box1, const TBox *box2) |
Return true if the first temporal box does not extend before the second one. More... | |
bool | overafter_tbox_tnumber (const TBox *tbox, const Temporal *tnumber) |
bool | overafter_temporal_period (const Temporal *temp, const Span *p) |
bool | overafter_temporal_periodset (const Temporal *temp, const SpanSet *ps) |
bool | overafter_temporal_temporal (const Temporal *temp1, const Temporal *temp2) |
bool | overafter_temporal_timestamp (const Temporal *temp, TimestampTz t) |
bool | overafter_temporal_timestampset (const Temporal *temp, const Set *ts) |
bool | overafter_timestamp_period (TimestampTz t, const Span *p) |
Return true if a timestamp is not before a period. More... | |
bool | overafter_timestamp_periodset (TimestampTz t, const SpanSet *ps) |
Return true if a timestamp is not before a period set. More... | |
bool | overafter_timestamp_temporal (TimestampTz t, const Temporal *temp) |
bool | overafter_timestamp_timestampset (TimestampTz t, const Set *ts) |
Return true if a timestamp is not before a timestamp set. More... | |
bool | overafter_timestampset_temporal (const Set *ts, const Temporal *temp) |
bool | overafter_tnumber_tbox (const Temporal *tnumber, const TBox *tbox) |
bool | overafter_tnumber_tnumber (const Temporal *tnumber1, const Temporal *tnumber2) |
bool | overafter_tpoint_stbox (const Temporal *tpoint, const STBox *stbox) |
bool | overafter_tpoint_tpoint (const Temporal *tpoint1, const Temporal *tpoint2) |
bool | overback_geo_tpoint (const GSERIALIZED *geo, const Temporal *tpoint) |
bool | overback_stbox_stbox (const STBox *box1, const STBox *box2) |
Return true if the first spatiotemporal box does not extend to the front of the second one. More... | |
bool | overback_stbox_tpoint (const STBox *stbox, const Temporal *tpoint) |
bool | overback_tpoint_geo (const Temporal *tpoint, const GSERIALIZED *geo) |
bool | overback_tpoint_stbox (const Temporal *tpoint, const STBox *stbox) |
bool | overback_tpoint_tpoint (const Temporal *tpoint1, const Temporal *tpoint2) |
bool | overbefore_period_temporal (const Span *p, const Temporal *temp) |
bool | overbefore_period_timestamp (const Span *p, TimestampTz t) |
Return true if a period is not after a timestamp. More... | |
bool | overbefore_periodset_temporal (const SpanSet *ps, const Temporal *temp) |
bool | overbefore_periodset_timestamp (const SpanSet *ps, TimestampTz t) |
Return true if a period set is not after a timestamp. More... | |
bool | overbefore_stbox_stbox (const STBox *box1, const STBox *box2) |
Return true if the first temporal box does not extend after the second one. More... | |
bool | overbefore_stbox_tpoint (const STBox *stbox, const Temporal *tpoint) |
bool | overbefore_tbox_tbox (const TBox *box1, const TBox *box2) |
Return true if the first temporal box does not extend after the second one. More... | |
bool | overbefore_tbox_tnumber (const TBox *tbox, const Temporal *tnumber) |
bool | overbefore_temporal_period (const Temporal *temp, const Span *p) |
bool | overbefore_temporal_periodset (const Temporal *temp, const SpanSet *ps) |
bool | overbefore_temporal_temporal (const Temporal *temp1, const Temporal *temp2) |
bool | overbefore_temporal_timestamp (const Temporal *temp, TimestampTz t) |
bool | overbefore_temporal_timestampset (const Temporal *temp, const Set *ts) |
bool | overbefore_timestamp_period (TimestampTz t, const Span *p) |
Return true if a timestamp is not after a period. More... | |
bool | overbefore_timestamp_periodset (TimestampTz t, const SpanSet *ps) |
Return true if a timestamp is not after a period set. More... | |
bool | overbefore_timestamp_temporal (TimestampTz t, const Temporal *temp) |
bool | overbefore_timestamp_timestampset (TimestampTz t, const Set *ts) |
Return true if a timestamp is not after a timestamp set. More... | |
bool | overbefore_timestampset_temporal (const Set *ts, const Temporal *temp) |
bool | overbefore_tnumber_tbox (const Temporal *tnumber, const TBox *tbox) |
bool | overbefore_tnumber_tnumber (const Temporal *tnumber1, const Temporal *tnumber2) |
bool | overbefore_tpoint_stbox (const Temporal *tpoint, const STBox *stbox) |
bool | overbefore_tpoint_tpoint (const Temporal *tpoint1, const Temporal *tpoint2) |
bool | overbelow_geo_tpoint (const GSERIALIZED *geo, const Temporal *tpoint) |
bool | overbelow_stbox_stbox (const STBox *box1, const STBox *box2) |
Return true if the first spatiotemporal box does not extend above of the second one. More... | |
bool | overbelow_stbox_tpoint (const STBox *stbox, const Temporal *tpoint) |
bool | overbelow_tpoint_geo (const Temporal *tpoint, const GSERIALIZED *geo) |
bool | overbelow_tpoint_stbox (const Temporal *tpoint, const STBox *stbox) |
bool | overbelow_tpoint_tpoint (const Temporal *tpoint1, const Temporal *tpoint2) |
bool | overfront_geo_tpoint (const GSERIALIZED *geo, const Temporal *tpoint) |
bool | overfront_stbox_stbox (const STBox *box1, const STBox *box2) |
Return true if the first spatiotemporal box does not extend to the back of the second one. More... | |
bool | overfront_stbox_tpoint (const STBox *stbox, const Temporal *tpoint) |
bool | overfront_tpoint_geo (const Temporal *tpoint, const GSERIALIZED *geo) |
bool | overfront_tpoint_stbox (const Temporal *tpoint, const STBox *stbox) |
bool | overfront_tpoint_tpoint (const Temporal *tpoint1, const Temporal *tpoint2) |
bool | overlaps_float_tfloat (double d, const Temporal *tnumber) |
bool | overlaps_geo_tpoint (const GSERIALIZED *geo, const Temporal *tpoint) |
bool | overlaps_int_tint (int i, const Temporal *tnumber) |
bool | overlaps_set_set (const Set *s1, const Set *s2) |
Return true if the sets overlap. More... | |
bool | overlaps_span_set (const Span *s, const Set *os) |
bool | overlaps_span_span (const Span *s1, const Span *s2) |
Return true if the spans overlap. More... | |
bool | overlaps_span_tnumber (const Span *span, const Temporal *tnumber) |
bool | overlaps_spanset_set (const SpanSet *ss, const Set *s) |
bool | overlaps_spanset_span (const SpanSet *ss, const Span *s) |
Return true if a span and a span set overlap. More... | |
bool | overlaps_spanset_spanset (const SpanSet *ss1, const SpanSet *ss2) |
Return true if two span sets overlap. More... | |
bool | overlaps_stbox_stbox (const STBox *box1, const STBox *box2) |
Return true if the spatiotemporal boxes overlap. More... | |
bool | overlaps_stbox_tpoint (const STBox *stbox, const Temporal *tpoint) |
bool | overlaps_tbox_tbox (const TBox *box1, const TBox *box2) |
Return true if the temporal boxes overlap. More... | |
bool | overlaps_tbox_tnumber (const TBox *tbox, const Temporal *tnumber) |
bool | overlaps_temporal_period (const Temporal *temp, const Span *p) |
bool | overlaps_temporal_periodset (const Temporal *temp, const SpanSet *ps) |
bool | overlaps_temporal_temporal (const Temporal *temp1, const Temporal *temp2) |
bool | overlaps_temporal_timestamp (const Temporal *temp, TimestampTz t) |
bool | overlaps_temporal_timestampset (const Temporal *temp, const Set *ts) |
bool | overlaps_tfloat_float (const Temporal *tnumber, double d) |
bool | overlaps_timestampset_period (const Set *ts, const Span *p) |
bool | overlaps_tint_int (const Temporal *tnumber, int i) |
bool | overlaps_tnumber_span (const Temporal *tnumber, const Span *span) |
bool | overlaps_tnumber_tbox (const Temporal *tnumber, const TBox *tbox) |
bool | overlaps_tnumber_tnumber (const Temporal *tnumber1, const Temporal *tnumber2) |
bool | overlaps_tpoint_geo (const Temporal *tpoint, const GSERIALIZED *geo) |
bool | overlaps_tpoint_stbox (const Temporal *tpoint, const STBox *stbox) |
bool | overlaps_tpoint_tpoint (const Temporal *tpoint1, const Temporal *tpoint2) |
bool | overleft_float_floatspan (double d, const Span *s) |
Return true if a float does not extend to the right of a float span. More... | |
bool | overleft_float_tfloat (double d, const Temporal *tnumber) |
bool | overleft_floatspan_float (const Span *s, double d) |
Return true if a float span does not extend to the right of a float. More... | |
bool | overleft_geo_tpoint (const GSERIALIZED *geo, const Temporal *tpoint) |
bool | overleft_int_intspan (int i, const Span *s) |
Return true if an integer does not extend to the right of an integer span. More... | |
bool | overleft_int_tint (int i, const Temporal *tnumber) |
bool | overleft_intspan_int (const Span *s, int i) |
Return true if an integer span does not extend to the right of an integer. 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_span (const Set *os, const Span *s) |
bool | overleft_set_spanset (const Set *s, const SpanSet *ss) |
bool | overleft_span_set (const Span *s, const Set *os) |
bool | overleft_span_span (const Span *s1, const Span *s2) |
Return true if the first span does not extend to the right of the second one. More... | |
bool | overleft_span_spanset (const Span *s, const SpanSet *ss) |
Return true if a span does not extend to the right of a span set. More... | |
bool | overleft_span_tnumber (const Span *span, const Temporal *tnumber) |
bool | overleft_spanset_set (const SpanSet *ss, const Set *s) |
bool | overleft_spanset_span (const SpanSet *ss, const Span *s) |
Return true if a span set does not extend to the right of a span. More... | |
bool | overleft_spanset_spanset (const SpanSet *ss1, const SpanSet *ss2) |
Return true if the first span set does not extend to the right of the second one. More... | |
bool | overleft_stbox_stbox (const STBox *box1, const STBox *box2) |
Return true if the first spatiotemporal box does not extend to the right of the second one. More... | |
bool | overleft_stbox_tpoint (const STBox *stbox, const Temporal *tpoint) |
bool | overleft_tbox_tbox (const TBox *box1, const TBox *box2) |
Return true if the first temporal box does not extend to the right of the second one. More... | |
bool | overleft_tbox_tnumber (const TBox *tbox, const Temporal *tnumber) |
bool | overleft_tfloat_float (const Temporal *tnumber, double d) |
bool | overleft_tint_int (const Temporal *tnumber, int i) |
bool | overleft_tnumber_span (const Temporal *tnumber, const Span *span) |
bool | overleft_tnumber_tbox (const Temporal *tnumber, const TBox *tbox) |
bool | overleft_tnumber_tnumber (const Temporal *tnumber1, const Temporal *tnumber2) |
bool | overleft_tpoint_geo (const Temporal *tpoint, const GSERIALIZED *geo) |
bool | overleft_tpoint_stbox (const Temporal *tpoint, const STBox *stbox) |
bool | overleft_tpoint_tpoint (const Temporal *tpoint1, const Temporal *tpoint2) |
bool | overright_float_floatspan (double d, const Span *s) |
Return true if a float does not extend to the left of a float span. More... | |
bool | overright_float_tfloat (double d, const Temporal *tnumber) |
bool | overright_floatspan_float (const Span *s, double d) |
Return true if a float span does not extend to the left of a float. More... | |
bool | overright_geo_tpoint (const GSERIALIZED *geo, const Temporal *tpoint) |
bool | overright_int_intspan (int i, const Span *s) |
Return true if an integer does not extend to the left of an integer span. More... | |
bool | overright_int_tint (int i, const Temporal *tnumber) |
bool | overright_intspan_int (const Span *s, int i) |
Return true if an integer span does not extend to the left of an integer. 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_span (const Set *os, const Span *s) |
bool | overright_set_spanset (const Set *s, const SpanSet *ss) |
bool | overright_span_set (const Span *s, const Set *os) |
bool | overright_span_span (const Span *s1, const Span *s2) |
Return true if the first span does not extend to the left of the second one. More... | |
bool | overright_span_spanset (const Span *s, const SpanSet *ss) |
Return true if a span does not extend to the left of a span set. More... | |
bool | overright_span_tnumber (const Span *span, const Temporal *tnumber) |
bool | overright_spanset_set (const SpanSet *ss, const Set *s) |
bool | overright_spanset_span (const SpanSet *ss, const Span *s) |
Return true if a span set does not extend to the right of a span. More... | |
bool | overright_spanset_spanset (const SpanSet *ss1, const SpanSet *ss2) |
Return true if the first span set does not extend to the right of the second one. More... | |
bool | overright_stbox_stbox (const STBox *box1, const STBox *box2) |
Return true if the first spatio temporal box does not extend to the left of the second one. More... | |
bool | overright_stbox_tpoint (const STBox *stbox, const Temporal *tpoint) |
bool | overright_tbox_tbox (const TBox *box1, const TBox *box2) |
Return true if the first temporal box does not extend to the left of the second one. More... | |
bool | overright_tbox_tnumber (const TBox *tbox, const Temporal *tnumber) |
bool | overright_tfloat_float (const Temporal *tnumber, double d) |
bool | overright_tint_int (const Temporal *tnumber, int i) |
bool | overright_tnumber_span (const Temporal *tnumber, const Span *span) |
bool | overright_tnumber_tbox (const Temporal *tnumber, const TBox *tbox) |
bool | overright_tnumber_tnumber (const Temporal *tnumber1, const Temporal *tnumber2) |
bool | overright_tpoint_geo (const Temporal *tpoint, const GSERIALIZED *geo) |
bool | overright_tpoint_stbox (const Temporal *tpoint, const STBox *stbox) |
bool | overright_tpoint_tpoint (const Temporal *tpoint1, const Temporal *tpoint2) |
Span * | period_bucket_list (const Span *bounds, const Interval *duration, TimestampTz origin, int *newcount) |
Return the bucket list from a period. More... | |
Interval * | period_duration (const Span *s) |
Return the duration of a period as an interval. More... | |
Span * | period_in (const char *str) |
Return a period from its Well-Known Text (WKT) representation. More... | |
TimestampTz | period_lower (const Span *p) |
Return the lower bound of a period. More... | |
Span * | period_make (TimestampTz lower, TimestampTz upper, bool lower_inc, bool upper_inc) |
Construct a period from the bounds. More... | |
char * | period_out (const Span *s) |
Return the Well-Known Text (WKT) representation of a span. More... | |
void | period_shift_tscale (Span *p, const Interval *shift, const Interval *duration) |
Shift and/or scale a period by the intervals. More... | |
SkipList * | period_tcount_transfn (SkipList *state, const Span *p) |
Transition function for temporal count aggregate of periods. More... | |
STBox * | period_to_stbox (const Span *p) |
Cast a period to a spatiotemporal box. More... | |
TBox * | period_to_tbox (const Span *p) |
Cast a period to a temporal box. More... | |
Span * | period_tprecision (const Span *s, const Interval *duration, TimestampTz torigin) |
Set the precision of a time value according to period buckets. More... | |
SpanSet * | period_tunion_finalfn (SkipList *state) |
Final function for union aggregation of period (set) values. More... | |
SkipList * | period_tunion_transfn (SkipList *state, const Span *p) |
Generic transition function for aggregating period values. More... | |
TimestampTz | period_upper (const Span *p) |
Return the upper bound of a period. More... | |
Interval * | periodset_duration (const SpanSet *ps, bool boundspan) |
Return the duration of a period set. More... | |
TimestampTz | periodset_end_timestamp (const SpanSet *ps) |
Return the end timestamp of a period set. More... | |
SpanSet * | periodset_in (const char *str) |
Return a period set from its Well-Known Text (WKT) representation. More... | |
TimestampTz | periodset_lower (const SpanSet *ps) |
Return the lower bound of a period. More... | |
int | periodset_num_timestamps (const SpanSet *ps) |
Return the number of timestamps of a period set. More... | |
char * | periodset_out (const SpanSet *ss) |
Return the Well-Known Text (WKT) representation of a span set. More... | |
SpanSet * | periodset_shift_tscale (const SpanSet *ps, const Interval *shift, const Interval *duration) |
Return a period set shifted and/or scaled by the intervals. More... | |
TimestampTz | periodset_start_timestamp (const SpanSet *ps) |
Return the start timestamp of a period set. More... | |
SkipList * | periodset_tcount_transfn (SkipList *state, const SpanSet *ps) |
Transition function for temporal count aggregate of period sets. More... | |
bool | periodset_timestamp_n (const SpanSet *ps, int n, TimestampTz *result) |
Return the n-th timestamp of a period set. More... | |
TimestampTz * | periodset_timestamps (const SpanSet *ps, int *count) |
Return the timestamps of a period set. More... | |
STBox * | periodset_to_stbox (const SpanSet *ps) |
Cast a period set to a spatiotemporal box. More... | |
TBox * | periodset_to_tbox (const SpanSet *ps) |
Cast a period set to a temporal box. More... | |
SpanSet * | periodset_tprecision (const SpanSet *ss, const Interval *duration, TimestampTz torigin) |
Set the precision of a time value into an array of disjoint fragments. More... | |
SkipList * | periodset_tunion_transfn (SkipList *state, const SpanSet *ps) |
Generic transition function for aggregating period set values. More... | |
TimestampTz | periodset_upper (const SpanSet *ps) |
Return the upper bound of a period. More... | |
DateADT | pg_date_in (const char *str) |
Convert a string to a date in internal date format. More... | |
char * | pg_date_out (DateADT date) |
Convert a date in internal date format to a string. More... | |
int | pg_interval_cmp (const Interval *interval1, const Interval *interval2) |
Compare the two intervals. More... | |
Interval * | pg_interval_in (const char *str, int32 typmod) |
Convert a string to an interval. More... | |
Interval * | pg_interval_make (int32 years, int32 months, int32 weeks, int32 days, int32 hours, int32 mins, double secs) |
Interval constructor. More... | |
Interval * | pg_interval_mul (const Interval *span, double factor) |
Multiply an interval by a scalar. More... | |
char * | pg_interval_out (const Interval *span) |
Convert a time span to external form. More... | |
Interval * | pg_interval_pl (const Interval *span1, const Interval *span2) |
Add an interval to a timestamp data type. More... | |
TimeADT | pg_time_in (const char *str, int32 typmod) |
Convert a string to a time. More... | |
char * | pg_time_out (TimeADT time) |
Convert a time to a string. More... | |
Timestamp | pg_timestamp_in (const char *str, int32 typmod) |
Convert a string to a timestamp without time zone. More... | |
Interval * | pg_timestamp_mi (TimestampTz dt1, TimestampTz dt2) |
Compute the difference of two timestamps. More... | |
TimestampTz | pg_timestamp_mi_interval (TimestampTz timestamp, const Interval *span) |
Add an interval to a timestamp data type. More... | |
char * | pg_timestamp_out (Timestamp dt) |
Convert a timestamp without timezone to a string. More... | |
TimestampTz | pg_timestamp_pl_interval (TimestampTz timestamp, const Interval *span) |
Add an interval to a timestamp data type. More... | |
TimestampTz | pg_timestamptz_in (const char *str, int32 typmod) |
Convert a string to a timestamp with time zone. More... | |
char * | pg_timestamptz_out (TimestampTz dt) |
Convert a timestamp with timezone to a string. More... | |
bool | pgis_gserialized_same (const GSERIALIZED *geom1, const GSERIALIZED *geom2) |
Return true if the geometries are the same. More... | |
bool | right_float_floatspan (double d, const Span *s) |
Return true if a float is strictly to the right of a float span. More... | |
bool | right_float_tfloat (double d, const Temporal *tnumber) |
bool | right_floatspan_float (const Span *s, double d) |
Return true if a float is strictly to the right of a float span. More... | |
bool | right_geo_tpoint (const GSERIALIZED *geo, const Temporal *tpoint) |
bool | right_int_intspan (int i, const Span *s) |
Return true if an integer is strictly to the right of an integer span. More... | |
bool | right_int_tint (int i, const Temporal *tnumber) |
bool | right_intspan_int (const Span *s, int i) |
Return true if an integer span is strictly to the right of an integer. More... | |
bool | right_set_set (const Set *s1, const Set *s2) |
Return true if the first set is strictly to the right of the second one. More... | |
bool | right_set_span (const Set *os, const Span *s) |
bool | right_set_spanset (const Set *s, const SpanSet *ss) |
bool | right_span_set (const Span *s, const Set *os) |
bool | right_span_span (const Span *s1, const Span *s2) |
Return true if the first span is strictly to right the of the second one. More... | |
bool | right_span_spanset (const Span *s, const SpanSet *ss) |
Return true if a span is strictly to the right of a span set. More... | |
bool | right_span_tnumber (const Span *span, const Temporal *tnumber) |
bool | right_spanset_set (const SpanSet *ss, const Set *s) |
bool | right_spanset_span (const SpanSet *ss, const Span *s) |
Return true if a span set is strictly after a span. More... | |
bool | right_spanset_spanset (const SpanSet *ss1, const SpanSet *ss2) |
Return true if the first span set is strictly after the second one. More... | |
bool | right_stbox_stbox (const STBox *box1, const STBox *box2) |
Return true if the first spatiotemporal box is strictly to the right of the second one. More... | |
bool | right_stbox_tpoint (const STBox *stbox, const Temporal *tpoint) |
bool | right_tbox_tbox (const TBox *box1, const TBox *box2) |
Return true if the first temporal box is strictly to the right of the second one. More... | |
bool | right_tbox_tnumber (const TBox *tbox, const Temporal *tnumber) |
bool | right_tfloat_float (const Temporal *tnumber, double d) |
bool | right_tint_int (const Temporal *tnumber, int i) |
bool | right_tnumber_span (const Temporal *tnumber, const Span *span) |
bool | right_tnumber_tbox (const Temporal *tnumber, const TBox *tbox) |
bool | right_tnumber_tnumber (const Temporal *tnumber1, const Temporal *tnumber2) |
bool | right_tpoint_geo (const Temporal *tpoint, const GSERIALIZED *geo) |
bool | right_tpoint_stbox (const Temporal *tpoint, const STBox *stbox) |
bool | right_tpoint_tpoint (const Temporal *tpoint1, const Temporal *tpoint2) |
bool | same_float_tfloat (double d, const Temporal *tnumber) |
bool | same_geo_tpoint (const GSERIALIZED *geo, const Temporal *tpoint) |
bool | same_int_tint (int i, const Temporal *tnumber) |
bool | same_period_temporal (const Span *p, const Temporal *temp) |
bool | same_periodset_temporal (const SpanSet *ps, const Temporal *temp) |
bool | same_span_tnumber (const Span *span, const Temporal *tnumber) |
bool | same_stbox_stbox (const STBox *box1, const STBox *box2) |
Return true if the spatiotemporal boxes are equal on the common dimensions. More... | |
bool | same_stbox_tpoint (const STBox *stbox, const Temporal *tpoint) |
bool | same_tbox_tbox (const TBox *box1, const TBox *box2) |
Return true if the temporal boxes are equal on the common dimensions. More... | |
bool | same_tbox_tnumber (const TBox *tbox, const Temporal *tnumber) |
bool | same_temporal_period (const Temporal *temp, const Span *p) |
bool | same_temporal_periodset (const Temporal *temp, const SpanSet *ps) |
bool | same_temporal_temporal (const Temporal *temp1, const Temporal *temp2) |
bool | same_temporal_timestamp (const Temporal *temp, TimestampTz t) |
bool | same_temporal_timestampset (const Temporal *temp, const Set *ts) |
bool | same_tfloat_float (const Temporal *tnumber, double d) |
bool | same_timestamp_temporal (TimestampTz t, const Temporal *temp) |
bool | same_timestampset_temporal (const Set *ts, const Temporal *temp) |
bool | same_tint_int (const Temporal *tnumber, int i) |
bool | same_tnumber_span (const Temporal *tnumber, const Span *span) |
bool | same_tnumber_tbox (const Temporal *tnumber, const TBox *tbox) |
bool | same_tnumber_tnumber (const Temporal *tnumber1, const Temporal *tnumber2) |
bool | same_tpoint_geo (const Temporal *tpoint, const GSERIALIZED *geo) |
bool | same_tpoint_stbox (const Temporal *tpoint, const STBox *stbox) |
bool | same_tpoint_tpoint (const Temporal *tpoint1, const Temporal *tpoint2) |
Set * | set_agg_combinefn (Set *state1, Set *state2) |
Set * | set_agg_finalfn (Set *state) |
Transition function for set aggregate of values. More... | |
uint8_t * | set_as_wkb (const Set *s, uint8_t variant, size_t *size_out) |
Return the WKB representation of a set. More... | |
int | set_cmp (const Set *s1, const Set *s2) |
Return -1, 0, or 1 depending on whether the first set is less than, equal, or greater than the second one. More... | |
Set * | set_copy (const Set *ts) |
Return a copy of a set. More... | |
Datum | set_end_value (const Set *s) |
Return the end value of a set. More... | |
bool | set_eq (const Set *s1, const Set *s2) |
Return true if the first set is equal to the second one. More... | |
Span * | set_extent_transfn (Span *span, const Set *set) |
Transition function for extent aggregate of timestamp set values. More... | |
Set * | set_from_hexwkb (const char *hexwkb) |
Return a set from its WKB representation in hex-encoded ASCII. More... | |
Set * | set_from_wkb (const uint8_t *wkb, int size) |
Return a set from its Well-Known Binary (WKB) representation. More... | |
bool | set_ge (const Set *s1, const Set *s2) |
Return true if the first set is greater than or equal to the second one. More... | |
bool | set_gt (const Set *s1, const Set *s2) |
Return true if the first set is greater than the second one. More... | |
uint32 | set_hash (const Set *s) |
Return the 32-bit hash of a set. More... | |
uint64 | set_hash_extended (const Set *s, uint64 seed) |
Return the 64-bit hash of a set using a seed. More... | |
bool | set_le (const Set *s1, const Set *s2) |
Return true if the first set is less than or equal to the second one. More... | |
bool | set_lt (const Set *s1, const Set *s2) |
Return true if the first set is less than the second one. More... | |
int | set_mem_size (const Set *s) |
Return the size in bytes of a set. More... | |
bool | set_ne (const Set *s1, const Set *s2) |
Return true if the first set is different from the second one. More... | |
int | set_num_values (const Set *s) |
Return the number of values of a set. More... | |
char * | set_out (const Set *s, int maxdd) |
Return the Well-Known Text (WKT) representation of a set. More... | |
void | set_set_span (const Set *os, Span *s) |
Set the last argument to the bounding span of a set. More... | |
Set * | set_shift (const Set *s, Datum shift) |
Shift the values of set. More... | |
Datum | set_start_value (const Set *s) |
Return the start value of a set. More... | |
Span * | set_to_span (const Set *s) |
Return the bounding span of a set. More... | |
SpanSet * | set_to_spanset (const Set *s) |
Cast a set as a span set. More... | |
bool | set_value_n (const Set *s, int n, Datum *result) |
Return the n-th value of a set. More... | |
Datum * | set_values (const Set *s) |
Return the array of values of a set. More... | |
bool | shortestline_tpoint_geo (const Temporal *temp, const GSERIALIZED *gs, GSERIALIZED **result) |
Return the line connecting the nearest approach point between a temporal point and a geometry. More... | |
bool | shortestline_tpoint_tpoint (const Temporal *temp1, const Temporal *temp2, GSERIALIZED **result) |
Return the line connecting the nearest approach point between the temporal points. More... | |
uint8_t * | span_as_wkb (const Span *s, uint8_t variant, size_t *size_out) |
Return the WKB representation of a span. More... | |
int | span_cmp (const Span *s1, const Span *s2) |
Return -1, 0, or 1 depending on whether the first span is less than, equal, or greater than the second one. More... | |
Span * | span_copy (const Span *s) |
Return a copy of a span. More... | |
bool | span_eq (const Span *s1, const Span *s2) |
Return true if the first span is equal to the second one. More... | |
void | span_expand (const Span *s1, Span *s2) |
Expand the second span with the first one. More... | |
Span * | span_extent_transfn (Span *s1, const Span *s2) |
Transition function for extent aggregate of span values. More... | |
Span * | span_from_hexwkb (const char *hexwkb) |
Return a span from its WKB representation in hex-encoded ASCII. More... | |
Span * | span_from_wkb (const uint8_t *wkb, int size) |
Return a span from its Well-Known Binary (WKB) representation. More... | |
bool | span_ge (const Span *s1, const Span *s2) |
Return true if the first span is greater than or equal to the second one. More... | |
bool | span_gt (const Span *s1, const Span *s2) |
Return true if the first span is greater than the second one. More... | |
uint32 | span_hash (const Span *s) |
Return the 32-bit hash of a span. More... | |
uint64 | span_hash_extended (const Span *s, Datum seed) |
Return the 64-bit hash of a span using a seed. More... | |
bool | span_le (const Span *s1, const Span *s2) |
Return true if the first span is less than or equal to the second one. More... | |
bool | span_lower_inc (const Span *s) |
Return true if the lower bound of a span is inclusive. More... | |
bool | span_lt (const Span *s1, const Span *s2) |
Return true if the first span is less than the second one. More... | |
bool | span_ne (const Span *s1, const Span *s2) |
Return true if the first span is different from the second one. More... | |
char * | span_out (const Span *s, int maxdd) |
Return the Well-Known Text (WKT) representation of a span. More... | |
TBox * | span_period_to_tbox (const Span *span, const Span *p) |
Return a temporal box from a span and a period. More... | |
TBox * | span_timestamp_to_tbox (const Span *span, TimestampTz t) |
Return a temporal box from a span and a timestamp. More... | |
SpanSet * | span_to_spanset (const Span *s) |
Cast a period as a period set. More... | |
TBox * | span_to_tbox (const Span *span) |
bool | span_upper_inc (const Span *s) |
Return true if the upper bound of a span is inclusive. More... | |
double | span_width (const Span *s) |
Return the width of a span as a double. More... | |
uint8_t * | spanset_as_wkb (const SpanSet *ss, uint8_t variant, size_t *size_out) |
Return the WKB representation of a period set. More... | |
int | spanset_cmp (const SpanSet *ss1, const SpanSet *ss2) |
Return -1, 0, or 1 depending on whether the first span set is less than, equal, or greater than the second one. More... | |
SpanSet * | spanset_copy (const SpanSet *ps) |
Return a copy of a span set. More... | |
Span * | spanset_end_span (const SpanSet *ss) |
Return the end span of a span set. More... | |
bool | spanset_eq (const SpanSet *ss1, const SpanSet *ss2) |
Return true if the first span set is equal to the second one. More... | |
Span * | spanset_extent_transfn (Span *s, const SpanSet *ss) |
Transition function for extent aggregate of span set values. More... | |
SpanSet * | spanset_from_hexwkb (const char *hexwkb) |
Return a period set from its WKB representation in hex-encoded ASCII. More... | |
SpanSet * | spanset_from_wkb (const uint8_t *wkb, int size) |
Return a period set from its Well-Known Binary (WKB) representation. More... | |
bool | spanset_ge (const SpanSet *ss1, const SpanSet *ss2) |
Return true if the first span set is greater than or equal to the second one. More... | |
bool | spanset_gt (const SpanSet *ss1, const SpanSet *ss2) |
Return true if the first span set is greater than the second one. More... | |
uint32 | spanset_hash (const SpanSet *ps) |
Return the 32-bit hash value of a span set. More... | |
uint64 | spanset_hash_extended (const SpanSet *ps, uint64 seed) |
Return the 64-bit hash value of a span set using a seed. More... | |
bool | spanset_le (const SpanSet *ss1, const SpanSet *ss2) |
Return true if the first span set is less than or equal to the second one. More... | |
bool | spanset_lower_inc (const SpanSet *ss) |
Return true if the lower bound of a span set is inclusive. More... | |
bool | spanset_lt (const SpanSet *ss1, const SpanSet *ss2) |
Return true if the first span set is less than the second one. More... | |
SpanSet * | spanset_make (const Span **spans, int count, bool normalize) |
Construct a span set from an array of disjoint span. More... | |
SpanSet * | spanset_make_free (Span **spans, int count, bool normalize) |
Construct a span set from an array of spans and free the array and the spans after the creation. More... | |
int | spanset_mem_size (const SpanSet *ss) |
Return the size in bytes of a period set. More... | |
bool | spanset_ne (const SpanSet *ss1, const SpanSet *ss2) |
Return true if the first span set is different from the second one. More... | |
int | spanset_num_spans (const SpanSet *ss) |
Return the number of spans of a span set. More... | |
char * | spanset_out (const SpanSet *ss, int maxdd) |
Return the Well-Known Text (WKT) representation of a span set. More... | |
Span * | spanset_span_n (const SpanSet *ss, int i) |
Return the n-th span of a span set. More... | |
const Span ** | spanset_spans (const SpanSet *ss, int *count) |
Return the spans of a span set. More... | |
Span * | spanset_start_span (const SpanSet *ss) |
Return the start span of a span set. More... | |
bool | spanset_upper_inc (const SpanSet *ss) |
Return true if the upper bound of a span set is inclusive. More... | |
double | spanset_width (const SpanSet *ss) |
Return the width of a span set as a double. More... | |
void | spatialset_set_stbox (const Set *set, STBox *box) |
Set the last argument to the bounding box of a spatial set. More... | |
STBox * | spatialset_to_stbox (const Set *s) |
Return the bounding box of a spatial set. More... | |
char * | stbox_as_hexwkb (const STBox *box, uint8_t variant, size_t *size) |
Return the WKB representation of a spatiotemporal box in hex-encoded ASCII. More... | |
uint8_t * | stbox_as_wkb (const STBox *box, uint8_t variant, size_t *size_out) |
Return the WKB representation of a spatiotemporal box. More... | |
int | stbox_cmp (const STBox *box1, const STBox *box2) |
Return -1, 0, or 1 depending on whether the first spatiotemporal box is less than, equal, or greater than the second one. More... | |
STBox * | stbox_copy (const STBox *box) |
Return a copy of a spatiotemporal box. More... | |
bool | stbox_eq (const STBox *box1, const STBox *box2) |
Return true if the spatiotemporal boxes are equal. More... | |
void | stbox_expand (const STBox *box1, STBox *box2) |
Expand the second spatiotemporal box with the first one. More... | |
STBox * | stbox_expand_space (const STBox *box, double d) |
Return a spatiotemporal box expanded in the spatial dimension by a double. More... | |
STBox * | stbox_expand_time (const STBox *box, const Interval *interval) |
Return a spatiotemporal box expanded in the temporal dimension by an interval. More... | |
STBox * | stbox_from_hexwkb (const char *hexwkb) |
Return a spatiotemporal box from its WKB representation in hex-encoded ASCII. More... | |
STBox * | stbox_from_wkb (const uint8_t *wkb, int size) |
Return a spatiotemporal box from its Well-Known Binary (WKB) representation. More... | |
bool | stbox_ge (const STBox *box1, const STBox *box2) |
Return true if the first spatiotemporal box is greater than or equal to the second one. More... | |
bool | stbox_gt (const STBox *box1, const STBox *box2) |
Return true if the first spatiotemporal box is greater than the second one. More... | |
bool | stbox_hast (const STBox *box) |
Return true if a spatiotemporal box has time dimension. More... | |
bool | stbox_hasx (const STBox *box) |
Return true if a spatiotemporal box has value dimension. More... | |
bool | stbox_hasz (const STBox *box) |
Return true if a spatiotemporal box has Z dimension. More... | |
STBox * | stbox_in (const char *str) |
Return a spatiotemporal box from its Well-Known Text (WKT) representation. More... | |
bool | stbox_isgeodetic (const STBox *box) |
Return true if a spatiotemporal box is geodetic. More... | |
bool | stbox_le (const STBox *box1, const STBox *box2) |
Return true if the first spatiotemporal box is less than or equal to the second one. More... | |
bool | stbox_lt (const STBox *box1, const STBox *box2) |
Return true if the first spatiotemporal box is less than the second one. More... | |
STBox * | stbox_make (bool hasx, bool hasz, bool geodetic, int32 srid, double xmin, double xmax, double ymin, double ymax, double zmin, double zmax, const Span *p) |
Construct a spatiotemporal box from the arguments. More... | |
bool | stbox_ne (const STBox *box1, const STBox *box2) |
Return true if the spatiotemporal boxes are different. More... | |
char * | stbox_out (const STBox *box, int maxdd) |
Return the Well-Known Text (WKT) representation of a spatiotemporal box. More... | |
void | stbox_set (bool hasx, bool hasz, bool geodetic, int32 srid, double xmin, double xmax, double ymin, double ymax, double zmin, double zmax, const Span *p, STBox *box) |
Set a spatiotemporal box from the arguments. More... | |
STBox * | stbox_set_srid (const STBox *box, int32 srid) |
Set the SRID of a spatiotemporal box. More... | |
void | stbox_shift_tscale (STBox *box, const Interval *start, const Interval *duration) |
Shift and/or scale a spatiotemporal box by the intervals. More... | |
int32 | stbox_srid (const STBox *box) |
Return the SRID of a spatiotemporal box. More... | |
STBox * | stbox_tile_list (STBox *bounds, double size, const Interval *duration, GSERIALIZED *sorigin, TimestampTz torigin, int **cellcount) |
Generate a multidimensional grid for temporal points. More... | |
bool | stbox_tmax (const STBox *box, TimestampTz *result) |
Return true if the spatiotemporal box has time dimension. More... | |
bool | stbox_tmin (const STBox *box, TimestampTz *result) |
Return true if the spatiotemporal box has time dimension. More... | |
GSERIALIZED * | stbox_to_geo (const STBox *box) |
Cast a spatiotemporal box as a PostGIS geometry. More... | |
Span * | stbox_to_period (const STBox *box) |
Cast a temporal box as a period. More... | |
bool | stbox_xmax (const STBox *box, double *result) |
Return true if the spatiotemporal box has value dimension. More... | |
bool | stbox_xmin (const STBox *box, double *result) |
Return true if the spatiotemporal box has value dimension. More... | |
bool | stbox_ymax (const STBox *box, double *result) |
Return true if the spatiotemporal box has value dimension. More... | |
bool | stbox_ymin (const STBox *box, double *result) |
Return true if the spatiotemporal box has value dimension. More... | |
bool | stbox_zmax (const STBox *box, double *result) |
Return true if the spatiotemporal box has Z dimension. More... | |
bool | stbox_zmin (const STBox *box, double *result) |
Return true if the spatiotemporal box has Z dimension. More... | |
Temporal * | sub_float_tfloat (double d, const Temporal *tnumber) |
Return the temporal subtraction of a float and a temporal float. More... | |
Temporal * | sub_int_tint (int i, const Temporal *tnumber) |
Return the temporal subtraction of an integer and a temporal integer. More... | |
Temporal * | sub_tfloat_float (const Temporal *tnumber, double d) |
Return the temporal subtraction of a temporal float and a float. More... | |
Temporal * | sub_tint_int (const Temporal *tnumber, int i) |
Return the temporal subtraction of a temporal integer and an integer. More... | |
Temporal * | sub_tnumber_tnumber (const Temporal *tnumber1, const Temporal *tnumber2) |
Return the temporal subtraction of the temporal numbers. More... | |
Temporal * | tand_bool_tbool (bool b, const Temporal *temp) |
Temporal Boolean operators: and, or, not. More... | |
Temporal * | tand_tbool_bool (const Temporal *temp, bool b) |
Return the boolean and of a temporal boolean and a boolean. More... | |
Temporal * | tand_tbool_tbool (const Temporal *temp1, const Temporal *temp2) |
Return the boolean and of the temporal booleans. More... | |
bool | tbool_always_eq (const Temporal *temp, bool b) |
Return true if a temporal boolean is always equal to a boolean. More... | |
Temporal * | tbool_at_value (const Temporal *temp, bool b) |
Basic functions for temporal types of any subtype. More... | |
bool | tbool_end_value (const Temporal *temp) |
Return the end value of a temporal boolean. More... | |
bool | tbool_ever_eq (const Temporal *temp, bool b) |
Return true if a temporal boolean is ever equal to a boolean. More... | |
Temporal * | tbool_from_base (bool b, const Temporal *temp) |
Construct a temporal boolean from a boolean and the time frame of another temporal value. More... | |
Temporal * | tbool_in (const char *str) |
Return a temporal boolean from its Well-Known Text (WKT) representation. More... | |
Temporal * | tbool_minus_value (const Temporal *temp, bool b) |
Restrict a temporal boolean to the complement of a boolean. More... | |
char * | tbool_out (const Temporal *temp) |
Return a temporal boolean from its Well-Known Text (WKT) representation. More... | |
bool | tbool_start_value (const Temporal *temp) |
Return the start value of a temporal boolean. More... | |
SkipList * | tbool_tand_transfn (SkipList *state, const Temporal *temp) |
Transition function for temporal and of temporal booleans. More... | |
SkipList * | tbool_tor_transfn (SkipList *state, const Temporal *temp) |
Transition function for temporal count of temporal booleans. More... | |
bool | tbool_value_at_timestamp (const Temporal *temp, TimestampTz t, bool strict, bool *value) |
Return the value of a temporal boolean at a timestamp. More... | |
bool * | tbool_values (const Temporal *temp, int *count) |
Return the the array of base values of a temporal boolean. More... | |
SpanSet * | tbool_when_true (const Temporal *temp) |
Return the time when the temporal boolean has value true. More... | |
TSequence * | tbooldiscseq_from_base_time (bool b, const Set *ts) |
Construct a temporal boolean discrete sequence from a boolean and a timestamp set. More... | |
TInstant * | tboolinst_make (bool b, TimestampTz t) |
Construct a temporal instant boolean from the arguments. More... | |
TSequence * | tboolseq_from_base (bool b, const TSequence *seq) |
Construct a temporal boolean sequence from a boolean and the time frame of another temporal sequence. More... | |
TSequence * | tboolseq_from_base_time (bool b, const Span *p) |
Construct a temporal boolean sequence from a boolean and a period. More... | |
TSequenceSet * | tboolseqset_from_base (bool b, const TSequenceSet *ss) |
Construct a temporal boolean sequence set from a boolean and the time frame of another temporal sequence set. More... | |
TSequenceSet * | tboolseqset_from_base_time (bool b, const SpanSet *ps) |
Construct a temporal boolean sequence set from a boolean and a period set. More... | |
char * | tbox_as_hexwkb (const TBox *box, uint8_t variant, size_t *size) |
Return the WKB representation of a temporal box in hex-encoded ASCII. More... | |
uint8_t * | tbox_as_wkb (const TBox *box, uint8_t variant, size_t *size_out) |
Return the WKB representation of a temporal box. More... | |
int | tbox_cmp (const TBox *box1, const TBox *box2) |
Return -1, 0, or 1 depending on whether the first temporal box is less than, equal to, or greater than the second one. More... | |
TBox * | tbox_copy (const TBox *box) |
Return a copy of a temporal box. More... | |
bool | tbox_eq (const TBox *box1, const TBox *box2) |
Return true if the temporal boxes are equal. More... | |
void | tbox_expand (const TBox *box1, TBox *box2) |
Expand the second temporal box with the first one. More... | |
TBox * | tbox_expand_time (const TBox *box, const Interval *interval) |
Return a temporal box expanded in the time dimension by an interval. More... | |
TBox * | tbox_expand_value (const TBox *box, const double d) |
Return a temporal box expanded in the value dimension by a double. More... | |
TBox * | tbox_from_hexwkb (const char *hexwkb) |
Return a temporal box from its WKB representation in hex-encoded ASCII. More... | |
TBox * | tbox_from_wkb (const uint8_t *wkb, int size) |
Return a temporal box from its Well-Known Binary (WKB) representation. More... | |
bool | tbox_ge (const TBox *box1, const TBox *box2) |
Return true if the first temporal box is greater than or equal to the second one. More... | |
bool | tbox_gt (const TBox *box1, const TBox *box2) |
Return true if the first temporal box is greater than the second one. More... | |
bool | tbox_hast (const TBox *box) |
Return true if a temporal box has time dimension. More... | |
bool | tbox_hasx (const TBox *box) |
Return true if a temporal box has value dimension. More... | |
TBox * | tbox_in (const char *str) |
Return a temporal box from its Well-Known Text (WKT) representation. More... | |
bool | tbox_le (const TBox *box1, const TBox *box2) |
Return true if the first temporal box is less than or equal to the second one. More... | |
bool | tbox_lt (const TBox *box1, const TBox *box2) |
Return true if the first temporal box is less than the second one. More... | |
TBox * | tbox_make (const Span *p, const Span *s) |
Construct a temporal box from the arguments. More... | |
bool | tbox_ne (const TBox *box1, const TBox *box2) |
Return true if the temporal boxes are different. More... | |
char * | tbox_out (const TBox *box, int maxdd) |
Return the Well-Known Text (WKT) representation of a temporal box. More... | |
void | tbox_set (const Span *p, const Span *s, TBox *box) |
Set a temporal box from the arguments. More... | |
void | tbox_shift_tscale (TBox *box, const Interval *start, const Interval *duration) |
Return a temporal box shifted and/or scaled in the time dimension by the intervals. More... | |
TBox * | tbox_tile_list (const TBox *bounds, double xsize, const Interval *duration, double xorigin, TimestampTz torigin, int *rows, int *columns) |
Return the tile list from a TBox. More... | |
bool | tbox_tmax (const TBox *box, TimestampTz *result) |
Return true if the temporal box has time dimension. More... | |
bool | tbox_tmin (const TBox *box, TimestampTz *result) |
Return true if the temporal box has time dimension. More... | |
Span * | tbox_to_floatspan (const TBox *box) |
Cast a temporal box as a span. More... | |
Span * | tbox_to_period (const TBox *box) |
Cast a temporal box as a period. More... | |
bool | tbox_xmax (const TBox *box, double *result) |
Return true if the temporal box has value dimension. More... | |
bool | tbox_xmin (const TBox *box, double *result) |
Return true if the temporal box has value dimension. More... | |
Temporal * | tcontains_geo_tpoint (const GSERIALIZED *gs, const Temporal *temp, bool restr, bool atvalue) |
Return the temporal contains relationship between a geometry and a temporal point. More... | |
Temporal * | tdisjoint_tpoint_geo (const Temporal *temp, const GSERIALIZED *geo, bool restr, bool atvalue) |
Temporal spatial relationships for temporal points. More... | |
Temporal * | tdwithin_tpoint_geo (const Temporal *temp, const GSERIALIZED *gs, double dist, bool restr, bool atvalue) |
Return a temporal Boolean that states whether a temporal point and a geometry are within the given distance. More... | |
Temporal * | tdwithin_tpoint_tpoint (const Temporal *temp1, const Temporal *temp2, double dist, bool restr, bool atvalue) |
Return a temporal Boolean that states whether the temporal points are within the given distance. More... | |
Temporal * | temporal_append_tinstant (Temporal *temp, const TInstant *inst, bool expand) |
Append an instant to the end of a temporal value. More... | |
Temporal * | temporal_append_tsequence (Temporal *temp, const TSequence *seq, bool expand) |
Append a sequence at the end of a temporal value. More... | |
char * | temporal_as_hexwkb (const Temporal *temp, uint8_t variant, size_t *size_out) |
Return the WKB representation of a temporal value in hex-encoded ASCII. More... | |
char * | temporal_as_mfjson (const Temporal *temp, bool with_bbox, int flags, int precision, char *srs) |
Return the MF-JSON representation of a temporal value. More... | |
uint8_t * | temporal_as_wkb (const Temporal *temp, uint8_t variant, size_t *size_out) |
Return the WKB representation of a temporal value. More... | |
Temporal * | temporal_at_max (const Temporal *temp) |
Restrict a temporal value to its maximum base value. More... | |
Temporal * | temporal_at_min (const Temporal *temp) |
Restrict a temporal value to its minimum base value. More... | |
Temporal * | temporal_at_period (const Temporal *temp, const Span *p) |
Restrict a temporal value to a period. More... | |
Temporal * | temporal_at_periodset (const Temporal *temp, const SpanSet *ps) |
Restrict a temporal value to a period set. More... | |
Temporal * | temporal_at_timestamp (const Temporal *temp, TimestampTz t) |
Restrict a temporal value to a timestamp. More... | |
Temporal * | temporal_at_timestampset (const Temporal *temp, const Set *ts) |
Restrict a temporal value to a timestamp set. More... | |
int | temporal_cmp (const Temporal *temp1, const Temporal *temp2) |
Return -1, 0, or 1 depending on whether the first temporal value is less than, equal, or greater than the second one. More... | |
Temporal * | temporal_copy (const Temporal *temp) |
Return a copy of a temporal value. More... | |
Temporal * | temporal_delete_period (const Temporal *temp, const Span *p, bool connect) |
Delete a period from a temporal value connecting the instants before and after the given timestamp (if any). More... | |
Temporal * | temporal_delete_periodset (const Temporal *temp, const SpanSet *ps, bool connect) |
Delete a period set from a temporal value connecting the instants before and after the given timestamp (if any). More... | |
Temporal * | temporal_delete_timestamp (const Temporal *temp, TimestampTz t, bool connect) |
Delete a timestamp from a temporal value connecting the instants before and after the given timestamp (if any). More... | |
Temporal * | temporal_delete_timestampset (const Temporal *temp, const Set *ts, bool connect) |
Delete a timestamp set from a temporal value connecting the instants before and after the given timestamp (if any). More... | |
Interval * | temporal_duration (const Temporal *temp, bool boundspan) |
Return the duration of a temporal value. More... | |
double | temporal_dyntimewarp_distance (const Temporal *temp1, const Temporal *temp2) |
Compute the Dynamic Time Warp distance between two temporal values. More... | |
Match * | temporal_dyntimewarp_path (const Temporal *temp1, const Temporal *temp2, int *count) |
Compute the Dynamic Time Warp distance between two temporal values. More... | |
const TInstant * | temporal_end_instant (const Temporal *temp) |
Return the end instant of a temporal value. More... | |
TSequence * | temporal_end_sequence (const Temporal *temp) |
Return the end sequence of a temporal sequence (set). More... | |
TimestampTz | temporal_end_timestamp (const Temporal *temp) |
Return the end timestamp of a temporal value. More... | |
bool | temporal_eq (const Temporal *temp1, const Temporal *temp2) |
Return true if the temporal values are equal. More... | |
Span * | temporal_extent_transfn (Span *p, const Temporal *temp) |
Transition function for temporal extent aggregate of temporal values. More... | |
double | temporal_frechet_distance (const Temporal *temp1, const Temporal *temp2) |
Compute the Frechet distance between two temporal values. More... | |
Match * | temporal_frechet_path (const Temporal *temp1, const Temporal *temp2, int *count) |
Compute the Frechet distance between two temporal values. More... | |
Temporal * | temporal_from_hexwkb (const char *hexwkb) |
Return a temporal value from its HexEWKB representation. More... | |
Temporal * | temporal_from_mfjson (const char *mfjson) |
Return a temporal point from its MF-JSON representation. More... | |
Temporal * | temporal_from_wkb (const uint8_t *wkb, int size) |
Return a temporal value from its Well-Known Binary (WKB) representation. More... | |
bool | temporal_ge (const Temporal *temp1, const Temporal *temp2) |
Return true if the first temporal value is greater than or equal to the second one. More... | |
bool | temporal_gt (const Temporal *temp1, const Temporal *temp2) |
Return true if the first temporal value is greater than the second one. More... | |
uint32 | temporal_hash (const Temporal *temp) |
Return the 32-bit hash value of a temporal value. More... | |
Temporal * | temporal_insert (const Temporal *temp1, const Temporal *temp2, bool connect) |
Insert the second temporal value into the first one. More... | |
const TInstant * | temporal_instant_n (const Temporal *temp, int n) |
Return the n-th instant of a temporal value. More... | |
const TInstant ** | temporal_instants (const Temporal *temp, int *count) |
Return the array of instants of a temporal value. More... | |
char * | temporal_interpolation (const Temporal *temp) |
Return the string representation of the interpolation of a temporal value. More... | |
bool | temporal_le (const Temporal *temp1, const Temporal *temp2) |
Return true if the first temporal value is less than or equal to the second one. More... | |
bool | temporal_lt (const Temporal *temp1, const Temporal *temp2) |
Return true if the first temporal value is less than the second one. More... | |
const TInstant * | temporal_max_instant (const Temporal *temp) |
Return a pointer to the instant with maximum base value of a temporal value. More... | |
size_t | temporal_memory_size (const Temporal *temp) |
Temporal * | temporal_merge (const Temporal *temp1, const Temporal *temp2) |
Merge two temporal values. More... | |
Temporal * | temporal_merge_array (Temporal **temparr, int count) |
Merge an array of temporal values. More... | |
const TInstant * | temporal_min_instant (const Temporal *temp) |
Return a pointer to the instant with minimum base value of a temporal value. More... | |
Temporal * | temporal_minus_max (const Temporal *temp) |
Restrict a temporal value to the complement of its maximum base value. More... | |
Temporal * | temporal_minus_min (const Temporal *temp) |
Restrict a temporal value to the complement of its minimum base value. More... | |
Temporal * | temporal_minus_period (const Temporal *temp, const Span *p) |
Restrict a temporal value to the complement of a period. More... | |
Temporal * | temporal_minus_periodset (const Temporal *temp, const SpanSet *ps) |
Restrict a temporal value to the complement of a period set. More... | |
Temporal * | temporal_minus_timestamp (const Temporal *temp, TimestampTz t) |
Restrict a temporal value to the complement of a timestamp. More... | |
Temporal * | temporal_minus_timestampset (const Temporal *temp, const Set *ts) |
Restrict a temporal value to the complement of a timestamp set. More... | |
bool | temporal_ne (const Temporal *temp1, const Temporal *temp2) |
Return true if the temporal values are different. More... | |
int | temporal_num_instants (const Temporal *temp) |
Return the number of distinct instants of a temporal value. More... | |
int | temporal_num_sequences (const Temporal *temp) |
Return the number of sequences of a temporal sequence (set). More... | |
int | temporal_num_timestamps (const Temporal *temp) |
Return the number of distinct timestamps of a temporal value. More... | |
TSequence ** | temporal_segments (const Temporal *temp, int *count) |
Return the array of segments of a temporal value. More... | |
TSequence * | temporal_sequence_n (const Temporal *temp, int i) |
Return the n-th sequence of a temporal sequence (set). More... | |
TSequence ** | temporal_sequences (const Temporal *temp, int *count) |
Return the array of sequences of a temporal sequence (set). More... | |
Temporal * | temporal_shift (const Temporal *temp, const Interval *shift) |
Temporal * | temporal_shift_tscale (const Temporal *temp, const Interval *shift, const Interval *duration) |
Return a temporal value shifted and/or scaled by the intervals. More... | |
Temporal * | temporal_simplify (const Temporal *temp, double eps_dist, bool synchronized) |
Simplify the temporal float/point using a spatio-temporal extension of the Douglas-Peucker line simplification algorithm. More... | |
const TInstant * | temporal_start_instant (const Temporal *temp) |
Return the start instant of a temporal value. More... | |
TSequence * | temporal_start_sequence (const Temporal *temp) |
Return the start sequence of a temporal sequence (set). More... | |
TimestampTz | temporal_start_timestamp (const Temporal *temp) |
Return the start timestamp of a temporal value. More... | |
Temporal * | temporal_step_to_linear (const Temporal *temp) |
Return a temporal value with continuous base type transformed from step to linear interpolation. More... | |
char * | temporal_subtype (const Temporal *temp) |
Return the string representation of the subtype of a temporal value. More... | |
Temporal * | temporal_tagg_finalfn (SkipList *state) |
Generic final function for aggregating temporal values. More... | |
SkipList * | temporal_tcount_transfn (SkipList *state, const Temporal *temp) |
Generic transition function for temporal aggregation. More... | |
SpanSet * | temporal_time (const Temporal *temp) |
Return the time frame of a temporal value as a period set. More... | |
Temporal ** | temporal_time_split (Temporal *temp, Interval *duration, TimestampTz torigin, int *newcount) |
Split a temporal value into fragments with respect to period buckets. More... | |
bool | temporal_timestamp_n (const Temporal *temp, int n, TimestampTz *result) |
Return the n-th distinct timestamp of a temporal value. More... | |
TimestampTz * | temporal_timestamps (const Temporal *temp, int *count) |
Return the array of distinct timestamps of a temporal value. More... | |
Span * | temporal_to_period (const Temporal *temp) |
Return the bounding period of a temporal value. More... | |
Temporal * | temporal_to_tcontseq (const Temporal *temp) |
Return a temporal value transformed into a temporal sequence with continuous interpolation. More... | |
Temporal * | temporal_to_tdiscseq (const Temporal *temp) |
Return a temporal value transformed into a temporal sequence with discrete interpolation. More... | |
Temporal * | temporal_to_tinstant (const Temporal *temp) |
Return a temporal value transformed into a temporal instant. More... | |
Temporal * | temporal_to_tsequenceset (const Temporal *temp) |
Return a temporal value transformed into a temporal sequence set. More... | |
Temporal * | temporal_tprecision (const Temporal *temp, const Interval *duration, TimestampTz origin) |
Set the precision of a temporal value according to period buckets. More... | |
Temporal * | temporal_tsample (const Temporal *temp, const Interval *duration, TimestampTz origin) |
Sample the temporal value according to period buckets. More... | |
Temporal * | temporal_tscale (const Temporal *temp, const Interval *duration) |
Temporal * | temporal_update (const Temporal *temp1, const Temporal *temp2, bool connect) |
Update the first temporal value with the second one. More... | |
Temporal * | teq_bool_tbool (bool b, const Temporal *temp) |
Temporal comparison operators: #=, #<>, #<, #>, #<=, #>=. More... | |
Temporal * | teq_float_tfloat (double d, const Temporal *temp) |
Return the temporal equality of a float and a temporal float. More... | |
Temporal * | teq_geo_tpoint (const GSERIALIZED *geo, const Temporal *tpoint) |
General functions for temporal points. More... | |
Temporal * | teq_int_tint (int i, const Temporal *temp) |
Return the temporal equality of an integer and a temporal integer. More... | |
Temporal * | teq_point_tgeogpoint (const GSERIALIZED *gs, const Temporal *temp) |
Return the temporal equality of a point and a temporal geographic point. More... | |
Temporal * | teq_point_tgeompoint (const GSERIALIZED *gs, const Temporal *temp) |
Return the temporal equality of a point and a temporal geometric point. More... | |
Temporal * | teq_tbool_bool (const Temporal *temp, bool b) |
Return the temporal equality of a temporal boolean and a boolean. More... | |
Temporal * | teq_temporal_temporal (const Temporal *temp1, const Temporal *temp2) |
Return the temporal equality of the temporal values. More... | |
Temporal * | teq_text_ttext (const text *txt, const Temporal *temp) |
Return the temporal equality of a text and a temporal text. More... | |
Temporal * | teq_tfloat_float (const Temporal *temp, double d) |
Return the temporal equality of a temporal float and a float. More... | |
Temporal * | teq_tgeogpoint_point (const Temporal *temp, const GSERIALIZED *gs) |
Return the temporal equality of a temporal geographic point and a point. More... | |
Temporal * | teq_tgeompoint_point (const Temporal *temp, const GSERIALIZED *gs) |
Return the temporal equality of a temporal geometric point and a point. More... | |
Temporal * | teq_tint_int (const Temporal *temp, int i) |
Return the temporal equality of a temporal integer and an integer. More... | |
Temporal * | teq_tpoint_geo (const Temporal *tpoint, const GSERIALIZED *geo) |
Return the temporal equality of a temporal point and a point. More... | |
Temporal * | teq_ttext_text (const Temporal *temp, const text *txt) |
Return the temporal equality of a temporal text and a text. More... | |
char * | text2cstring (const text *textptr) |
Convert a text value into a C string. More... | |
Temporal * | textcat_text_ttext (const text *txt, const Temporal *temp) |
Temporal text functions: textcat , lower , upper . More... | |
Temporal * | textcat_ttext_text (const Temporal *temp, const text *txt) |
Return the concatenation of a temporal text and a text. More... | |
Temporal * | textcat_ttext_ttext (const Temporal *temp1, const Temporal *temp2) |
Return the concatenation of two temporal text values. More... | |
Set * | textset_agg_transfn (Set *state, const text *txt) |
Transition function for set aggregate of values. More... | |
bool | tfloat_always_eq (const Temporal *temp, double d) |
Return true if a temporal float is always equal to a float. More... | |
bool | tfloat_always_le (const Temporal *temp, double d) |
Return true if a temporal float is always less than or equal to a float. More... | |
bool | tfloat_always_lt (const Temporal *temp, double d) |
Return true if a temporal float is always less than a float. More... | |
Temporal * | tfloat_at_value (const Temporal *temp, double d) |
Restrict a temporal float to a float. More... | |
Temporal * | tfloat_at_values (const Temporal *temp, const Set *set) |
Temporal * | tfloat_degrees (const Temporal *temp) |
Convert a temporal number from radians to degrees. More... | |
Temporal * | tfloat_derivative (const Temporal *temp) |
Return the derivative of a temporal number. More... | |
double | tfloat_end_value (const Temporal *temp) |
Return the end value of a temporal float. More... | |
bool | tfloat_ever_eq (const Temporal *temp, double d) |
Return true if a temporal float is ever equal to a float. More... | |
bool | tfloat_ever_le (const Temporal *temp, double d) |
Return true if a temporal float is ever less than or equal to a float. More... | |
bool | tfloat_ever_lt (const Temporal *temp, double d) |
Return true if a temporal float is ever less than a float. More... | |
Temporal * | tfloat_from_base (double d, const Temporal *temp, interpType interp) |
Construct a temporal float from a float and the time frame of another temporal value. More... | |
Temporal * | tfloat_in (const char *str) |
Return a temporal float from its Well-Known Text (WKT) representation. More... | |
double | tfloat_max_value (const Temporal *temp) |
Return the maximum value of a temporal float. More... | |
double | tfloat_min_value (const Temporal *temp) |
Return the minimum value of a temporal float. More... | |
Temporal * | tfloat_minus_value (const Temporal *temp, double d) |
Restrict a temporal float to the complement of a float. More... | |
Temporal * | tfloat_minus_values (const Temporal *temp, const Set *set) |
char * | tfloat_out (const Temporal *temp, int maxdd) |
Return a temporal float from its Well-Known Text (WKT) representation. More... | |
Temporal * | tfloat_radians (const Temporal *temp) |
Convert a temporal number from degrees to radians. More... | |
SpanSet * | tfloat_spanset (const Temporal *temp) |
Return the base values of a temporal float as an array of spans. More... | |
double | tfloat_start_value (const Temporal *temp) |
Return the start value of a temporal float. More... | |
SkipList * | tfloat_tmax_transfn (SkipList *state, const Temporal *temp) |
Transition function for temporal count of temporal values. More... | |
SkipList * | tfloat_tmin_transfn (SkipList *state, const Temporal *temp) |
Transition function for temporal count of temporal values. More... | |
Temporal * | tfloat_to_tint (const Temporal *temp) |
Cast a temporal float to a temporal integer. More... | |
SkipList * | tfloat_tsum_transfn (SkipList *state, const Temporal *temp) |
Transition function for temporal count of temporal values. More... | |
bool | tfloat_value_at_timestamp (const Temporal *temp, TimestampTz t, bool strict, double *value) |
Return the value of a temporal integer at a timestamp. More... | |
Temporal ** | tfloat_value_split (Temporal *temp, double size, double origin, int *newcount) |
Split a temporal float into fragments with respect to value buckets. More... | |
Temporal ** | tfloat_value_time_split (Temporal *temp, double size, double vorigin, Interval *duration, TimestampTz torigin, int *newcount) |
Split a temporal integer into fragments with respect to value and period buckets. More... | |
double * | tfloat_values (const Temporal *temp, int *count) |
Return the the array of base values of a temporal float. More... | |
TSequence * | tfloatdiscseq_from_base_time (double d, const Set *ts) |
Construct a temporal float discrete sequence from a float and a timestamp set. More... | |
TInstant * | tfloatinst_make (double d, TimestampTz t) |
Construct a temporal instant float from the arguments. More... | |
TSequence * | tfloatseq_from_base (double d, const TSequence *seq, interpType interp) |
Construct a temporal float sequence from a float and the time frame of another temporal sequence. More... | |
TSequence * | tfloatseq_from_base_time (double d, const Span *p, interpType interp) |
Construct a temporal float sequence from a float and a period. More... | |
TSequenceSet * | tfloatseqset_from_base (double d, const TSequenceSet *ss, interpType interp) |
Construct a temporal float sequence set from a float and the time frame of another temporal sequence set. More... | |
TSequenceSet * | tfloatseqset_from_base_time (double d, const SpanSet *ps, interpType interp) |
Construct a temporal float sequence set from a float and a period set. More... | |
Temporal * | tge_float_tfloat (double d, const Temporal *temp) |
Return the temporal greater than or equal to of a float and a temporal float. More... | |
Temporal * | tge_int_tint (int i, const Temporal *temp) |
Return the temporal greater than or equal to of an integer and a temporal integer. More... | |
Temporal * | tge_temporal_temporal (const Temporal *temp1, const Temporal *temp2) |
Return the temporal greater than or equal of the temporal values. More... | |
Temporal * | tge_text_ttext (const text *txt, const Temporal *temp) |
Return the temporal greater than or equal to of a text and a temporal text. More... | |
Temporal * | tge_tfloat_float (const Temporal *temp, double d) |
Return the temporal greater than or equal to of a temporal float and a float. More... | |
Temporal * | tge_tint_int (const Temporal *temp, int i) |
Return the temporal greater than or equal to of a temporal integer and an integer. More... | |
Temporal * | tge_ttext_text (const Temporal *temp, const text *txt) |
Return the temporal greater than or equal to of a temporal text and a text. More... | |
bool | tgeogpoint_always_eq (const Temporal *temp, GSERIALIZED *gs) |
Return true if a temporal geographic point is always equal to a point. More... | |
bool | tgeogpoint_ever_eq (const Temporal *temp, GSERIALIZED *gs) |
Return true if a temporal geographic point is ever equal to a point. More... | |
Temporal * | tgeogpoint_from_base (const GSERIALIZED *gs, const Temporal *temp, interpType interp) |
Construct a temporal geographic point from a point and the time frame of another temporal value. More... | |
Temporal * | tgeogpoint_in (const char *str) |
Return a temporal geographic point from its Well-Known Text (WKT) representation. More... | |
TSequence * | tgeogpointdiscseq_from_base_time (const GSERIALIZED *gs, const Set *ts) |
Construct a temporal geographic point discrete sequence from a point and a timestamp set. More... | |
TInstant * | tgeogpointinst_make (const GSERIALIZED *gs, TimestampTz t) |
Construct a temporal instant geographic point from the arguments. More... | |
TSequence * | tgeogpointseq_from_base (const GSERIALIZED *gs, const TSequence *seq, interpType interp) |
Construct a temporal geographic point sequence from a point and the time frame of another temporal sequence. More... | |
TSequence * | tgeogpointseq_from_base_time (const GSERIALIZED *gs, const Span *p, interpType interp) |
Construct a temporal geographic point sequence from a point and a period. More... | |
TSequenceSet * | tgeogpointseqset_from_base (const GSERIALIZED *gs, const TSequenceSet *ss, interpType interp) |
Construct a temporal geographic point sequence set from a point and the time frame of another temporal sequence set. More... | |
TSequenceSet * | tgeogpointseqset_from_base_time (const GSERIALIZED *gs, const SpanSet *ps, interpType interp) |
Construct a temporal geographic point sequence set from a point and a period set. More... | |
bool | tgeompoint_always_eq (const Temporal *temp, GSERIALIZED *gs) |
Return true if a temporal geometric point is always equal to a point. More... | |
bool | tgeompoint_ever_eq (const Temporal *temp, GSERIALIZED *gs) |
Return true if a temporal geometric point is ever equal to a point. More... | |
Temporal * | tgeompoint_from_base (const GSERIALIZED *gs, const Temporal *temp, interpType interp) |
Construct a temporal geometric point from a point and the time frame of another temporal value. More... | |
Temporal * | tgeompoint_in (const char *str) |
Return a temporal geometric point from its Well-Known Text (WKT) representation. More... | |
Temporal * | tgeompoint_tgeogpoint (const Temporal *temp, bool oper) |
Convert a temporal point to a geometry/geography point. More... | |
TSequence * | tgeompointdiscseq_from_base_time (const GSERIALIZED *gs, const Set *ts) |
Construct a temporal geometric point discrete sequence from a point and a timestamp set. More... | |
TInstant * | tgeompointinst_make (const GSERIALIZED *gs, TimestampTz t) |
Construct a temporal instant geometric point from the arguments. More... | |
TSequence * | tgeompointseq_from_base (const GSERIALIZED *gs, const TSequence *seq, interpType interp) |
Construct a temporal geometric point sequence from a point and the time frame of another temporal sequence. More... | |
TSequence * | tgeompointseq_from_base_time (const GSERIALIZED *gs, const Span *p, interpType interp) |
Construct a temporal geometric point sequence from a point and a period. More... | |
TSequenceSet * | tgeompointseqset_from_base (const GSERIALIZED *gs, const TSequenceSet *ss, interpType interp) |
Construct a temporal geometric point sequence set from a point and the time frame of another temporal sequence set. More... | |
TSequenceSet * | tgeompointseqset_from_base_time (const GSERIALIZED *gs, const SpanSet *ps, interpType interp) |
Construct a temporal geometric point sequence set from a point and a period set. More... | |
Temporal * | tgt_float_tfloat (double d, const Temporal *temp) |
Return the temporal greater than of a float and a temporal float. More... | |
Temporal * | tgt_int_tint (int i, const Temporal *temp) |
Return the temporal greater than of an integer and a temporal integer. More... | |
Temporal * | tgt_temporal_temporal (const Temporal *temp1, const Temporal *temp2) |
Return the temporal greater than of the temporal values. More... | |
Temporal * | tgt_text_ttext (const text *txt, const Temporal *temp) |
Return the temporal greater than of a text and a temporal text. More... | |
Temporal * | tgt_tfloat_float (const Temporal *temp, double d) |
Return the temporal greater than of a temporal float and a float. More... | |
Temporal * | tgt_tint_int (const Temporal *temp, int i) |
Return the temporal greater than of a temporal integer and an integer. More... | |
Temporal * | tgt_ttext_text (const Temporal *temp, const text *txt) |
Return the temporal greater than of a temporal text and a text. More... | |
Span * | timestamp_extent_transfn (Span *p, TimestampTz t) |
Transition function for extent aggregate of base types of spans. More... | |
SkipList * | timestamp_tcount_transfn (SkipList *state, TimestampTz t) |
Transition function for temporal count aggregate of timestamps. More... | |
Span * | timestamp_to_period (TimestampTz t) |
Cast a timestamp as a period. More... | |
SpanSet * | timestamp_to_periodset (TimestampTz t) |
Cast a timestamp as a period set. More... | |
STBox * | timestamp_to_stbox (TimestampTz t) |
Cast a timestamp to a spatiotemporal box. More... | |
TBox * | timestamp_to_tbox (TimestampTz t) |
Cast a timestamp to a temporal box. More... | |
Set * | timestamp_to_tstzset (TimestampTz t) |
Cast a value as a set. More... | |
TimestampTz | timestamp_tprecision (TimestampTz t, const Interval *duration, TimestampTz torigin) |
Operators for span set types. More... | |
Set * | timestamp_tunion_finalfn (SkipList *state) |
Final function for union aggregation of timestamp set values. More... | |
SkipList * | timestamp_tunion_transfn (SkipList *state, TimestampTz t) |
Transition function for tunion aggregate of timestamps. More... | |
TimestampTz | timestamptz_bucket (TimestampTz timestamp, const Interval *duration, TimestampTz origin) |
Return the initial timestamp of the bucket in which a timestamp falls. More... | |
bool | tint_always_eq (const Temporal *temp, int i) |
Return true if a temporal integer is always equal to an integer. More... | |
bool | tint_always_le (const Temporal *temp, int i) |
Return true if a temporal integer is always less than or equal to an integer. More... | |
bool | tint_always_lt (const Temporal *temp, int i) |
Return true if a temporal integer is always less than an integer. More... | |
Temporal * | tint_at_value (const Temporal *temp, int i) |
Restrict a temporal integer to an integer. More... | |
Temporal * | tint_at_values (const Temporal *temp, const Set *set) |
int | tint_end_value (const Temporal *temp) |
Return the end value of a temporal integer. More... | |
bool | tint_ever_eq (const Temporal *temp, int i) |
Return true if a temporal integer is ever equal to an integer. More... | |
bool | tint_ever_le (const Temporal *temp, int i) |
Return true if a temporal integer is ever less than or equal to an integer. More... | |
bool | tint_ever_lt (const Temporal *temp, int i) |
Return true if a temporal integer is ever less than an integer. More... | |
Temporal * | tint_from_base (int i, const Temporal *temp) |
Construct a temporal integer from an integer and the time frame of another temporal value. More... | |
Temporal * | tint_in (const char *str) |
Return a temporal integer from its Well-Known Text (WKT) representation. More... | |
int | tint_max_value (const Temporal *temp) |
Return the maximum value of a temporal integer. More... | |
int | tint_min_value (const Temporal *temp) |
Return the minimum value of a temporal integer. More... | |
Temporal * | tint_minus_value (const Temporal *temp, int i) |
Restrict a temporal integer to the complement of an integer. More... | |
Temporal * | tint_minus_values (const Temporal *temp, const Set *set) |
char * | tint_out (const Temporal *temp) |
Return a temporal integer from its Well-Known Text (WKT) representation. More... | |
int | tint_start_value (const Temporal *temp) |
Return the start value of a temporal integer. More... | |
SkipList * | tint_tmax_transfn (SkipList *state, const Temporal *temp) |
Transition function for temporal count of temporal values. More... | |
SkipList * | tint_tmin_transfn (SkipList *state, const Temporal *temp) |
Transition function for temporal count of temporal values. More... | |
Temporal * | tint_to_tfloat (const Temporal *temp) |
Cast a temporal integer to a temporal float. More... | |
SkipList * | tint_tsum_transfn (SkipList *state, const Temporal *temp) |
Transition function for temporal count of temporal values. More... | |
bool | tint_value_at_timestamp (const Temporal *temp, TimestampTz t, bool strict, int *value) |
Return the value of a temporal integer at a timestamp. More... | |
Temporal ** | tint_value_split (Temporal *temp, int size, int origin, int *newcount) |
Split a temporal integer into fragments with respect to value buckets. More... | |
Temporal ** | tint_value_time_split (Temporal *temp, int size, int vorigin, Interval *duration, TimestampTz torigin, int *newcount) |
Split a temporal integer into fragments with respect to value and period buckets. More... | |
int * | tint_values (const Temporal *temp, int *count) |
Return the the array of base values of a temporal integer. More... | |
TSequence * | tintdiscseq_from_base_time (int i, const Set *ts) |
Construct a temporal integer discrete sequence from an integer and a timestamp set. More... | |
Temporal * | tintersects_tpoint_geo (const Temporal *temp, const GSERIALIZED *geo, bool restr, bool atvalue) |
Return the temporal intersects relationship between a temporal point and a geometry. More... | |
TInstant * | tintinst_make (int i, TimestampTz t) |
Construct a temporal instant integer from the arguments. More... | |
TSequence * | tintseq_from_base (int i, const TSequence *seq) |
Construct a temporal integer sequence from an integer and the time frame of another temporal sequence. More... | |
TSequence * | tintseq_from_base_time (int i, const Span *p) |
Construct a temporal integer sequence from an integer and a period. More... | |
TSequenceSet * | tintseqset_from_base (int i, const TSequenceSet *ss) |
Construct a temporal integer sequence set from an integer and the time frame of another temporal sequence set. More... | |
TSequenceSet * | tintseqset_from_base_time (int i, const SpanSet *ps) |
Construct a temporal integer sequence set from an integer and a period set. More... | |
Temporal * | tle_float_tfloat (double d, const Temporal *temp) |
Return the temporal less than or equal to of a float and a temporal float. More... | |
Temporal * | tle_int_tint (int i, const Temporal *temp) |
Return the temporal less than or equal to of an integer and a temporal integer. More... | |
Temporal * | tle_temporal_temporal (const Temporal *temp1, const Temporal *temp2) |
Return the temporal less than or equal to of the temporal values. More... | |
Temporal * | tle_text_ttext (const text *txt, const Temporal *temp) |
Return the temporal less or equal to than of a text and a temporal text. More... | |
Temporal * | tle_tfloat_float (const Temporal *temp, double d) |
Return the temporal less than or equal to of a temporal float and a float. More... | |
Temporal * | tle_tint_int (const Temporal *temp, int i) |
Return the temporal less than or equal to of a temporal integer and an integer. More... | |
Temporal * | tle_ttext_text (const Temporal *temp, const text *txt) |
Return the temporal less than or equal to of a temporal text and a text. More... | |
Temporal * | tlt_float_tfloat (double d, const Temporal *temp) |
Return the temporal less than of a float and a temporal float. More... | |
Temporal * | tlt_int_tint (int i, const Temporal *temp) |
Return the temporal less than of an integer and a temporal integer. More... | |
Temporal * | tlt_temporal_temporal (const Temporal *temp1, const Temporal *temp2) |
Return the temporal less than of the temporal values. More... | |
Temporal * | tlt_text_ttext (const text *txt, const Temporal *temp) |
Return the temporal less than of a text and a temporal text. More... | |
Temporal * | tlt_tfloat_float (const Temporal *temp, double d) |
Return the temporal less than of a temporal float and a float. More... | |
Temporal * | tlt_tint_int (const Temporal *temp, int i) |
Return the temporal less than of a temporal integer and an integer. More... | |
Temporal * | tlt_ttext_text (const Temporal *temp, const text *txt) |
Return the temporal less than of a temporal text and a text. More... | |
Temporal * | tne_bool_tbool (bool b, const Temporal *temp) |
Return the temporal inequality of a boolean and a temporal boolean. More... | |
Temporal * | tne_float_tfloat (double d, const Temporal *temp) |
Return the temporal inequality of a float and a temporal float. More... | |
Temporal * | tne_geo_tpoint (const GSERIALIZED *geo, const Temporal *tpoint) |
Return the temporal difference of a point and a temporal point. More... | |
Temporal * | tne_int_tint (int i, const Temporal *temp) |
Return the temporal inequality of an integer and a temporal integer. More... | |
Temporal * | tne_point_tgeogpoint (const GSERIALIZED *gs, const Temporal *temp) |
Return the temporal inequality of a point and a temporal geographic point. More... | |
Temporal * | tne_point_tgeompoint (const GSERIALIZED *gs, const Temporal *temp) |
Return the temporal inequality of a point and a temporal geometric point. More... | |
Temporal * | tne_tbool_bool (const Temporal *temp, bool b) |
Return the temporal inequality of a temporal boolean and a boolean. More... | |
Temporal * | tne_temporal_temporal (const Temporal *temp1, const Temporal *temp2) |
Return the temporal inequality of the temporal values. More... | |
Temporal * | tne_text_ttext (const text *txt, const Temporal *temp) |
Return the temporal inequality of a text and a temporal text. More... | |
Temporal * | tne_tfloat_float (const Temporal *temp, double d) |
Return the temporal inequality of a temporal float and a float. More... | |
Temporal * | tne_tgeogpoint_point (const Temporal *temp, const GSERIALIZED *gs) |
Return the temporal inequality of a temporal geographic point and a point. More... | |
Temporal * | tne_tgeompoint_point (const Temporal *temp, const GSERIALIZED *gs) |
Return the temporal inequality of a temporal geometric point and a point. More... | |
Temporal * | tne_tint_int (const Temporal *temp, int i) |
Return the temporal inequality of a temporal integer and an integer. More... | |
Temporal * | tne_tpoint_geo (const Temporal *tpoint, const GSERIALIZED *geo) |
Return the temporal difference of the temporal point and a point. More... | |
Temporal * | tne_ttext_text (const Temporal *temp, const text *txt) |
Return the temporal inequality of a temporal text and a text. More... | |
Temporal * | tnot_tbool (const Temporal *temp) |
Return the boolean not of a temporal boolean. More... | |
Temporal * | tnumber_abs (const Temporal *temp) |
Get the absolute value of a temporal number. More... | |
Temporal * | tnumber_at_span (const Temporal *temp, const Span *span) |
Restrict a temporal value to a span of base values. More... | |
Temporal * | tnumber_at_spanset (const Temporal *temp, const SpanSet *ss) |
Restrict a temporal value to an array of spans of base values. More... | |
Temporal * | tnumber_at_tbox (const Temporal *temp, const TBox *box) |
Restrict a temporal number to a temporal box. More... | |
TBox * | tnumber_extent_transfn (TBox *box, const Temporal *temp) |
Transition function for temporal extent aggregate of temporal numbers. More... | |
double | tnumber_integral (const Temporal *temp) |
Return the integral (area under the curve) of a temporal number. More... | |
Temporal * | tnumber_minus_span (const Temporal *temp, const Span *span) |
Restrict a temporal value to the complement of a span of base values. More... | |
Temporal * | tnumber_minus_spanset (const Temporal *temp, const SpanSet *ss) |
Restrict a temporal value to the complement of an array of spans of base values. More... | |
Temporal * | tnumber_minus_tbox (const Temporal *temp, const TBox *box) |
Restrict a temporal number to the complement of a temporal box. More... | |
Temporal * | tnumber_tavg_finalfn (SkipList *state) |
Final function for temporal average aggregation. More... | |
SkipList * | tnumber_tavg_transfn (SkipList *state, const Temporal *temp) |
Transition function for temporal average of temporal numbers. More... | |
Span * | tnumber_to_span (const Temporal *temp) |
Return the value span of a temporal number. More... | |
TBox * | tnumber_to_tbox (const Temporal *temp) |
Return the bounding box of a temporal number. More... | |
double | tnumber_twavg (const Temporal *temp) |
Return the time-weighted average of a temporal number. More... | |
Temporal * | tor_bool_tbool (bool b, const Temporal *temp) |
Return the boolean or of a boolean and a temporal boolean. More... | |
Temporal * | tor_tbool_bool (const Temporal *temp, bool b) |
Return the boolean or of a temporal boolean and a boolean. More... | |
Temporal * | tor_tbool_tbool (const Temporal *temp1, const Temporal *temp2) |
Return the boolean or of the temporal booleans. More... | |
char * | tpoint_as_ewkt (const Temporal *temp, int maxdd) |
Return the Extended Well-Known Text (EWKT) representation a temporal point. More... | |
char * | tpoint_as_text (const Temporal *temp, int maxdd) |
Return the Well-Known Text (WKT) representation of a temporal point. More... | |
bool | tpoint_AsMVTGeom (const Temporal *temp, const STBox *bounds, int32_t extent, int32_t buffer, bool clip_geom, GSERIALIZED **geom, int64 **timesarr, int *count) |
Transform the temporal point to Mapbox Vector Tile format. More... | |
Temporal * | tpoint_at_geometry (const Temporal *temp, const GSERIALIZED *gs) |
Restrict a temporal point to (the complement of) a geometry. More... | |
Temporal * | tpoint_at_stbox (const Temporal *temp, const STBox *box) |
Restrict a temporal point to a spatiotemporal box. More... | |
Temporal * | tpoint_at_value (const Temporal *temp, GSERIALIZED *gs) |
Restrict a temporal point to a point. More... | |
Temporal * | tpoint_at_values (const Temporal *temp, const Set *set) |
Temporal * | tpoint_azimuth (const Temporal *temp) |
Return the temporal azimuth of a temporal geometry point. More... | |
Temporal * | tpoint_cumulative_length (const Temporal *temp) |
Return the cumulative length traversed by a temporal point. More... | |
GSERIALIZED * | tpoint_end_value (const Temporal *temp) |
Return the end value of a temporal point. More... | |
STBox * | tpoint_expand_space (const Temporal *temp, double d) |
Return the bounding box of a temporal point expanded on the spatial dimension. More... | |
STBox * | tpoint_extent_transfn (STBox *box, const Temporal *temp) |
Transition function for temporal extent aggregation of temporal point values. More... | |
Temporal * | tpoint_get_coord (const Temporal *temp, int coord) |
Get one of the coordinates of a temporal point as a temporal float. More... | |
bool | tpoint_is_simple (const Temporal *temp) |
Return true if a temporal point does not self-intersect. More... | |
double | tpoint_length (const Temporal *temp) |
Return the length traversed by a temporal sequence (set) point. More... | |
Temporal ** | tpoint_make_simple (const Temporal *temp, int *count) |
Split a temporal point into an array of non self-intersecting fragments. More... | |
Temporal * | tpoint_minus_geometry (const Temporal *temp, const GSERIALIZED *gs) |
Restrict a temporal point to (the complement of) a geometry. More... | |
Temporal * | tpoint_minus_stbox (const Temporal *temp, const STBox *box) |
Restrict a temporal point to the complement of a spatiotemporal box. More... | |
Temporal * | tpoint_minus_value (const Temporal *temp, GSERIALIZED *gs) |
Restrict a temporal point to the complement of a point. More... | |
Temporal * | tpoint_minus_values (const Temporal *temp, const Set *set) |
char * | tpoint_out (const Temporal *temp, int maxdd) |
Return a temporal geometric/geographic point from its Well-Known Text (WKT) representation. More... | |
Temporal * | tpoint_set_srid (const Temporal *temp, int32 srid) |
Set the SRID of a temporal point. More... | |
Temporal * | tpoint_speed (const Temporal *temp) |
Return the speed of a temporal point. More... | |
int | tpoint_srid (const Temporal *temp) |
Return the SRID of a temporal point. More... | |
GSERIALIZED * | tpoint_start_value (const Temporal *temp) |
Return the start value of a temporal geometric point. More... | |
STBox * | tpoint_stboxes (const Temporal *temp, int *count) |
Return an array of spatiotemporal boxes from a temporal point. More... | |
bool | tpoint_to_geo_measure (const Temporal *tpoint, const Temporal *measure, bool segmentize, GSERIALIZED **result) |
Construct a geometry/geography with M measure from the temporal point and. More... | |
STBox * | tpoint_to_stbox (const Temporal *temp) |
Return the bounding box of a temporal point. More... | |
GSERIALIZED * | tpoint_trajectory (const Temporal *temp) |
Return the trajectory of a temporal point. More... | |
GSERIALIZED * | tpoint_twcentroid (const Temporal *temp) |
Return the time-weighed centroid of a temporal geometry point. More... | |
bool | tpoint_value_at_timestamp (const Temporal *temp, TimestampTz t, bool strict, GSERIALIZED **value) |
Return the value of a temporal geometric point at a timestamp. More... | |
GSERIALIZED ** | tpoint_values (const Temporal *temp, int *count) |
Return the the array of base values of a temporal geometric point. More... | |
TSequence * | tpointseq_make_coords (const double *xcoords, const double *ycoords, const double *zcoords, const TimestampTz *times, int count, int32 srid, bool geodetic, bool lower_inc, bool upper_inc, interpType interp, bool normalize) |
Construct a temporal sequence from arrays of coordinates, one per dimension, and timestamps. More... | |
TSequence * | tsequence_at_period (const TSequence *seq, const Span *p) |
Restrict a temporal sequence to a period. More... | |
TSequence * | tsequence_make (const TInstant **instants, int count, bool lower_inc, bool upper_inc, interpType interp, bool normalize) |
Construct a temporal sequence from an array of temporal instants. More... | |
TSequence * | tsequence_make_exp (const TInstant **instants, int count, int maxcount, bool lower_inc, bool upper_inc, interpType interp, bool normalize) |
Construct a temporal sequence from an array of temporal instants. More... | |
TSequence * | tsequence_make_free (TInstant **instants, int count, bool lower_inc, bool upper_inc, interpType interp, bool normalize) |
Construct a temporal sequence from an array of temporal instants and free the array and the instants after the creation. More... | |
TSequenceSet * | tsequenceset_make (const TSequence **sequences, int count, bool normalize) |
Construct a temporal sequence set from an array of temporal sequences. More... | |
TSequenceSet * | tsequenceset_make_exp (const TSequence **sequences, int count, int maxcount, bool normalize) |
Construct a temporal sequence set from an array of temporal sequences. More... | |
TSequenceSet * | tsequenceset_make_free (TSequence **sequences, int count, bool normalize) |
Construct a temporal sequence set from an array of temporal sequences and free the array and the sequences after the creation. More... | |
TSequenceSet * | tsequenceset_make_gaps (const TInstant **instants, int count, interpType interp, float maxdist, Interval *maxt) |
Construct a temporal sequence set from an array of temporal instants introducing a gap when two consecutive instants are separated from each other by at least the given distance or the given time interval. More... | |
Set * | tstzset_agg_transfn (Set *state, TimestampTz t) |
Transition function for set aggregate of values. More... | |
int | tstzset_cmp (const Set *ts1, const Set *ts2) |
TimestampTz | tstzset_end_timestamp (const Set *ts) |
Return the end value of a set. More... | |
bool | tstzset_eq (const Set *ts1, const Set *ts2) |
bool | tstzset_ge (const Set *ts1, const Set *ts2) |
bool | tstzset_gt (const Set *ts1, const Set *ts2) |
Set * | tstzset_in (const char *str) |
Return a set from its Well-Known Text (WKT) representation. More... | |
bool | tstzset_le (const Set *ts1, const Set *ts2) |
bool | tstzset_lt (const Set *ts1, const Set *ts2) |
bool | tstzset_ne (const Set *ts1, const Set *ts2) |
int | tstzset_num_timestamps (const Set *ts) |
Set * | tstzset_shift_tscale (const Set *ts, const Interval *shift, const Interval *duration) |
Return a timestamp set uned and/or scaled by the intervals. More... | |
TimestampTz | tstzset_start_timestamp (const Set *ts) |
Return the start value of a set. More... | |
SkipList * | tstzset_tcount_transfn (SkipList *state, const Set *ts) |
Transition function for temporal count aggregate of timestamp sets. More... | |
bool | tstzset_timestamp_n (const Set *ts, int n, TimestampTz *result) |
Return the n-th value of a set. More... | |
TimestampTz * | tstzset_timestamps (const Set *ts) |
Return the array of timestamps of a set. More... | |
SpanSet * | tstzset_to_periodset (const Set *ts) |
STBox * | tstzset_to_stbox (const Set *ts) |
Cast a timestamp set to a spatiotemporal box. More... | |
TBox * | tstzset_to_tbox (const Set *ss) |
SkipList * | tstzset_tunion_transfn (SkipList *state, const Set *ts) |
Transition function for aggregating timestamp sets. More... | |
bool | ttext_always_eq (const Temporal *temp, text *txt) |
Return true if a temporal text is always equal to a text. More... | |
bool | ttext_always_le (const Temporal *temp, text *txt) |
Return true if a temporal text is always less than or equal to a text. More... | |
bool | ttext_always_lt (const Temporal *temp, text *txt) |
Return true if a temporal text is always less than a text. More... | |
Temporal * | ttext_at_value (const Temporal *temp, text *txt) |
Restrict a temporal text to a text. More... | |
Temporal * | ttext_at_values (const Temporal *temp, const Set *set) |
text * | ttext_end_value (const Temporal *temp) |
Return the end value of a temporal text. More... | |
bool | ttext_ever_eq (const Temporal *temp, text *txt) |
Return true if a temporal text is ever equal to a text. More... | |
bool | ttext_ever_le (const Temporal *temp, text *txt) |
Return true if a temporal text is ever less than or equal to a text. More... | |
bool | ttext_ever_lt (const Temporal *temp, text *txt) |
Return true if a temporal text is ever less than a text. More... | |
Temporal * | ttext_from_base (const text *txt, const Temporal *temp) |
Construct a temporal text from a text and the time frame of another temporal value. More... | |
Temporal * | ttext_in (const char *str) |
Return a temporal text from its Well-Known Text (WKT) representation. More... | |
Temporal * | ttext_lower (const Temporal *temp) |
Return a temporal text transformed to lowercase. More... | |
text * | ttext_max_value (const Temporal *temp) |
Return the maximum value of a temporal text. More... | |
text * | ttext_min_value (const Temporal *temp) |
Return the minimum value of a temporal text. More... | |
Temporal * | ttext_minus_value (const Temporal *temp, text *txt) |
Restrict a temporal text to the complement of a text. More... | |
Temporal * | ttext_minus_values (const Temporal *temp, const Set *set) |
char * | ttext_out (const Temporal *temp) |
Return a temporal text from its Well-Known Text (WKT) representation. More... | |
text * | ttext_start_value (const Temporal *temp) |
Return the start value of a temporal text. More... | |
SkipList * | ttext_tmax_transfn (SkipList *state, const Temporal *temp) |
Transition function for temporal max of temporal text values. More... | |
SkipList * | ttext_tmin_transfn (SkipList *state, const Temporal *temp) |
Transition function for temporal min of temporal text values. More... | |
Temporal * | ttext_upper (const Temporal *temp) |
Return a temporal text transformed to uppercase. More... | |
bool | ttext_value_at_timestamp (const Temporal *temp, TimestampTz t, bool strict, text **value) |
Return the value of a temporal integer at a timestamp. More... | |
text ** | ttext_values (const Temporal *temp, int *count) |
Return the the array of base values of a temporal text. More... | |
TSequence * | ttextdiscseq_from_base_time (const text *txt, const Set *ts) |
Construct a temporal text discrete sequence from a text and a timestamp set. More... | |
TInstant * | ttextinst_make (const text *txt, TimestampTz t) |
Construct a temporal instant text from the arguments. More... | |
TSequence * | ttextseq_from_base (const text *txt, const TSequence *seq) |
Construct a temporal text sequence from a text and the time frame of another temporal sequence. More... | |
TSequence * | ttextseq_from_base_time (const text *txt, const Span *p) |
Construct a temporal text sequence from a text and a period. More... | |
TSequenceSet * | ttextseqset_from_base (const text *txt, const TSequenceSet *ss) |
Construct a temporal text sequence set from a text and the time frame of another temporal sequence set. More... | |
TSequenceSet * | ttextseqset_from_base_time (const text *txt, const SpanSet *ps) |
Construct a temporal text sequence set from a text and a period set. More... | |
Temporal * | ttouches_tpoint_geo (const Temporal *temp, const GSERIALIZED *gs, bool restr, bool atvalue) |
Return the temporal touches relationship between a geometry and a temporal point. More... | |
SpanSet * | union_period_timestamp (const Span *p, TimestampTz t) |
Return the union of a period and a timestamp. More... | |
SpanSet * | union_period_timestampset (const Span *p, const Set *ts) |
SpanSet * | union_periodset_timestamp (SpanSet *ps, TimestampTz t) |
Return the union of a period set and a timestamp. More... | |
Set * | union_set_set (const Set *s1, const Set *s2) |
Return the union of two sets. More... | |
SpanSet * | union_span_set (const Span *s, const Set *os) |
SpanSet * | union_span_span (const Span *s1, const Span *s2) |
Return the union of two spans. More... | |
SpanSet * | union_spanset_set (const SpanSet *ss, const Set *s) |
SpanSet * | union_spanset_span (const SpanSet *ss, const Span *s) |
Return the union of a span set and a span. More... | |
SpanSet * | union_spanset_spanset (const SpanSet *ss1, const SpanSet *ss2) |
Return the union of two span sets. More... | |
STBox * | union_stbox_stbox (const STBox *box1, const STBox *box2, bool strict) |
Return the union of the spatiotemporal boxes. More... | |
TBox * | union_tbox_tbox (const TBox *box1, const TBox *box2) |
Return the union of the temporal boxes. More... | |
SpanSet * | union_timestamp_period (TimestampTz t, const Span *p) |
Set * | union_timestamp_timestamp (TimestampTz t1, TimestampTz t2) |
Set * | union_timestamp_timestampset (TimestampTz t, const Set *ts) |
Return the union of a timestamp and a timestamp set. More... | |
SpanSet * | union_timestampset_period (const Set *ts, const Span *p) |
Set * | union_timestampset_timestamp (const Set *ts, const TimestampTz t) |
Return the union of a timestamp set and a timestamp. More... | |