![]() |
MobilityDB 1.3
|
External API of the Mobility Engine Open Source (MEOS) library. More...
Go to the source code of this file.
Data Structures | |
struct | Match |
Struct for storing a similarity match. More... | |
struct | Set |
Structure to represent sets of values. 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 sequence subtype. More... | |
struct | TSequenceSet |
Structure to represent temporal values of sequence set subtype. More... | |
Macros | |
#define | DOUBLE_PAD(size) ( (size) + ((size) % 8 ? (8 - (size) % 8) : 0 ) ) |
Align to double. More... | |
#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)) |
Typedefs | |
typedef void(* | error_handler_fn) (int, int, const char *) |
typedef struct RTree | RTree |
Structure for the in-memory Rtree index. More... | |
Enumerations | |
enum | errorCode { MEOS_SUCCESS = 0 , MEOS_ERR_INTERNAL_ERROR = 1 , MEOS_ERR_INTERNAL_TYPE_ERROR = 2 , MEOS_ERR_VALUE_OUT_OF_RANGE = 3 , MEOS_ERR_DIVISION_BY_ZERO = 4 , MEOS_ERR_MEMORY_ALLOC_ERROR = 5 , MEOS_ERR_AGGREGATION_ERROR = 6 , MEOS_ERR_DIRECTORY_ERROR = 7 , MEOS_ERR_FILE_ERROR = 8 , MEOS_ERR_INVALID_ARG = 10 , MEOS_ERR_INVALID_ARG_TYPE = 11 , MEOS_ERR_INVALID_ARG_VALUE = 12 , MEOS_ERR_FEATURE_NOT_SUPPORTED = 13 , MEOS_ERR_MFJSON_INPUT = 20 , MEOS_ERR_MFJSON_OUTPUT = 21 , MEOS_ERR_TEXT_INPUT = 22 , MEOS_ERR_TEXT_OUTPUT = 23 , MEOS_ERR_WKB_INPUT = 24 , MEOS_ERR_WKB_OUTPUT = 25 , MEOS_ERR_GEOJSON_INPUT = 26 , MEOS_ERR_GEOJSON_OUTPUT = 27 } |
enum | interpType { INTERP_NONE = 0 , DISCRETE = 1 , STEP = 2 , LINEAR = 3 } |
Enumeration that defines the interpolation types used in MEOS. More... | |
enum | tempSubtype { ANYTEMPSUBTYPE = 0 , TINSTANT = 1 , TSEQUENCE = 2 , TSEQUENCESET = 3 } |
Enumeration that defines the temporal subtypes used in MEOS. More... | |
Functions | |
DateADT | add_date_int (DateADT d, int32 days) |
Return the addition of a date and a number of days. More... | |
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) |
Return the temporal addition of an integer and a temporal integer. More... | |
Interval * | add_interval_interval (const Interval *interv1, const Interval *interv2) |
Return the addition of two intervals. More... | |
Temporal * | add_tfloat_float (const Temporal *tnumber, double d) |
Return the temporal addition of a temporal float and a float. More... | |
TimestampTz | add_timestamptz_interval (TimestampTz t, const Interval *interv) |
Return the addition of a timestamp and an interval. 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_numspan_tnumber (const Span *s, const Temporal *temp) |
Return true if a number span and the value span of a temporal number are adjacent. More... | |
bool | adjacent_span_bigint (const Span *s, int64 i) |
Return true if a span and a big integer are adjacent. More... | |
bool | adjacent_span_date (const Span *s, DateADT d) |
Return true if a span and a date are adjacent. More... | |
bool | adjacent_span_float (const Span *s, double d) |
Return true if a span and a float are adjacent. More... | |
bool | adjacent_span_int (const Span *s, int i) |
Return true if a span and an integer are adjacent. More... | |
bool | adjacent_span_span (const Span *s1, const Span *s2) |
Return true if two spans are adjacent. More... | |
bool | adjacent_span_spanset (const Span *s, const SpanSet *ss) |
Return true if a span and a span set are adjacent. More... | |
bool | adjacent_span_timestamptz (const Span *s, TimestampTz t) |
Return true if a span and a timestamptz are adjacent. More... | |
bool | adjacent_spanset_bigint (const SpanSet *ss, int64 i) |
Return true if a span set and a big integer are adjacent. More... | |
bool | adjacent_spanset_date (const SpanSet *ss, DateADT d) |
Return true if a span set and a date are adjacent. More... | |
bool | adjacent_spanset_float (const SpanSet *ss, double d) |
Return true if a span set and a float are adjacent. More... | |
bool | adjacent_spanset_int (const SpanSet *ss, int i) |
Return true if a span set and an integer are adjacent. More... | |
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 two span sets are adjacent. More... | |
bool | adjacent_spanset_timestamptz (const SpanSet *ss, TimestampTz t) |
Return true if a span set and a timestamptz are adjacent. More... | |
bool | adjacent_tbox_tbox (const TBox *box1, const TBox *box2) |
Return true if two temporal boxes are adjacent. More... | |
bool | adjacent_tbox_tnumber (const TBox *box, const Temporal *temp) |
Return true if a temporal box and the bounding box of a temporal number are adjacent. More... | |
bool | adjacent_temporal_temporal (const Temporal *temp1, const Temporal *temp2) |
Return true if the time spans of two temporal values are adjacent. More... | |
bool | adjacent_temporal_tstzspan (const Temporal *temp, const Span *s) |
Return true if the time span of a temporal value and a timestamptz span are adjacent. More... | |
bool | adjacent_tnumber_numspan (const Temporal *temp, const Span *s) |
Return true if the value span of a temporal number and a number span are adjacent. More... | |
bool | adjacent_tnumber_tbox (const Temporal *temp, const TBox *box) |
Return true if the bounding box of a temporal number and a temporal box are adjacent. More... | |
bool | adjacent_tnumber_tnumber (const Temporal *temp1, const Temporal *temp2) |
Return true if the bounding boxes of two temporal numbers are adjacent. More... | |
bool | adjacent_tstzspan_temporal (const Span *s, const Temporal *temp) |
Return true if a timestamptz span and the time span of a temporal value are adjacent. More... | |
bool | after_date_set (DateADT d, const Set *s) |
Return true if a date is after a set. More... | |
bool | after_date_span (DateADT d, const Span *s) |
Return true if a date is after a span. More... | |
bool | after_date_spanset (DateADT d, const SpanSet *ss) |
Return true if a date is after a span set. More... | |
bool | after_set_date (const Set *s, DateADT d) |
Return true if a set is after a date. More... | |
bool | after_set_timestamptz (const Set *s, TimestampTz t) |
Return true if a set is after a timestamptz. More... | |
bool | after_span_date (const Span *s, DateADT d) |
Return true if a span is after a date. More... | |
bool | after_span_timestamptz (const Span *s, TimestampTz t) |
Return true if a span is after a timestamptz. More... | |
bool | after_spanset_date (const SpanSet *ss, DateADT d) |
Return true if a span set is after a date. More... | |
bool | after_spanset_timestamptz (const SpanSet *ss, TimestampTz t) |
Return true if a span set is after a timestamptz. More... | |
bool | after_tbox_tbox (const TBox *box1, const TBox *box2) |
Return true if the first temporal box is after the second one. More... | |
bool | after_tbox_tnumber (const TBox *box, const Temporal *temp) |
Return true if a temporal box is after a temporal number. More... | |
bool | after_temporal_temporal (const Temporal *temp1, const Temporal *temp2) |
Return true if the first temporal value is after the second one. More... | |
bool | after_temporal_tstzspan (const Temporal *temp, const Span *s) |
Return true if a temporal value is after a timestamptz span. More... | |
bool | after_timestamptz_set (TimestampTz t, const Set *s) |
Return true if a timestamptz is after a set. More... | |
bool | after_timestamptz_span (TimestampTz t, const Span *s) |
Return true if a timestamptz is after a span. More... | |
bool | after_timestamptz_spanset (TimestampTz t, const SpanSet *ss) |
Return true if a timestamptz is after a span set. More... | |
bool | after_tnumber_tbox (const Temporal *temp, const TBox *box) |
Return true if a temporal number is after a temporal box. More... | |
bool | after_tnumber_tnumber (const Temporal *temp1, const Temporal *temp2) |
Return true if the first temporal number is after the second one. More... | |
bool | after_tstzspan_temporal (const Span *s, const Temporal *temp) |
Return true if a timestamptz span is after a temporal value. More... | |
int | always_eq_bool_tbool (bool b, const Temporal *temp) |
Return true if a boolean is always equal to a temporal boolean. More... | |
int | always_eq_float_tfloat (double d, const Temporal *temp) |
Return true if a float is always equal to a temporal float. More... | |
int | always_eq_int_tint (int i, const Temporal *temp) |
Return true if an integer is always equal to a temporal integer. More... | |
int | always_eq_tbool_bool (const Temporal *temp, bool b) |
Return true if a temporal boolean is always equal to a boolean. More... | |
int | always_eq_temporal_temporal (const Temporal *temp1, const Temporal *temp2) |
Return true if two temporal values are always equal. More... | |
int | always_eq_text_ttext (const text *txt, const Temporal *temp) |
Return true if a text is always equal to a temporal text. More... | |
int | always_eq_tfloat_float (const Temporal *temp, double d) |
Return true if a temporal float is always equal to a float. More... | |
int | always_eq_tint_int (const Temporal *temp, int i) |
Return true if a temporal integer is always equal to an integer. More... | |
int | always_eq_ttext_text (const Temporal *temp, const text *txt) |
Return true if a temporal text is always equal to a text. More... | |
int | always_ge_float_tfloat (double d, const Temporal *temp) |
Return true if a float is always less than or equal to a float. More... | |
int | always_ge_int_tint (int i, const Temporal *temp) |
Return true if an integer is always less than or equal to an integer. More... | |
int | always_ge_temporal_temporal (const Temporal *temp1, const Temporal *temp2) |
Return true if the first temporal value is always greater than or equal to the second one. More... | |
int | always_ge_text_ttext (const text *txt, const Temporal *temp) |
Return true if a text is always less than or equal to a text. More... | |
int | always_ge_tfloat_float (const Temporal *temp, double d) |
Return true if a temporal float is always less than or equal to a float. More... | |
int | always_ge_tint_int (const Temporal *temp, int i) |
Return true if a temporal integer is always less than or equal to an integer. More... | |
int | always_ge_ttext_text (const Temporal *temp, const text *txt) |
Return true if a temporal text is always less than or equal to a text. More... | |
int | always_gt_float_tfloat (double d, const Temporal *temp) |
Return true if a float is always less than a temporal float. More... | |
int | always_gt_int_tint (int i, const Temporal *temp) |
Return true if an integer is always less than a temporal integer. More... | |
int | always_gt_temporal_temporal (const Temporal *temp1, const Temporal *temp2) |
Return true if the first temporal value is always greater than the second one. More... | |
int | always_gt_text_ttext (const text *txt, const Temporal *temp) |
Return true if a text is always less than a temporal text. More... | |
int | always_gt_tfloat_float (const Temporal *temp, double d) |
Return true if a temporal float is always less than a float. More... | |
int | always_gt_tint_int (const Temporal *temp, int i) |
Return true if a temporal integer is always less than an integer. More... | |
int | always_gt_ttext_text (const Temporal *temp, const text *txt) |
Return true if a temporal text is always less than a text. More... | |
int | always_le_float_tfloat (double d, const Temporal *temp) |
Return true if a float is always less than or equal to a float. More... | |
int | always_le_int_tint (int i, const Temporal *temp) |
Return true if an integer is always less than or equal to an integer. More... | |
int | always_le_temporal_temporal (const Temporal *temp1, const Temporal *temp2) |
Return true if the first temporal value is always less than or equal to the second one. More... | |
int | always_le_text_ttext (const text *txt, const Temporal *temp) |
Return true if a text is always less than or equal to a text. More... | |
int | always_le_tfloat_float (const Temporal *temp, double d) |
Return true if a temporal float is always less than or equal to a float. More... | |
int | always_le_tint_int (const Temporal *temp, int i) |
Return true if a temporal integer is always less than or equal to an integer. More... | |
int | always_le_ttext_text (const Temporal *temp, const text *txt) |
Return true if a temporal text is always less than or equal to a text. More... | |
int | always_lt_float_tfloat (double d, const Temporal *temp) |
Return true if a float is always less than a temporal float. More... | |
int | always_lt_int_tint (int i, const Temporal *temp) |
Return true if an integer is always less than a temporal integer. More... | |
int | always_lt_temporal_temporal (const Temporal *temp1, const Temporal *temp2) |
Return true if the first temporal value is always less than the second one. More... | |
int | always_lt_text_ttext (const text *txt, const Temporal *temp) |
Return true if a text is always less than a temporal text. More... | |
int | always_lt_tfloat_float (const Temporal *temp, double d) |
Return true if a temporal float is always less than a float. More... | |
int | always_lt_tint_int (const Temporal *temp, int i) |
Return true if a temporal integer is always less than an integer. More... | |
int | always_lt_ttext_text (const Temporal *temp, const text *txt) |
Return true if a temporal text is always less than a text. More... | |
int | always_ne_bool_tbool (bool b, const Temporal *temp) |
Return true if a boolean is always different from a temporal boolean. More... | |
int | always_ne_float_tfloat (double d, const Temporal *temp) |
Return true if a float is always different from a temporal float. More... | |
int | always_ne_int_tint (int i, const Temporal *temp) |
Return true if an integer is always different from a temporal integer. More... | |
int | always_ne_tbool_bool (const Temporal *temp, bool b) |
Return true if a temporal boolean is always different from a boolean. More... | |
int | always_ne_temporal_temporal (const Temporal *temp1, const Temporal *temp2) |
Return true if two temporal values are always different. More... | |
int | always_ne_text_ttext (const text *txt, const Temporal *temp) |
Return true if a text is always different from a temporal text. More... | |
int | always_ne_tfloat_float (const Temporal *temp, double d) |
Return true if a temporal float is always different from a float. More... | |
int | always_ne_tint_int (const Temporal *temp, int i) |
Return true if a temporal integer is always different from an integer. More... | |
int | always_ne_ttext_text (const Temporal *temp, const text *txt) |
Return true if a temporal text is always different from a text. More... | |
bool | before_date_set (DateADT d, const Set *s) |
Return true if a date is before a set. More... | |
bool | before_date_span (DateADT d, const Span *s) |
Return true if a date is before a span. More... | |
bool | before_date_spanset (DateADT d, const SpanSet *ss) |
Return true if a date is before a span set. More... | |
bool | before_set_date (const Set *s, DateADT d) |
Return true if a set is before a date. More... | |
bool | before_set_timestamptz (const Set *s, TimestampTz t) |
Return true if a set is before a timestamptz. More... | |
bool | before_span_date (const Span *s, DateADT d) |
Return true if a span is before a date. More... | |
bool | before_span_timestamptz (const Span *s, TimestampTz t) |
Return true if a span is before a timestamptz. More... | |
bool | before_spanset_date (const SpanSet *ss, DateADT d) |
Return true if a span set is before a date. More... | |
bool | before_spanset_timestamptz (const SpanSet *ss, TimestampTz t) |
Return true if a span set is before a timestamptz. More... | |
bool | before_tbox_tbox (const TBox *box1, const TBox *box2) |
Return true if the first temporal box is before the second one. More... | |
bool | before_tbox_tnumber (const TBox *box, const Temporal *temp) |
Return true if a temporal box is before a temporal number. More... | |
bool | before_temporal_temporal (const Temporal *temp1, const Temporal *temp2) |
Return true if the first temporal value is before the second one. More... | |
bool | before_temporal_tstzspan (const Temporal *temp, const Span *s) |
Return true if a temporal value is before a timestamptz span. More... | |
bool | before_timestamptz_set (TimestampTz t, const Set *s) |
Return true if a timestamptz is before a set. More... | |
bool | before_timestamptz_span (TimestampTz t, const Span *s) |
Return true if a timestamptz is before a span. More... | |
bool | before_timestamptz_spanset (TimestampTz t, const SpanSet *ss) |
Return true if a timestamptz is before a span set. More... | |
bool | before_tnumber_tbox (const Temporal *temp, const TBox *box) |
Return true if a temporal number is before a temporal box. More... | |
bool | before_tnumber_tnumber (const Temporal *temp1, const Temporal *temp2) |
Return true if the first temporal number is before the second one. More... | |
bool | before_tstzspan_temporal (const Span *s, const Temporal *temp) |
Return true if a timestamptz span is before a temporal value. More... | |
Span * | bigint_extent_transfn (Span *state, int64 i) |
Transition function for span extent aggregate of big integers. More... | |
int64 | bigint_get_bin (int64 value, int64 vsize, int64 vorigin) |
Return the initial value of the bin that contains an integer. More... | |
Set * | bigint_to_set (int64 i) |
Convert a big integer into a set. More... | |
Span * | bigint_to_span (int i) |
Convert a big integer into a span. More... | |
SpanSet * | bigint_to_spanset (int i) |
Convert a big integer into a span set. More... | |
Set * | bigint_union_transfn (Set *state, int64 i) |
Transition function for set union aggregate of big integers. More... | |
int64 | bigintset_end_value (const Set *s) |
Return the end value of a big integer set. More... | |
Set * | bigintset_in (const char *str) |
Return a set from its Well-Known Text (WKT) representation. More... | |
Set * | bigintset_make (const int64 *values, int count) |
Return a big integer set from an array of values. More... | |
char * | bigintset_out (const Set *set) |
Return the string representation of a big integer set. More... | |
Set * | bigintset_shift_scale (const Set *s, int64 shift, int64 width, bool hasshift, bool haswidth) |
Return a big integer set shifted and/or scaled by two values. More... | |
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 in the last argument 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_bins (const Span *s, int64 vsize, int64 vorigin, int *count) |
Return the bins of a big integer span. More... | |
Span * | bigintspan_in (const char *str) |
Return an integer span from its Well-Known Text (WKT) representation. More... | |
int64 | 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) |
Return a big integer span from the bounds. More... | |
char * | bigintspan_out (const Span *s) |
Return the Well-Known Text (WKT) representation of a big integer span. More... | |
Span * | bigintspan_shift_scale (const Span *s, int64 shift, int64 width, bool hasshift, bool haswidth) |
Return a big integer span shifted and/or scaled by the values. More... | |
int64 | bigintspan_upper (const Span *s) |
Return the upper bound of an integer span. More... | |
int64 | bigintspan_width (const Span *s) |
Return the width of a big integer span. More... | |
Span * | bigintspanset_bins (const SpanSet *ss, int64 vsize, int64 vorigin, int *count) |
Return the bins of a big integer span set. More... | |
SpanSet * | bigintspanset_in (const char *str) |
Return a big integer span from its Well-Known Text (WKT) representation. More... | |
int64 | bigintspanset_lower (const SpanSet *ss) |
Return the lower bound of an integer span set. More... | |
char * | bigintspanset_out (const SpanSet *ss) |
Return the Well-Known Text (WKT) representation of a big integer span set. More... | |
SpanSet * | bigintspanset_shift_scale (const SpanSet *ss, int64 shift, int64 width, bool hasshift, bool haswidth) |
Return a big integer span shifted and/or scaled by two values. More... | |
int64 | bigintspanset_upper (const SpanSet *ss) |
Return the upper bound of an integer span set. More... | |
int64 | bigintspanset_width (const SpanSet *ss, bool boundspan) |
Return the width of an integer span set. More... | |
bool | bool_in (const char *str) |
Return a boolean from its string representation. More... | |
char * | bool_out (bool b) |
Return the string representation of a boolean. More... | |
bool | contained_bigint_set (int64 i, const Set *s) |
Return true if a big integer is contained in a set. More... | |
bool | contained_bigint_span (int64 i, const Span *s) |
Return true if a big integer is contained in a span. More... | |
bool | contained_bigint_spanset (int64 i, const SpanSet *ss) |
Return true if a big integer is contained in a span set. More... | |
bool | contained_date_set (DateADT d, const Set *s) |
Return true if a date is contained in a set. More... | |
bool | contained_date_span (DateADT d, const Span *s) |
Return true if a date is contained in a span. More... | |
bool | contained_date_spanset (DateADT d, const SpanSet *ss) |
Return true if a date is contained in a span set. More... | |
bool | contained_float_set (double d, const Set *s) |
Return true if a float is contained in a set. More... | |
bool | contained_float_span (double d, const Span *s) |
Return true if a float is contained in a span. More... | |
bool | contained_float_spanset (double d, const SpanSet *ss) |
Return true if a float is contained in a span set. More... | |
bool | contained_int_set (int i, const Set *s) |
Return true if an integer is contained in a set. More... | |
bool | contained_int_span (int i, const Span *s) |
Return true if an integer is contained in a span. More... | |
bool | contained_int_spanset (int i, const SpanSet *ss) |
Return true if an integer is contained in a span set. More... | |
bool | contained_numspan_tnumber (const Span *s, const Temporal *temp) |
Return true if a number span is contained in the value span of a temporal number. More... | |
bool | contained_set_set (const Set *s1, const Set *s2) |
Return true if the first set is contained in the second one. More... | |
bool | contained_span_span (const Span *s1, const Span *s2) |
Return true if the first span is contained in the second one. More... | |
bool | contained_span_spanset (const Span *s, const SpanSet *ss) |
Return true if a span is contained in a span set. More... | |
bool | contained_spanset_span (const SpanSet *ss, const Span *s) |
Return true if a span set is contained in a span set. More... | |
bool | contained_spanset_spanset (const SpanSet *ss1, const SpanSet *ss2) |
Return true if the first span set is contained in the second one. More... | |
bool | contained_tbox_tbox (const TBox *box1, const TBox *box2) |
Return true if the first temporal box is contained in the second one. More... | |
bool | contained_tbox_tnumber (const TBox *box, const Temporal *temp) |
Return true if a temporal box is contained in the bounding box of a temporal number. More... | |
bool | contained_temporal_temporal (const Temporal *temp1, const Temporal *temp2) |
Return true if the time span of the first temporal value is contained in the one of the second temporal value. More... | |
bool | contained_temporal_tstzspan (const Temporal *temp, const Span *s) |
Return true if the time span of a temporal value is contained in a timestamptz span. More... | |
bool | contained_text_set (const text *txt, const Set *s) |
Return true if a text is contained in a set. More... | |
bool | contained_timestamptz_set (TimestampTz t, const Set *s) |
Return true if a timestamptz is contained in a set. More... | |
bool | contained_timestamptz_span (TimestampTz t, const Span *s) |
Return true if a timestamp is contained in a span. More... | |
bool | contained_timestamptz_spanset (TimestampTz t, const SpanSet *ss) |
Return true if a timestamptz is contained in a span set. More... | |
bool | contained_tnumber_numspan (const Temporal *temp, const Span *s) |
Return true if the value span of a temporal number is contained in a number span. More... | |
bool | contained_tnumber_tbox (const Temporal *temp, const TBox *box) |
Return true if the bounding box of a temporal number is contained in a temporal box. More... | |
bool | contained_tnumber_tnumber (const Temporal *temp1, const Temporal *temp2) |
Return true if the bounding box of the first temporal number is contained in the one of the second temporal number. More... | |
bool | contained_tstzspan_temporal (const Span *s, const Temporal *temp) |
Return true if a timestamptz span is contained the time span of a temporal value. More... | |
bool | contains_numspan_tnumber (const Span *s, const Temporal *temp) |
Return true if a number span contains the value span of a temporal number. More... | |
bool | contains_set_bigint (const Set *s, int64 i) |
Return true if a set contains a big integer. More... | |
bool | contains_set_date (const Set *s, DateADT d) |
Return true if a set contains a date. More... | |
bool | contains_set_float (const Set *s, double d) |
Return true if a set contains a float. More... | |
bool | contains_set_int (const Set *s, int i) |
Return true if a set contains an integer. More... | |
bool | contains_set_set (const Set *s1, const Set *s2) |
Return true if the first set contains the second one. More... | |
bool | contains_set_text (const Set *s, text *t) |
Return true if a set contains a text. More... | |
bool | contains_set_timestamptz (const Set *s, TimestampTz t) |
Return true if a set contains a timestamptz. More... | |
bool | contains_span_bigint (const Span *s, int64 i) |
Return true if a span contains a big integer. More... | |
bool | contains_span_date (const Span *s, DateADT d) |
Return true if a span contains a date. More... | |
bool | contains_span_float (const Span *s, double d) |
Return true if a span contains a float. More... | |
bool | contains_span_int (const Span *s, int i) |
Return true if a span contains an integer. More... | |
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_timestamptz (const Span *s, TimestampTz t) |
Return true if a span contains a timestamptz. More... | |
bool | contains_spanset_bigint (const SpanSet *ss, int64 i) |
Return true if a span set contains a big integer. More... | |
bool | contains_spanset_date (const SpanSet *ss, DateADT d) |
Return true if a span set contains a date. More... | |
bool | contains_spanset_float (const SpanSet *ss, double d) |
Return true if a span set contains a float. More... | |
bool | contains_spanset_int (const SpanSet *ss, int i) |
Return true if a span set contains an integer. More... | |
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_spanset_timestamptz (const SpanSet *ss, TimestampTz t) |
Return true if a span set contains a timestamptz. More... | |
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 *box, const Temporal *temp) |
Return true if a temporal box contains the bounding box of a temporal number. More... | |
bool | contains_temporal_temporal (const Temporal *temp1, const Temporal *temp2) |
Return true if the time span of the first temporal value contains the one of the second one. More... | |
bool | contains_temporal_tstzspan (const Temporal *temp, const Span *s) |
Return true if the time span of a temporal value contains a timestamptz span. More... | |
bool | contains_tnumber_numspan (const Temporal *temp, const Span *s) |
Return true if the value span of a temporal number contains a number span. More... | |
bool | contains_tnumber_tbox (const Temporal *temp, const TBox *box) |
Return true if the bounding box of a temporal number contains a temporal box. More... | |
bool | contains_tnumber_tnumber (const Temporal *temp1, const Temporal *temp2) |
Return true if the bounding box of the first temporal number contains the one of the second temporal number. More... | |
bool | contains_tstzspan_temporal (const Span *s, const Temporal *temp) |
Return true if a timestamptz span contains the time span of a temporal value. More... | |
text * | cstring2text (const char *str) |
Convert a C string into a text. More... | |
Span * | date_extent_transfn (Span *state, DateADT d) |
Transition function for span extent aggregate of dates. More... | |
DateADT | date_get_bin (DateADT d, const Interval *duration, DateADT torigin) |
Return the initial date of the bin that contains a date. More... | |
Set * | date_to_set (DateADT d) |
Convert a date into a set. More... | |
Span * | date_to_span (DateADT d) |
Convert a date into a span. More... | |
SpanSet * | date_to_spanset (DateADT d) |
Convert a date into a span set. More... | |
Timestamp | date_to_timestamp (DateADT dateVal) |
Convert a date into a timestamp. More... | |
TimestampTz | date_to_timestamptz (DateADT d) |
Convert a date into a timestamptz. More... | |
Set * | date_union_transfn (Set *state, DateADT d) |
Transition function for set union aggregate of dates. More... | |
DateADT | dateset_end_value (const Set *s) |
Return the end value of a date set. More... | |
Set * | dateset_in (const char *str) |
Return a set from its Well-Known Text (WKT) representation. More... | |
Set * | dateset_make (const DateADT *values, int count) |
Return a date set from an array of values. More... | |
char * | dateset_out (const Set *s) |
Return the string representation of a date set. More... | |
Set * | dateset_shift_scale (const Set *s, int shift, int width, bool hasshift, bool haswidth) |
Return a date set shifted and/or scaled by two values. More... | |
DateADT | dateset_start_value (const Set *s) |
Return the start value of a date set. More... | |
Set * | dateset_to_tstzset (const Set *s) |
Convert a date set into a timestamptz set. More... | |
bool | dateset_value_n (const Set *s, int n, DateADT *result) |
Return in the last argument the n-th value of a date set. More... | |
DateADT * | dateset_values (const Set *s) |
Return the array of values of a date set. More... | |
Span * | datespan_bins (const Span *s, const Interval *duration, DateADT torigin, int *count) |
Return the bins of a date span. More... | |
Interval * | datespan_duration (const Span *s) |
Return the duration of a date span as an interval. More... | |
Span * | datespan_in (const char *str) |
Return a date span from its Well-Known Text (WKT) representation. More... | |
DateADT | datespan_lower (const Span *s) |
Return the lower bound of a date span. More... | |
Span * | datespan_make (DateADT lower, DateADT upper, bool lower_inc, bool upper_inc) |
Return a date span from the bounds. More... | |
char * | datespan_out (const Span *s) |
Return the Well-Known Text (WKT) representation of a date span. More... | |
Span * | datespan_shift_scale (const Span *s, int shift, int width, bool hasshift, bool haswidth) |
Return a date span shifted and/or scaled by the values. More... | |
Span * | datespan_to_tstzspan (const Span *s) |
Convert a date span into a timestamptz span. More... | |
DateADT | datespan_upper (const Span *s) |
Return the upper bound of a date span. More... | |
Span * | datespanset_bins (const SpanSet *ss, const Interval *duration, DateADT torigin, int *count) |
Return the bins of a date span set. More... | |
bool | datespanset_date_n (const SpanSet *ss, int n, DateADT *result) |
Return in the last argument the n-th date of a date span set. More... | |
Set * | datespanset_dates (const SpanSet *ss) |
Return the set of dates of a span set. More... | |
Interval * | datespanset_duration (const SpanSet *ss, bool boundspan) |
Return the duration of a date span set. More... | |
DateADT | datespanset_end_date (const SpanSet *ss) |
Return the end date of a span set. More... | |
SpanSet * | datespanset_in (const char *str) |
Return a date set from its Well-Known Text (WKT) representation. More... | |
int | datespanset_num_dates (const SpanSet *ss) |
Return the number of dates of a span set. More... | |
char * | datespanset_out (const SpanSet *ss) |
Return the Well-Known Text (WKT) representation of a date span set. More... | |
SpanSet * | datespanset_shift_scale (const SpanSet *ss, int shift, int width, bool hasshift, bool haswidth) |
Return a date span shifted and/or scaled by two values. More... | |
DateADT | datespanset_start_date (const SpanSet *ss) |
Return the start date of a span set. More... | |
SpanSet * | datespanset_to_tstzspanset (const SpanSet *ss) |
Convert a date span set into a timestamptz span set. More... | |
int64 | distance_bigintset_bigintset (const Set *s1, const Set *s2) |
Return the distance between two big integer sets. More... | |
int64 | distance_bigintspan_bigintspan (const Span *s1, const Span *s2) |
Return the distance between two big integer spans. More... | |
int64 | distance_bigintspanset_bigintspan (const SpanSet *ss, const Span *s) |
Return the distance between a big integer span set and a span. More... | |
int64 | distance_bigintspanset_bigintspanset (const SpanSet *ss1, const SpanSet *ss2) |
Return the distance between two big integer span sets. More... | |
int | distance_dateset_dateset (const Set *s1, const Set *s2) |
Return the distance in days between two date sets. More... | |
int | distance_datespan_datespan (const Span *s1, const Span *s2) |
Return the distance between two date spans. More... | |
int | distance_datespanset_datespan (const SpanSet *ss, const Span *s) |
Return the distance in days between a date span set and a span. More... | |
int | distance_datespanset_datespanset (const SpanSet *ss1, const SpanSet *ss2) |
Return the distance in days between two date span sets. More... | |
double | distance_floatset_floatset (const Set *s1, const Set *s2) |
Return the distance between two float sets. More... | |
double | distance_floatspan_floatspan (const Span *s1, const Span *s2) |
Return the distance between two float spans. More... | |
double | distance_floatspanset_floatspan (const SpanSet *ss, const Span *s) |
Return the distance between a float span set and a span. More... | |
double | distance_floatspanset_floatspanset (const SpanSet *ss1, const SpanSet *ss2) |
Return the distance between two float span sets. More... | |
int | distance_intset_intset (const Set *s1, const Set *s2) |
Return the distance between two integer sets. More... | |
int | distance_intspan_intspan (const Span *s1, const Span *s2) |
Return the distance between two integer spans. More... | |
int | distance_intspanset_intspan (const SpanSet *ss, const Span *s) |
Return the distance between an integer span set and a span. More... | |
int | distance_intspanset_intspanset (const SpanSet *ss1, const SpanSet *ss2) |
Return the distance between two integer span sets. More... | |
int64 | distance_set_bigint (const Set *s, int64 i) |
Return the distance between a set and a big integer. More... | |
int | distance_set_date (const Set *s, DateADT d) |
Return the distance in days between a set and a date. More... | |
double | distance_set_float (const Set *s, double d) |
Return the distance between a set and a float. More... | |
int | distance_set_int (const Set *s, int i) |
Return the distance between a set and an integer. More... | |
double | distance_set_timestamptz (const Set *s, TimestampTz t) |
Return the distance in seconds between a set and a timestamptz as a double. More... | |
int64 | distance_span_bigint (const Span *s, int64 i) |
Return the distance between a span and a big integer as a double. More... | |
int | distance_span_date (const Span *s, DateADT d) |
Return the distance in days between a span and a date as a double. More... | |
double | distance_span_float (const Span *s, double d) |
Return the distance between a span and a float. More... | |
int | distance_span_int (const Span *s, int i) |
Return the distance between a span and an integer as a double. More... | |
double | distance_span_timestamptz (const Span *s, TimestampTz t) |
Return the distance in seconds between a span and a timestamptz as a double. More... | |
int64 | distance_spanset_bigint (const SpanSet *ss, int64 i) |
Return the distance between a span set and a big integer. More... | |
int | distance_spanset_date (const SpanSet *ss, DateADT d) |
Return the distance in seconds between a span set and a date as a double. More... | |
double | distance_spanset_float (const SpanSet *ss, double d) |
Return the distance between a span set and a float. More... | |
int | distance_spanset_int (const SpanSet *ss, int i) |
Return the distance between a span set and an integer. More... | |
double | distance_spanset_timestamptz (const SpanSet *ss, TimestampTz t) |
Return the distance in seconds between a span set and a timestamptz. More... | |
Temporal * | distance_tfloat_float (const Temporal *temp, double d) |
Return the temporal distance between a temporal float and a float. More... | |
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... | |
double | distance_tstzset_tstzset (const Set *s1, const Set *s2) |
Return the distance in seconds between two timestamptz sets. More... | |
double | distance_tstzspan_tstzspan (const Span *s1, const Span *s2) |
Return the distance in seconds between two timestamptz spans. More... | |
double | distance_tstzspanset_tstzspan (const SpanSet *ss, const Span *s) |
Return the distance in seconds between a timestamptz span set and a span. More... | |
double | distance_tstzspanset_tstzspanset (const SpanSet *ss1, const SpanSet *ss2) |
Return the distance in seconds between two timestamptz span sets. More... | |
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 | ever_eq_bool_tbool (bool b, const Temporal *temp) |
Return true if a boolean is ever equal to a temporal boolean. More... | |
int | ever_eq_float_tfloat (double d, const Temporal *temp) |
Return true if a float is ever equal to a temporal float. More... | |
int | ever_eq_int_tint (int i, const Temporal *temp) |
Return true if an integer is ever equal to a temporal integer. More... | |
int | ever_eq_tbool_bool (const Temporal *temp, bool b) |
Return true if a temporal boolean is ever equal to a boolean. More... | |
int | ever_eq_temporal_temporal (const Temporal *temp1, const Temporal *temp2) |
Return true if two temporal values are ever equal. More... | |
int | ever_eq_text_ttext (const text *txt, const Temporal *temp) |
Return true if a text is ever equal to a temporal text. More... | |
int | ever_eq_tfloat_float (const Temporal *temp, double d) |
Return true if a temporal float is ever equal to a float. More... | |
int | ever_eq_tint_int (const Temporal *temp, int i) |
Return true if a temporal integer is ever equal to an integer. More... | |
int | ever_eq_ttext_text (const Temporal *temp, const text *txt) |
Return true if a temporal text is ever equal to a text. More... | |
int | ever_ge_float_tfloat (double d, const Temporal *temp) |
Return true if a float is ever less than or equal to a float. More... | |
int | ever_ge_int_tint (int i, const Temporal *temp) |
Return true if an integer is ever less than or equal to an integer. More... | |
int | ever_ge_temporal_temporal (const Temporal *temp1, const Temporal *temp2) |
Return true if the first temporal value is ever greater than or equal to the second one. More... | |
int | ever_ge_text_ttext (const text *txt, const Temporal *temp) |
Return true if a text is ever less than or equal to a text. More... | |
int | ever_ge_tfloat_float (const Temporal *temp, double d) |
Return true if a temporal float is ever less than or equal to a float. More... | |
int | ever_ge_tint_int (const Temporal *temp, int i) |
Return true if a temporal integer is ever less than or equal to an integer. More... | |
int | ever_ge_ttext_text (const Temporal *temp, const text *txt) |
Return true if a temporal text is ever less than or equal to a text. More... | |
int | ever_gt_float_tfloat (double d, const Temporal *temp) |
Return true if a float is ever less than a temporal float. More... | |
int | ever_gt_int_tint (int i, const Temporal *temp) |
Return true if an integer is ever less than a temporal integer. More... | |
int | ever_gt_temporal_temporal (const Temporal *temp1, const Temporal *temp2) |
Return true if the first temporal boolean is ever greater than the second one. More... | |
int | ever_gt_text_ttext (const text *txt, const Temporal *temp) |
Return true if a text is ever less than a temporal text. More... | |
int | ever_gt_tfloat_float (const Temporal *temp, double d) |
Return true if a temporal float is ever less than a float. More... | |
int | ever_gt_tint_int (const Temporal *temp, int i) |
Return true if a temporal integer is ever less than an integer. More... | |
int | ever_gt_ttext_text (const Temporal *temp, const text *txt) |
Return true if a temporal text is ever less than a text. More... | |
int | ever_le_float_tfloat (double d, const Temporal *temp) |
Return true if a float is ever less than or equal to a float. More... | |
int | ever_le_int_tint (int i, const Temporal *temp) |
Return true if an integer is ever less than or equal to an integer. More... | |
int | ever_le_temporal_temporal (const Temporal *temp1, const Temporal *temp2) |
Return true if the first temporal boolean is ever less than or equal to the second one. More... | |
int | ever_le_text_ttext (const text *txt, const Temporal *temp) |
Return true if a text is ever less than or equal to a text. More... | |
int | ever_le_tfloat_float (const Temporal *temp, double d) |
Return true if a temporal float is ever less than or equal to a float. More... | |
int | ever_le_tint_int (const Temporal *temp, int i) |
Return true if a temporal integer is ever less than or equal to an integer. More... | |
int | ever_le_ttext_text (const Temporal *temp, const text *txt) |
Return true if a temporal text is ever less than or equal to a text. More... | |
int | ever_lt_float_tfloat (double d, const Temporal *temp) |
Return true if a float is ever less than a temporal float. More... | |
int | ever_lt_int_tint (int i, const Temporal *temp) |
Return true if an integer is ever less than a temporal integer. More... | |
int | ever_lt_temporal_temporal (const Temporal *temp1, const Temporal *temp2) |
Return true if the first temporal boolean is ever less than the second one. More... | |
int | ever_lt_text_ttext (const text *txt, const Temporal *temp) |
Return true if a text is ever less than a temporal text. More... | |
int | ever_lt_tfloat_float (const Temporal *temp, double d) |
Return true if a temporal float is ever less than a float. More... | |
int | ever_lt_tint_int (const Temporal *temp, int i) |
Return true if a temporal integer is ever less than an integer. More... | |
int | ever_lt_ttext_text (const Temporal *temp, const text *txt) |
Return true if a temporal text is ever less than a text. More... | |
int | ever_ne_bool_tbool (bool b, const Temporal *temp) |
Return true if a boolean is ever different from a temporal boolean. More... | |
int | ever_ne_float_tfloat (double d, const Temporal *temp) |
Return true if a float is ever different from a temporal float. More... | |
int | ever_ne_int_tint (int i, const Temporal *temp) |
Return true if an integer is ever different from a temporal integer. More... | |
int | ever_ne_tbool_bool (const Temporal *temp, bool b) |
Return true if a temporal boolean is ever different from a boolean. More... | |
int | ever_ne_temporal_temporal (const Temporal *temp1, const Temporal *temp2) |
Return true if two temporal values are ever different. More... | |
int | ever_ne_text_ttext (const text *txt, const Temporal *temp) |
Return true if a text is ever different from a temporal text. More... | |
int | ever_ne_tfloat_float (const Temporal *temp, double d) |
Return true if a temporal float is ever different from a float. More... | |
int | ever_ne_tint_int (const Temporal *temp, int i) |
Return true if a temporal integer is ever different from an integer. More... | |
int | ever_ne_ttext_text (const Temporal *temp, const text *txt) |
Return true if a temporal text is ever different from a text. More... | |
double | float_degrees (double value, bool normalize) |
Return a float converted from radians to degrees. More... | |
double | float_exp (double d) |
Return the exponential of a double. More... | |
Span * | float_extent_transfn (Span *state, double d) |
Transition function for span extent aggregate of floats. More... | |
double | float_get_bin (double value, double vsize, double vorigin) |
Return the initial value of the bin that contains a float. More... | |
double | float_ln (double d) |
Return the natural logarithm of a double. More... | |
double | float_log10 (double d) |
Return the logarithm base 10 of a double. More... | |
double | float_round (double d, int maxdd) |
Return a float number rounded to a given number of decimal places. More... | |
TBox * | float_timestamptz_to_tbox (double d, TimestampTz t) |
Return a temporal box from a float and a timestamptz. More... | |
Set * | float_to_set (double d) |
Convert a float into a set. More... | |
Span * | float_to_span (double d) |
Convert a float into a span. More... | |
SpanSet * | float_to_spanset (double d) |
Convert a float into a span set. More... | |
TBox * | float_to_tbox (double d) |
Convert a float into a temporal box. More... | |
TBox * | float_tstzspan_to_tbox (double d, const Span *s) |
Return a temporal box from a float and a timestamptz span. More... | |
Set * | float_union_transfn (Set *state, double d) |
Transition function for set union aggregate of floats. More... | |
Set * | floatset_ceil (const Set *s) |
Return a float set rounded up to the nearest integer @csqlfn Floatset_ceil() More... | |
Set * | floatset_degrees (const Set *s, bool normalize) |
Convert a float set with the values into degrees. More... | |
double | floatset_end_value (const Set *s) |
Return the end value of a float set. More... | |
Set * | floatset_floor (const Set *s) |
Return a float set rounded down to the nearest integer @csqlfn Floatset_floor() More... | |
Set * | floatset_in (const char *str) |
Return a set from its Well-Known Text (WKT) representation. More... | |
Set * | floatset_make (const double *values, int count) |
Return a float set from an array of values. More... | |
char * | floatset_out (const Set *set, int maxdd) |
Return the string representation of a float set. More... | |
Set * | floatset_radians (const Set *s) |
Convert a float set with the values into radians. More... | |
Set * | floatset_shift_scale (const Set *s, double shift, double width, bool hasshift, bool haswidth) |
Return a float set shifted and/or scaled by two values. More... | |
double | floatset_start_value (const Set *s) |
Return the start value of a float set. More... | |
Set * | floatset_to_intset (const Set *s) |
Convert a float set into an integer set. More... | |
bool | floatset_value_n (const Set *s, int n, double *result) |
Return in the last argument 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_bins (const Span *s, double vsize, double vorigin, int *count) |
Return the bins of a float span. More... | |
Span * | floatspan_ceil (const Span *s) |
Return a float span rounded up to the nearest integer @csqlfn Floatspan_ceil() More... | |
Span * | floatspan_degrees (const Span *s, bool normalize) |
Return a float span with the values converted to degrees. More... | |
Span * | floatspan_floor (const Span *s) |
Return a float span rounded down to the nearest integer @csqlfn Floatspan_floor() 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) |
Return a float span from the bounds. More... | |
char * | floatspan_out (const Span *s, int maxdd) |
Return the Well-Known Text (WKT) representation of a float span. More... | |
Span * | floatspan_radians (const Span *s) |
Return a float span with the values converted to radians. More... | |
Span * | floatspan_round (const Span *s, int maxdd) |
Return a float span with the precision of the bounds set to a number of decimal places. More... | |
Span * | floatspan_shift_scale (const Span *s, double shift, double width, bool hasshift, bool haswidth) |
Return a float span shifted and/or scaled by the values. More... | |
Span * | floatspan_to_intspan (const Span *s) |
Convert a float span into an integer span. More... | |
double | floatspan_upper (const Span *s) |
Return the upper bound of a float span. More... | |
double | floatspan_width (const Span *s) |
Return the width of a float span. More... | |
Span * | floatspanset_bins (const SpanSet *ss, double vsize, double vorigin, int *count) |
Return the bins of a float span set. More... | |
SpanSet * | floatspanset_ceil (const SpanSet *ss) |
Return a float span set rounded up to the nearest integer. More... | |
SpanSet * | floatspanset_degrees (const SpanSet *ss, bool normalize) |
Return a float span set with the values converted to degrees. More... | |
SpanSet * | floatspanset_floor (const SpanSet *ss) |
Return a float span set rounded down to the nearest integer. 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 float span set. More... | |
SpanSet * | floatspanset_radians (const SpanSet *ss) |
Return a float span set with the values converted to radians. More... | |
SpanSet * | floatspanset_round (const SpanSet *ss, int maxdd) |
Return a float span set with the precision of the spans set to a number of decimal places. More... | |
SpanSet * | floatspanset_shift_scale (const SpanSet *ss, double shift, double width, bool hasshift, bool haswidth) |
Return a float span shifted and/or scaled by two values. More... | |
SpanSet * | floatspanset_to_intspanset (const SpanSet *ss) |
Convert a float span set into an integer span set. More... | |
double | floatspanset_upper (const SpanSet *ss) |
Return the upper bound of a float span set. More... | |
double | floatspanset_width (const SpanSet *ss, bool boundspan) |
Return the width of a float span set. More... | |
Span * | int_extent_transfn (Span *state, int i) |
Transition function for span extent aggregate of integers. More... | |
int | int_get_bin (int value, int vsize, int vorigin) |
Return the initial value of the bin that contains an integer. More... | |
TBox * | int_timestamptz_to_tbox (int i, TimestampTz t) |
Return a temporal box from an integer and a timestamptz. More... | |
Set * | int_to_set (int i) |
Convert an integer into a set. More... | |
Span * | int_to_span (int i) |
Convert an integer into a span. More... | |
SpanSet * | int_to_spanset (int i) |
Convert an integer into a span set. More... | |
TBox * | int_to_tbox (int i) |
Convert an integer into a temporal box. More... | |
TBox * | int_tstzspan_to_tbox (int i, const Span *s) |
Return a temporal box from an integer and a timestamptz span. More... | |
Set * | int_union_transfn (Set *state, int32 i) |
Transition function for set union aggregate of integers. More... | |
Set * | intersection_bigint_set (int64 i, const Set *s) |
Return the intersection of a big integer and a set. More... | |
Set * | intersection_date_set (DateADT d, const Set *s) |
Return the intersection of a date and a set. More... | |
Set * | intersection_float_set (double d, const Set *s) |
Return the intersection of a float and a set. More... | |
Set * | intersection_int_set (int i, const Set *s) |
Return the intersection of an integer and a set. More... | |
Set * | intersection_set_bigint (const Set *s, int64 i) |
Return the intersection of a set and a big integer. More... | |
Set * | intersection_set_date (const Set *s, DateADT d) |
Return the intersection of a set and a date. More... | |
Set * | intersection_set_float (const Set *s, double d) |
Return the intersection of a set and a float. More... | |
Set * | intersection_set_int (const Set *s, int i) |
Return the intersection of a set and an integer. More... | |
Set * | intersection_set_set (const Set *s1, const Set *s2) |
Return the intersection of two sets. More... | |
Set * | intersection_set_text (const Set *s, const text *txt) |
Return the intersection of a set and a text. More... | |
Set * | intersection_set_timestamptz (const Set *s, TimestampTz t) |
Return the intersection of a set and a timestamptz. More... | |
Span * | intersection_span_bigint (const Span *s, int64 i) |
Return the intersection of a span and a big integer. More... | |
Span * | intersection_span_date (const Span *s, DateADT d) |
Return the intersection of a span and a date. More... | |
Span * | intersection_span_float (const Span *s, double d) |
Return the intersection of a span and a float. More... | |
Span * | intersection_span_int (const Span *s, int i) |
Return the intersection of a span and an integer. More... | |
Span * | intersection_span_span (const Span *s1, const Span *s2) |
Return the intersection of two spans. More... | |
SpanSet * | intersection_span_spanset (const Span *s, const SpanSet *ss) |
Return the intersection of a span and a span set. More... | |
Span * | intersection_span_timestamptz (const Span *s, TimestampTz t) |
Return the intersection of a span and a timestamptz. More... | |
SpanSet * | intersection_spanset_bigint (const SpanSet *ss, int64 i) |
Return the intersection of a span set and a big integer. More... | |
SpanSet * | intersection_spanset_date (const SpanSet *ss, DateADT d) |
Return the intersection of a span set and a date. More... | |
SpanSet * | intersection_spanset_float (const SpanSet *ss, double d) |
Return the intersection of a span set and a float. More... | |
SpanSet * | intersection_spanset_int (const SpanSet *ss, int i) |
Return the intersection of a span set and an integer. More... | |
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... | |
SpanSet * | intersection_spanset_timestamptz (const SpanSet *ss, TimestampTz t) |
Return the intersection of a span set and a timestamptz. More... | |
TBox * | intersection_tbox_tbox (const TBox *box1, const TBox *box2) |
Return the intersection of two temporal boxes. More... | |
Set * | intersection_text_set (const text *txt, const Set *s) |
Return the intersection of a text and a set. More... | |
Set * | intersection_timestamptz_set (TimestampTz t, const Set *s) |
Return the intersection of a timestamptz and a set. More... | |
Interval * | interval_make (int32 years, int32 months, int32 weeks, int32 days, int32 hours, int32 mins, double secs) |
Return an interval constructed from its arguments. More... | |
int | intset_end_value (const Set *s) |
Return the end value of an integer set. More... | |
Set * | intset_in (const char *str) |
Return a set from its Well-Known Text (WKT) representation. More... | |
Set * | intset_make (const int *values, int count) |
Return an integer set from an array of values. More... | |
char * | intset_out (const Set *set) |
Return the string representation of an integer set. More... | |
Set * | intset_shift_scale (const Set *s, int shift, int width, bool hasshift, bool haswidth) |
Return an integer set shifted and/or scaled by two values. More... | |
int | intset_start_value (const Set *s) |
Return the start value of an integer set. More... | |
Set * | intset_to_floatset (const Set *s) |
Convert an integer set into a float set. More... | |
bool | intset_value_n (const Set *s, int n, int *result) |
Return in the last argument 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_bins (const Span *s, int vsize, int vorigin, int *count) |
Return the bins of 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) |
Return an integer span from the bounds. More... | |
char * | intspan_out (const Span *s) |
Return the Well-Known Text (WKT) representation of an integer span. More... | |
Span * | intspan_shift_scale (const Span *s, int shift, int width, bool hasshift, bool haswidth) |
Return an integer span shifted and/or scaled by the values. More... | |
Span * | intspan_to_floatspan (const Span *s) |
Convert an integer span into a float span. More... | |
int | intspan_upper (const Span *s) |
Return the upper bound of an integer span. More... | |
int | intspan_width (const Span *s) |
Return the width of an integer span. More... | |
Span * | intspanset_bins (const SpanSet *ss, int vsize, int vorigin, int *count) |
Return the bins of an integer span set. 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 an integer span set. More... | |
SpanSet * | intspanset_shift_scale (const SpanSet *ss, int shift, int width, bool hasshift, bool haswidth) |
Return an integer span shifted and/or scaled by two values. More... | |
SpanSet * | intspanset_to_floatspanset (const SpanSet *ss) |
Convert an integer span set into a float span set. More... | |
int | intspanset_upper (const SpanSet *ss) |
Return the upper bound of an integer span set. More... | |
int | intspanset_width (const SpanSet *ss, bool boundspan) |
Return the width of an integer span set. More... | |
bool | left_bigint_set (int64 i, const Set *s) |
Return true if a big integer is to the left of a set. More... | |
bool | left_bigint_span (int64 i, const Span *s) |
Return true if a big integer is to the left of a span. More... | |
bool | left_bigint_spanset (int64 i, const SpanSet *ss) |
Return true if a big integer is to the left of a span set. More... | |
bool | left_float_set (double d, const Set *s) |
Return true if a float is to the left of a set. More... | |
bool | left_float_span (double d, const Span *s) |
Return true if a float is to the left of a span. More... | |
bool | left_float_spanset (double d, const SpanSet *ss) |
Return true if a float is to the left of a span set. More... | |
bool | left_int_set (int i, const Set *s) |
Return true if an integer is to the left of a set. More... | |
bool | left_int_span (int i, const Span *s) |
Return true if an integer is to the left of a span. More... | |
bool | left_int_spanset (int i, const SpanSet *ss) |
Return true if an integer is to the left of a span set. More... | |
bool | left_numspan_tnumber (const Span *s, const Temporal *temp) |
Return true if a number span is to the left of a temporal number. More... | |
bool | left_set_bigint (const Set *s, int64 i) |
Return true if a set is to the left of a big integer. More... | |
bool | left_set_float (const Set *s, double d) |
Return true if a set is to the left of a float. More... | |
bool | left_set_int (const Set *s, int i) |
Return true if a set is to the left of an integer. More... | |
bool | left_set_set (const Set *s1, const Set *s2) |
Return true if the first set is to the left of the second one. More... | |
bool | left_set_text (const Set *s, text *txt) |
Return true if a set is to the left of a text. More... | |
bool | left_span_bigint (const Span *s, int64 i) |
Return true if a span is to the left of a big integer. More... | |
bool | left_span_float (const Span *s, double d) |
Return true if a span is to the left of a float. More... | |
bool | left_span_int (const Span *s, int i) |
Return true if a span is to the left of an integer. More... | |
bool | left_span_span (const Span *s1, const Span *s2) |
Return true if the first span is to the left of the second one. More... | |
bool | left_span_spanset (const Span *s, const SpanSet *ss) |
Return true if a span is before a span set. More... | |
bool | left_spanset_bigint (const SpanSet *ss, int64 i) |
Return true if a span set is to the left of a big integer. More... | |
bool | left_spanset_float (const SpanSet *ss, double d) |
Return true if a span set is to the left of a float. More... | |
bool | left_spanset_int (const SpanSet *ss, int i) |
Return true if a span set is to the left of an integer. More... | |
bool | left_spanset_span (const SpanSet *ss, const Span *s) |
Return true if a span set is to the left a span. More... | |
bool | left_spanset_spanset (const SpanSet *ss1, const SpanSet *ss2) |
Return true if the first span set is to the left of the second one. More... | |
bool | left_tbox_tbox (const TBox *box1, const TBox *box2) |
Return true if the first temporal box is to the left of the second one. More... | |
bool | left_tbox_tnumber (const TBox *box, const Temporal *temp) |
Return true if a temporal box is to the left of a temporal number. More... | |
bool | left_text_set (const text *txt, const Set *s) |
Return true if a text is to the left of a set. More... | |
bool | left_tnumber_numspan (const Temporal *temp, const Span *s) |
Return true if a temporal number is to the left of a number span. More... | |
bool | left_tnumber_tbox (const Temporal *temp, const TBox *box) |
Return true if a temporal number is to the left of a temporal box. More... | |
bool | left_tnumber_tnumber (const Temporal *temp1, const Temporal *temp2) |
Return true if the first temporal number is to the left of the second one. More... | |
int | meos_errno (void) |
Read an error number. More... | |
int | meos_errno_reset (void) |
Clears an error number. More... | |
int | meos_errno_restore (int err) |
Set an error number. More... | |
int | meos_errno_set (int err) |
Set an error number. More... | |
void | meos_error (int errlevel, int errcode, const char *format,...) |
Function handling error messages. More... | |
void | meos_finalize (void) |
void | meos_finalize_projsrs (void) |
Destroy all the malloc'ed PROJ objects stored in the PROJSRSCache. More... | |
void | meos_finalize_timezone (void) |
char * | meos_get_datestyle (void) |
Get the DateStyle. More... | |
char * | meos_get_intervalstyle (void) |
Get the IntervalStyle. More... | |
void | meos_initialize (void) |
void | meos_initialize_error_handler (error_handler_fn err_handler) |
void | meos_initialize_timezone (const char *name) |
bool | meos_set_datestyle (const char *newval, void *extra) |
Set the DateStyle. More... | |
bool | meos_set_intervalstyle (const char *newval, int extra) |
Set the IntervalStyle. More... | |
Set * | minus_bigint_set (int64 i, const Set *s) |
Return the difference of a big integer and a set. More... | |
SpanSet * | minus_bigint_span (int64 i, const Span *s) |
Return the difference of a big integer and a span. More... | |
SpanSet * | minus_bigint_spanset (int64 i, const SpanSet *ss) |
Return the difference of a big integer and a span set. More... | |
Interval * | minus_date_date (DateADT d1, DateADT d2) |
Return the subtraction of two dates. More... | |
DateADT | minus_date_int (DateADT d, int32 days) |
Return the subtraction of a date and a number of days. More... | |
Set * | minus_date_set (DateADT d, const Set *s) |
Return the difference of a date and a set. More... | |
SpanSet * | minus_date_span (DateADT d, const Span *s) |
Return the difference of a date and a span. More... | |
SpanSet * | minus_date_spanset (DateADT d, const SpanSet *ss) |
Return the difference of a date and a span set. More... | |
Set * | minus_float_set (double d, const Set *s) |
Return the difference of a float and a set. More... | |
SpanSet * | minus_float_span (double d, const Span *s) |
Return the difference of a float and a span. More... | |
SpanSet * | minus_float_spanset (double d, const SpanSet *ss) |
Return the difference of a float and a span set. More... | |
Set * | minus_int_set (int i, const Set *s) |
Return the difference of an integer and a set. More... | |
SpanSet * | minus_int_span (int i, const Span *s) |
Return the difference of an integer and a span. More... | |
SpanSet * | minus_int_spanset (int i, const SpanSet *ss) |
Return the difference of an integer and a span set. More... | |
Set * | minus_set_bigint (const Set *s, int64 i) |
Return the difference of a set and a big integer. More... | |
Set * | minus_set_date (const Set *s, DateADT d) |
Return the difference of a set and a date. More... | |
Set * | minus_set_float (const Set *s, double d) |
Return the difference of a set and a float. More... | |
Set * | minus_set_int (const Set *s, int i) |
Return the difference of a set and an integer. More... | |
Set * | minus_set_set (const Set *s1, const Set *s2) |
Return the difference of two sets. More... | |
Set * | minus_set_text (const Set *s, const text *txt) |
Return the difference of a set and a text. More... | |
Set * | minus_set_timestamptz (const Set *s, TimestampTz t) |
Return the difference of a set and a timestamptz. More... | |
SpanSet * | minus_span_bigint (const Span *s, int64 i) |
Return the difference of a span and a big integer. More... | |
SpanSet * | minus_span_date (const Span *s, DateADT d) |
Return the difference of a span and a date. More... | |
SpanSet * | minus_span_float (const Span *s, double d) |
Return the difference of a span and a float. More... | |
SpanSet * | minus_span_int (const Span *s, int i) |
Return the difference of a span and an integer. More... | |
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_span_timestamptz (const Span *s, TimestampTz t) |
Return the difference of a span and a timestamptz. More... | |
SpanSet * | minus_spanset_bigint (const SpanSet *ss, int64 i) |
Return the difference of a span set and a big integer. More... | |
SpanSet * | minus_spanset_date (const SpanSet *ss, DateADT d) |
Return the difference of a span set and a date. More... | |
SpanSet * | minus_spanset_float (const SpanSet *ss, double d) |
Return the difference of a span set and a float. More... | |
SpanSet * | minus_spanset_int (const SpanSet *ss, int i) |
Return the difference of a span set and an integer. More... | |
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... | |
SpanSet * | minus_spanset_timestamptz (const SpanSet *ss, TimestampTz t) |
Return the difference of a span set and a timestamptz. More... | |
Set * | minus_text_set (const text *txt, const Set *s) |
Return the difference of a text and a set. More... | |
TimestampTz | minus_timestamptz_interval (TimestampTz t, const Interval *interv) |
Return the subtraction of a timestamptz and an interval. More... | |
Set * | minus_timestamptz_set (TimestampTz t, const Set *s) |
Return the difference of a timestamptz and a set. More... | |
SpanSet * | minus_timestamptz_span (TimestampTz t, const Span *s) |
Return the difference of a timestamptz and a span. More... | |
SpanSet * | minus_timestamptz_spanset (TimestampTz t, const SpanSet *ss) |
Return the difference of a timestamptz and a span set. More... | |
Interval * | minus_timestamptz_timestamptz (TimestampTz t1, TimestampTz t2) |
Return the subtraction of two timestamptz values. More... | |
Interval * | mul_interval_double (const Interval *interv, double factor) |
Return the multiplication of an interval and a factor. More... | |
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_tboxfloat_tboxfloat (const TBox *box1, const TBox *box2) |
Return the nearest approach distance between the float temporal boxes. More... | |
int | nad_tboxint_tboxint (const TBox *box1, const TBox *box2) |
Return the nearest approach distance between the int 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_tbox (const Temporal *temp, const TBox *box) |
Return the nearest approach distance between a temporal float and a temporal box. 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_tbox (const Temporal *temp, const TBox *box) |
Return the nearest approach distance between a temporal integer and a temporal box. More... | |
int | nad_tint_tint (const Temporal *temp1, const Temporal *temp2) |
Return the nearest approach distance between two temporal integers. More... | |
Span * | numspan_expand (const Span *s, Datum value) |
Return a number span with its bounds expanded/decreased by a value. More... | |
TBox * | numspan_timestamptz_to_tbox (const Span *span, TimestampTz t) |
Return a temporal box from a number span and a timestamptz. More... | |
TBox * | numspan_tstzspan_to_tbox (const Span *span, const Span *s) |
Return a temporal box from a number span and a timestamptz span. More... | |
bool | overafter_date_set (DateADT d, const Set *s) |
Return true if a date is not before a set. More... | |
bool | overafter_date_span (DateADT d, const Span *s) |
Return true if a date is not before a span. More... | |
bool | overafter_date_spanset (DateADT d, const SpanSet *ss) |
Return true if a date is not before a span set. More... | |
bool | overafter_set_date (const Set *s, DateADT d) |
Return true if a set is not before a date. More... | |
bool | overafter_set_timestamptz (const Set *s, TimestampTz t) |
Return true if a set is not before a timestamptz. More... | |
bool | overafter_span_date (const Span *s, DateADT d) |
Return true if a span is not before a date. More... | |
bool | overafter_span_timestamptz (const Span *s, TimestampTz t) |
Return true if a span is not before a timestamptz. More... | |
bool | overafter_spanset_date (const SpanSet *ss, DateADT d) |
Return true if a span set is before a date. More... | |
bool | overafter_spanset_timestamptz (const SpanSet *ss, TimestampTz t) |
Return true if a span set is before a timestamptz. More... | |
bool | overafter_tbox_tbox (const TBox *box1, const TBox *box2) |
Return true if the first temporal box is not before the second one. More... | |
bool | overafter_tbox_tnumber (const TBox *box, const Temporal *temp) |
Return true if a temporal box is not before a temporal number. More... | |
bool | overafter_temporal_temporal (const Temporal *temp1, const Temporal *temp2) |
Return true if the first temporal value is not before the second one. More... | |
bool | overafter_temporal_tstzspan (const Temporal *temp, const Span *s) |
Return true if a temporal value is not before a timestamptz span. More... | |
bool | overafter_timestamptz_set (TimestampTz t, const Set *s) |
Return true if a timestamptz is not before a set. More... | |
bool | overafter_timestamptz_span (TimestampTz t, const Span *s) |
Return true if a timestamptz is not before a span. More... | |
bool | overafter_timestamptz_spanset (TimestampTz t, const SpanSet *ss) |
Return true if a timestamptz is not before a span set. More... | |
bool | overafter_tnumber_tbox (const Temporal *temp, const TBox *box) |
Return true if a temporal number is not before a temporal box. More... | |
bool | overafter_tnumber_tnumber (const Temporal *temp1, const Temporal *temp2) |
Return true if the first temporal number is not before the second one. More... | |
bool | overafter_tstzspan_temporal (const Span *s, const Temporal *temp) |
Return true if a timestamptz span is not before a temporal value. More... | |
bool | overbefore_date_set (DateADT d, const Set *s) |
Return true if a date is not after a set. More... | |
bool | overbefore_date_span (DateADT d, const Span *s) |
Return true if a date is not after a span. More... | |
bool | overbefore_date_spanset (DateADT d, const SpanSet *ss) |
Return true if a date is not after a span set. More... | |
bool | overbefore_set_date (const Set *s, DateADT d) |
Return true if a set is not after a date. More... | |
bool | overbefore_set_timestamptz (const Set *s, TimestampTz t) |
Return true if a set is not after a timestamptz. More... | |
bool | overbefore_span_date (const Span *s, DateADT d) |
Return true if a span is not after a date. More... | |
bool | overbefore_span_timestamptz (const Span *s, TimestampTz t) |
Return true if a span is not after a timestamptz. More... | |
bool | overbefore_spanset_date (const SpanSet *ss, DateADT d) |
Return true if a span set is not after a date. More... | |
bool | overbefore_spanset_timestamptz (const SpanSet *ss, TimestampTz t) |
Return true if a span set is not after a timestamptz. More... | |
bool | overbefore_tbox_tbox (const TBox *box1, const TBox *box2) |
Return true if the first temporal box is not after the second one. More... | |
bool | overbefore_tbox_tnumber (const TBox *box, const Temporal *temp) |
Return true if a temporal box is not after a temporal number. More... | |
bool | overbefore_temporal_temporal (const Temporal *temp1, const Temporal *temp2) |
Return true if the first temporal value is not after the second one. More... | |
bool | overbefore_temporal_tstzspan (const Temporal *temp, const Span *s) |
Return true if a temporal value is not after a timestamptz span. More... | |
bool | overbefore_timestamptz_set (TimestampTz t, const Set *s) |
Return true if a timestamptz is not after a set @csqlfn Overleft_value_set() More... | |
bool | overbefore_timestamptz_span (TimestampTz t, const Span *s) |
Return true if a timestamptz is not after a span. More... | |
bool | overbefore_timestamptz_spanset (TimestampTz t, const SpanSet *ss) |
Return true if a timestamptz is not after a span set. More... | |
bool | overbefore_tnumber_tbox (const Temporal *temp, const TBox *box) |
Return true if a temporal number is not after a temporal box. More... | |
bool | overbefore_tnumber_tnumber (const Temporal *temp1, const Temporal *temp2) |
Return true if the first temporal number is not after the second one. More... | |
bool | overbefore_tstzspan_temporal (const Span *s, const Temporal *temp) |
Return true if a timestamptz span is not after a temporal value. More... | |
bool | overlaps_numspan_tnumber (const Span *s, const Temporal *temp) |
Return true if a number span and the value span of a temporal number overlap. More... | |
bool | overlaps_set_set (const Set *s1, const Set *s2) |
Return true if two sets overlap. More... | |
bool | overlaps_span_span (const Span *s1, const Span *s2) |
Return true if two spans overlap. More... | |
bool | overlaps_span_spanset (const Span *s, const SpanSet *ss) |
Return true if a span and a span set overlap. More... | |
bool | overlaps_spanset_span (const SpanSet *ss, const Span *s) |
Return true if a span set and a span overlap. More... | |
bool | overlaps_spanset_spanset (const SpanSet *ss1, const SpanSet *ss2) |
Return true if two span sets overlap. More... | |
bool | overlaps_tbox_tbox (const TBox *box1, const TBox *box2) |
Return true if two temporal boxes overlap. More... | |
bool | overlaps_tbox_tnumber (const TBox *box, const Temporal *temp) |
Return true if a temporal box and the bounding box of a temporal number overlap. More... | |
bool | overlaps_temporal_temporal (const Temporal *temp1, const Temporal *temp2) |
Return true if the time spans of two temporal values overlap. More... | |
bool | overlaps_temporal_tstzspan (const Temporal *temp, const Span *s) |
Return true if the time span of a temporal value and a timestamptz span overlap. More... | |
bool | overlaps_tnumber_numspan (const Temporal *temp, const Span *s) |
Return true if the value span of a temporal number and the number span overlap. More... | |
bool | overlaps_tnumber_tbox (const Temporal *temp, const TBox *box) |
Return true if the bounding box of a temporal number and a temporal box overlap. More... | |
bool | overlaps_tnumber_tnumber (const Temporal *temp1, const Temporal *temp2) |
Return true if the bounding boxes of two temporal numbers overlap. More... | |
bool | overlaps_tstzspan_temporal (const Span *s, const Temporal *temp) |
Return true if a timestamptz span and the time span of a temporal value overlap. More... | |
bool | overleft_bigint_set (int64 i, const Set *s) |
Return true if a big integer does not extend to the right of a set. More... | |
bool | overleft_bigint_span (int64 i, const Span *s) |
Return true if a big integer does not extend to the right of a span. More... | |
bool | overleft_bigint_spanset (int64 i, const SpanSet *ss) |
Return true if a big integer does not extend to the right of a span set. More... | |
bool | overleft_float_set (double d, const Set *s) |
Return true if a float does not extend to the right of a set. More... | |
bool | overleft_float_span (double d, const Span *s) |
Return true if a float does not extend to the right of a span. More... | |
bool | overleft_float_spanset (double d, const SpanSet *ss) |
Return true if a float does not extend to the right of a span set. More... | |
bool | overleft_int_set (int i, const Set *s) |
Return true if an integer does not extend to the right of a set. More... | |
bool | overleft_int_span (int i, const Span *s) |
Return true if an integer does not extend to the right of a span. More... | |
bool | overleft_int_spanset (int i, const SpanSet *ss) |
Return true if an integer does not extend to the right of a span set. More... | |
bool | overleft_numspan_tnumber (const Span *s, const Temporal *temp) |
Return true if a number span does not extend to the right of a temporal number. More... | |
bool | overleft_set_bigint (const Set *s, int64 i) |
Return true if a set does not extend to the right of a big integer. More... | |
bool | overleft_set_float (const Set *s, double d) |
Return true if a set does not extend to the right of a float. More... | |
bool | overleft_set_int (const Set *s, int i) |
Return true if a set 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_text (const Set *s, text *txt) |
Return true if a set does not extend to the right of a text. More... | |
bool | overleft_span_bigint (const Span *s, int64 i) |
Return true if a span does not extend to the right of a big integer. More... | |
bool | overleft_span_float (const Span *s, double d) |
Return true if a span does not extend to the right of a float. More... | |
bool | overleft_span_int (const Span *s, int i) |
Return true if a span does not extend to the right of an integer. More... | |
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_spanset_bigint (const SpanSet *ss, int64 i) |
Return true if a span set does not extend to the right of a big integer. More... | |
bool | overleft_spanset_float (const SpanSet *ss, double d) |
Return true if a span set does not extend to the right of a float. More... | |
bool | overleft_spanset_int (const SpanSet *ss, int i) |
Return true if a span set does not extend to the right of an integer. More... | |
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_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 *box, const Temporal *temp) |
Return true if a temporal box does not extend to the right of a temporal number. More... | |
bool | overleft_text_set (const text *txt, const Set *s) |
Return true if a text does not extend to the right of a set. More... | |
bool | overleft_tnumber_numspan (const Temporal *temp, const Span *s) |
Return true if a temporal number does not extend to the right of a number span. More... | |
bool | overleft_tnumber_tbox (const Temporal *temp, const TBox *box) |
Return true if a temporal number does not extend to the right of a temporal box. More... | |
bool | overleft_tnumber_tnumber (const Temporal *temp1, const Temporal *temp2) |
Return true if the first temporal number does not extend to the right of the second one. More... | |
bool | overright_bigint_set (int64 i, const Set *s) |
Return true if a big integer does not extend to the the left of a set. More... | |
bool | overright_bigint_span (int64 i, const Span *s) |
Return true if a big integer does not extend to the left of a span. More... | |
bool | overright_bigint_spanset (int64 i, const SpanSet *ss) |
Return true if a big integer does not extend to the left of a span set. More... | |
bool | overright_float_set (double d, const Set *s) |
Return true if a float does not extend to the left of a set. More... | |
bool | overright_float_span (double d, const Span *s) |
Return true if a float does not extend to the left of a span. More... | |
bool | overright_float_spanset (double d, const SpanSet *ss) |
Return true if a float does not extend to the left of a span set. More... | |
bool | overright_int_set (int i, const Set *s) |
Return true if an integer does not extend to the the left of a set. More... | |
bool | overright_int_span (int i, const Span *s) |
Return true if an integer does not extend to the left of a span. More... | |
bool | overright_int_spanset (int i, const SpanSet *ss) |
Return true if an integer does not extend to the left of a span set. More... | |
bool | overright_numspan_tnumber (const Span *s, const Temporal *temp) |
Return true if a number span does not extend to the left of a temporal number. More... | |
bool | overright_set_bigint (const Set *s, int64 i) |
Return true if a set does not extend to the left of a big integer. More... | |
bool | overright_set_float (const Set *s, double d) |
Return true if a set does not extend to the left of a float. More... | |
bool | overright_set_int (const Set *s, int i) |
Return true if a set 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_text (const Set *s, text *txt) |
Return true if a set does not extend to the left of a text. More... | |
bool | overright_span_bigint (const Span *s, int64 i) |
Return true if a span does not extend to the left of a big integer. More... | |
bool | overright_span_float (const Span *s, double d) |
Return true if a span does not extend to the left of a float. More... | |
bool | overright_span_int (const Span *s, int i) |
Return true if a span does not extend to the left of an integer. More... | |
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_spanset_bigint (const SpanSet *ss, int64 i) |
Return true if a span set does not extend to the left of a big integer. More... | |
bool | overright_spanset_float (const SpanSet *ss, double d) |
Return true if a span set does not extend to the left of a float. More... | |
bool | overright_spanset_int (const SpanSet *ss, int i) |
Return true if a span set does not extend to the left of an integer. More... | |
bool | overright_spanset_span (const SpanSet *ss, const Span *s) |
Return true if a span set does not extend to the left 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 left of the second one. More... | |
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 *box, const Temporal *temp) |
Return true if a temporal box does not extend to the left of a temporal number. More... | |
bool | overright_text_set (const text *txt, const Set *s) |
Return true if a text does not extend to the left of a set. More... | |
bool | overright_tnumber_numspan (const Temporal *temp, const Span *s) |
Return true if a temporal number does not extend to the left of a number span. More... | |
bool | overright_tnumber_tbox (const Temporal *temp, const TBox *box) |
Return true if a temporal number does not extend to the left of a temporal box. More... | |
bool | overright_tnumber_tnumber (const Temporal *temp1, const Temporal *temp2) |
Return true if the first temporal number does not extend to the left of the second one. More... | |
bool | right_bigint_set (int64 i, const Set *s) |
Return true if a big integer is to the right of a set. More... | |
bool | right_bigint_span (int64 i, const Span *s) |
Return true if a big integer is to the right of a span. More... | |
bool | right_bigint_spanset (int64 i, const SpanSet *ss) |
Return true if a big integer is to the right of a span set. More... | |
bool | right_float_set (double d, const Set *s) |
Return true if a float is to the right of a set. More... | |
bool | right_float_span (double d, const Span *s) |
Return true if a float is to the right of a span. More... | |
bool | right_float_spanset (double d, const SpanSet *ss) |
Return true if a float is to the right of a span set. More... | |
bool | right_int_set (int i, const Set *s) |
Return true if an integer is to the right of a set. More... | |
bool | right_int_span (int i, const Span *s) |
Return true if an integer is to the right of a span. More... | |
bool | right_int_spanset (int i, const SpanSet *ss) |
Return true if an integer is to the right of a span set. More... | |
bool | right_numspan_tnumber (const Span *s, const Temporal *temp) |
Return true if a number span is to the right of a temporal number. More... | |
bool | right_set_bigint (const Set *s, int64 i) |
Return true if a set is to the right of a big integer. More... | |
bool | right_set_float (const Set *s, double d) |
Return true if a set is to the right of a float. More... | |
bool | right_set_int (const Set *s, int i) |
Return true if a set is to the right of an integer. More... | |
bool | right_set_set (const Set *s1, const Set *s2) |
Return true if the first set is to the right of the second one. More... | |
bool | right_set_text (const Set *s, text *txt) |
Return true if a set is to the right of a text. More... | |
bool | right_span_bigint (const Span *s, int64 i) |
Return true if a span is to the right of a big integer. More... | |
bool | right_span_float (const Span *s, double d) |
Return true if a span is to the right of a float. More... | |
bool | right_span_int (const Span *s, int i) |
Return true if a span is to the right of an integer. More... | |
bool | right_span_span (const Span *s1, const Span *s2) |
Return true if the first span is to right the of the second one. More... | |
bool | right_span_spanset (const Span *s, const SpanSet *ss) |
Return true if a span is to the right of a span set. More... | |
bool | right_spanset_bigint (const SpanSet *ss, int64 i) |
Return true if a span set is to the right of a big integer. More... | |
bool | right_spanset_float (const SpanSet *ss, double d) |
Return true if a span set is to the right of a float. More... | |
bool | right_spanset_int (const SpanSet *ss, int i) |
Return true if a span set is to the right of an integer. More... | |
bool | right_spanset_span (const SpanSet *ss, const Span *s) |
Return true if a span set is to the right of a span. More... | |
bool | right_spanset_spanset (const SpanSet *ss1, const SpanSet *ss2) |
Return true if the first span set is to the right of the second one. More... | |
bool | right_tbox_tbox (const TBox *box1, const TBox *box2) |
Return true if the first temporal box is to the right of the second one. More... | |
bool | right_tbox_tnumber (const TBox *box, const Temporal *temp) |
Return true if a temporal box is to the right of a temporal number. More... | |
bool | right_text_set (const text *txt, const Set *s) |
Return true if a text is to the right of a set. More... | |
bool | right_tnumber_numspan (const Temporal *temp, const Span *s) |
Return true if a temporal number is to the right of a number span. More... | |
bool | right_tnumber_tbox (const Temporal *temp, const TBox *box) |
Return true if a temporal number is to the right of a temporal box. More... | |
bool | right_tnumber_tnumber (const Temporal *temp1, const Temporal *temp2) |
Return true if the first temporal number is to the right of the second one. More... | |
bool | same_numspan_tnumber (const Span *s, const Temporal *temp) |
Return true if a number span and the value span of a temporal number are equal. More... | |
bool | same_tbox_tbox (const TBox *box1, const TBox *box2) |
Return true if two temporal boxes are equal in the common dimensions. More... | |
bool | same_tbox_tnumber (const TBox *box, const Temporal *temp) |
Return true if a temporal box and the bounding box of a temporal number are equal in the common dimensions. More... | |
bool | same_temporal_temporal (const Temporal *temp1, const Temporal *temp2) |
Return true if the time spans of two temporal values are equal. More... | |
bool | same_temporal_tstzspan (const Temporal *temp, const Span *s) |
Return true if the time span of a temporal value and a timestamptz span are equal. More... | |
bool | same_tnumber_numspan (const Temporal *temp, const Span *s) |
Return true if the value span of a temporal number and a number span are equal. More... | |
bool | same_tnumber_tbox (const Temporal *temp, const TBox *box) |
Return true if the bounding box of a temporal number and a temporal box are equal in the common dimensions. More... | |
bool | same_tnumber_tnumber (const Temporal *temp1, const Temporal *temp2) |
Return true if the bounding boxes of two temporal numbers are equal. More... | |
bool | same_tstzspan_temporal (const Span *s, const Temporal *temp) |
Return true if a timestamptz span and the time span of a temporal value are equal. More... | |
char * | set_as_hexwkb (const Set *s, uint8_t variant, size_t *size_out) |
Return the ASCII hex-encoded Well-Known Binary (HexWKB) representation of a set. More... | |
uint8_t * | set_as_wkb (const Set *s, uint8_t variant, size_t *size_out) |
Return the Well-Known Binary (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 *s) |
Return a copy of a set. More... | |
bool | set_eq (const Set *s1, const Set *s2) |
Return true if the two sets are equal. More... | |
Span * | set_extent_transfn (Span *state, const Set *s) |
Transition function for span extent aggregate of sets. More... | |
Set * | set_from_hexwkb (const char *hexwkb) |
Return a set from its ASCII hex-encoded Well-Known Binary (WKB) representation. More... | |
Set * | set_from_wkb (const uint8_t *wkb, size_t 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... | |
bool | set_ne (const Set *s1, const Set *s2) |
Return true if the first set is not equal to the second one. More... | |
int | set_num_values (const Set *s) |
Return the number of values of a set. More... | |
Set * | set_round (const Set *s, int maxdd) |
Return a set with the precision of the values set to a number of decimal places. More... | |
Span * | set_spans (const Set *s) |
Return an array of spans from the values of a set. More... | |
Span * | set_split_each_n_spans (const Set *s, int elems_per_span, int *count) |
Return an array of spans from a set obtained by merging consecutive elements. More... | |
Span * | set_split_n_spans (const Set *s, int span_count, int *count) |
Return an array of N spans from the values of a set. More... | |
Span * | set_to_span (const Set *s) |
Convert a set into a span. More... | |
SpanSet * | set_to_spanset (const Set *s) |
Convert a set into a span set. More... | |
TBox * | set_to_tbox (const Set *s) |
Convert a number or a timestamptz set into a temporal box. More... | |
Set * | set_union_finalfn (Set *state) |
Final function for set union aggregate. More... | |
Set * | set_union_transfn (Set *state, Set *s) |
Transition function for set union aggregate of sets. More... | |
char * | span_as_hexwkb (const Span *s, uint8_t variant, size_t *size_out) |
Return the ASCII hex-encoded Well-Known Binary (HexWKB) representation of a span. More... | |
uint8_t * | span_as_wkb (const Span *s, uint8_t variant, size_t *size_out) |
Return the Well-Known Binary (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 two spans are equal. More... | |
Span * | span_extent_transfn (Span *state, const Span *s) |
Transition function for span extent aggregate of spans. More... | |
Span * | span_from_hexwkb (const char *hexwkb) |
Return a span from its ASCII hex-encoded Well-Known Binary (WKB) representation. More... | |
Span * | span_from_wkb (const uint8_t *wkb, size_t 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, uint64 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... | |
SpanSet * | span_to_spanset (const Span *s) |
Convert a span into a span set. More... | |
TBox * | span_to_tbox (const Span *s) |
Convert a number span into a temporal box. More... | |
SpanSet * | span_union_transfn (SpanSet *state, const Span *s) |
Transition function for span set aggregate union. More... | |
bool | span_upper_inc (const Span *s) |
Return true if the upper bound of a span is inclusive. More... | |
char * | spanset_as_hexwkb (const SpanSet *ss, uint8_t variant, size_t *size_out) |
Return the ASCII hex-encoded Well-Known Binary (HexWKB) representation of a span set. More... | |
uint8_t * | spanset_as_wkb (const SpanSet *ss, uint8_t variant, size_t *size_out) |
Return the Well-Known Binary (WKB) representation of a span 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 *ss) |
Return a copy of a span set. More... | |
Span * | spanset_end_span (const SpanSet *ss) |
Return a copy of the end span of a span set. More... | |
bool | spanset_eq (const SpanSet *ss1, const SpanSet *ss2) |
Return true if the two span sets are equal. More... | |
Span * | spanset_extent_transfn (Span *state, const SpanSet *ss) |
Transition function for span extent aggregate of span sets. More... | |
SpanSet * | spanset_from_hexwkb (const char *hexwkb) |
Return a span set from its ASCII hex-encoded Well-Known Binary (WKB) representation. More... | |
SpanSet * | spanset_from_wkb (const uint8_t *wkb, size_t size) |
Return a span 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 *ss) |
Return the 32-bit hash value of a span set. More... | |
uint64 | spanset_hash_extended (const SpanSet *ss, 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 (Span *spans, int count) |
Return a span set from an array of disjoint spans. 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... | |
Span * | spanset_span (const SpanSet *ss) |
Return the bounding span of a span set. More... | |
Span * | spanset_span_n (const SpanSet *ss, int i) |
Return a copy of the n-th span of a span set. More... | |
Span ** | spanset_spanarr (const SpanSet *ss) |
Return a C array with copies of the spans of a span set. More... | |
Span * | spanset_spans (const SpanSet *ss) |
Return the array of spans of a spanset. More... | |
Span * | spanset_split_each_n_spans (const SpanSet *ss, int elems_per_span, int *count) |
Return an array of N spans from a spanset obtained by merging consecutive composing spans. More... | |
Span * | spanset_split_n_spans (const SpanSet *ss, int span_count, int *count) |
Return an array of N spans from the composing spans of a spanset. More... | |
Span * | spanset_start_span (const SpanSet *ss) |
Return a copy to the the start span of a span set. More... | |
TBox * | spanset_to_tbox (const SpanSet *ss) |
Convert a number span set into a temporal box. More... | |
SpanSet * | spanset_union_finalfn (SpanSet *state) |
Transition function for set aggregate of values. More... | |
SpanSet * | spanset_union_transfn (SpanSet *state, const SpanSet *ss) |
Transition function for span set aggregate union. More... | |
bool | spanset_upper_inc (const SpanSet *ss) |
Return true if the upper bound of a span set is inclusive. 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... | |
TimestampTz | sub_timestamptz_interval (TimestampTz t, const Interval *interv) |
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) |
Return the boolean and of a boolean and a temporal boolean. 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... | |
Temporal * | tbool_at_value (const Temporal *temp, bool b) |
Return a temporal boolean restricted to a boolean. More... | |
bool | tbool_end_value (const Temporal *temp) |
Return the end value of a temporal boolean. More... | |
Temporal * | tbool_from_base_temp (bool b, const Temporal *temp) |
Return a temporal boolean from a boolean and the time frame of another temporal value. More... | |
Temporal * | tbool_from_mfjson (const char *str) |
Return a temporal boolean from its MF-JSON representation. 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) |
Return a temporal boolean restricted to the complement of a boolean. More... | |
char * | tbool_out (const Temporal *temp) |
Return the Well-Known Text (WKT) representation of a temporal boolean. 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... | |
Temporal * | tbool_to_tint (const Temporal *temp) |
Convert a temporal Boolean into a temporal integer. More... | |
SkipList * | tbool_tor_transfn (SkipList *state, const Temporal *temp) |
Transition function for temporal or of temporal booleans. More... | |
bool | tbool_value_at_timestamptz (const Temporal *temp, TimestampTz t, bool strict, bool *value) |
Return the value of a temporal boolean at a timestamptz. More... | |
bool | tbool_value_n (const Temporal *temp, int n, bool *result) |
Return the n-th value of a temporal boolean. More... | |
bool * | tbool_values (const Temporal *temp, int *count) |
Return 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... | |
TInstant * | tboolinst_make (bool b, TimestampTz t) |
Return a temporal boolean instant from a boolean and a timestamptz. More... | |
TSequence * | tboolseq_from_base_tstzset (bool b, const Set *s) |
Return a temporal boolean discrete sequence from a boolean and a timestamptz set. More... | |
TSequence * | tboolseq_from_base_tstzspan (bool b, const Span *s) |
Return a temporal boolean sequence from a boolean and a timestamptz span. More... | |
TSequenceSet * | tboolseqset_from_base_tstzspanset (bool b, const SpanSet *ss) |
Return a temporal boolean sequence set from a boolean and a timestamptz span set. More... | |
char * | tbox_as_hexwkb (const TBox *box, uint8_t variant, size_t *size) |
Return the ASCII hex-encoded Well-Known Binary (HexWKB) representation of a temporal box. More... | |
uint8_t * | tbox_as_wkb (const TBox *box, uint8_t variant, size_t *size_out) |
Return the Well-Known Binary (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 two temporal boxes are equal. More... | |
TBox * | tbox_expand_float (const TBox *box, double d) |
Return a temporal box with the value span expanded/decreased by a double. More... | |
TBox * | tbox_expand_int (const TBox *box, int i) |
Return a temporal box with the value span expanded/decreased by an integer. More... | |
TBox * | tbox_expand_time (const TBox *box, const Interval *interv) |
Return a temporal box with the time span expanded/decreased by an interval. More... | |
TBox * | tbox_from_hexwkb (const char *hexwkb) |
Return a temporal box from its ASCII hex-encoded Well-Known Binary (WKB) representation. More... | |
TBox * | tbox_from_wkb (const uint8_t *wkb, size_t 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 *s, const Span *p) |
Return a temporal box from a number span and a timestamptz span. More... | |
bool | tbox_ne (const TBox *box1, const TBox *box2) |
Return true if two 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... | |
TBox * | tbox_round (const TBox *box, int maxdd) |
Return a temporal box with the precision of the value span set to a number of decimal places. More... | |
TBox * | tbox_shift_scale_float (const TBox *box, double shift, double width, bool hasshift, bool haswidth) |
Return a temporal box with the value span shifted and/or scaled by the values. More... | |
TBox * | tbox_shift_scale_int (const TBox *box, int shift, int width, bool hasshift, bool haswidth) |
Return a temporal box with the value span shifted and/or scaled by the values. More... | |
TBox * | tbox_shift_scale_time (const TBox *box, const Interval *shift, const Interval *duration) |
Return a temporal box with the value span shifted and/or scaled by the values. More... | |
bool | tbox_tmax (const TBox *box, TimestampTz *result) |
Return in the last argument the maximum T value of a temporal box. More... | |
bool | tbox_tmax_inc (const TBox *box, bool *result) |
Return in the last argument whether the maximum T value of a temporal box is inclusive. More... | |
bool | tbox_tmin (const TBox *box, TimestampTz *result) |
Return in the last argument the minimum T value of a temporal box. More... | |
bool | tbox_tmin_inc (const TBox *box, bool *result) |
Return in the last argument whether the minimum T value of a temporal box is inclusive. More... | |
Span * | tbox_to_floatspan (const TBox *box) |
Convert a temporal box into a float span. More... | |
Span * | tbox_to_intspan (const TBox *box) |
Convert a temporal box into an integer span. More... | |
Span * | tbox_to_tstzspan (const TBox *box) |
Convert a temporal box into a timestamptz span. More... | |
bool | tbox_xmax (const TBox *box, double *result) |
Return in the last argument the maximum X value of a temporal box as a double. More... | |
bool | tbox_xmax_inc (const TBox *box, bool *result) |
Return in the last argument whether the maximum X value of a temporal box is inclusive. More... | |
bool | tbox_xmin (const TBox *box, double *result) |
Return in the last argument the minimum X value of a temporal box as a double. More... | |
bool | tbox_xmin_inc (const TBox *box, bool *result) |
Return in the last argument whether the minimum X value of a temporal box is inclusive. More... | |
bool | tboxfloat_xmax (const TBox *box, double *result) |
Return in the last argument the maximum X value of a temporal box. More... | |
bool | tboxfloat_xmin (const TBox *box, double *result) |
Return in the last argument the minimum X value of a temporal box. More... | |
bool | tboxint_xmax (const TBox *box, int *result) |
Return in the last argument the maximum X value of a temporal box. More... | |
bool | tboxint_xmin (const TBox *box, int *result) |
Return in the last argument the minimum X value of a temporal box. More... | |
Temporal ** | temparr_round (const Temporal **temp, int count, int maxdd) |
Return an array of temporal floats with the precision of the coordinates set to a number of decimal places. More... | |
Temporal * | temporal_append_tinstant (Temporal *temp, const TInstant *inst, interpType interp, double maxdist, const Interval *maxt, bool expand) |
Append an instant to a temporal value. More... | |
Temporal * | temporal_append_tsequence (Temporal *temp, const TSequence *seq, bool expand) |
Append a sequence to a temporal value. More... | |
char * | temporal_as_hexwkb (const Temporal *temp, uint8_t variant, size_t *size_out) |
Return the ASCII hex-encoded Well-Known Binary (HexWKB) representation of a temporal value. More... | |
char * | temporal_as_mfjson (const Temporal *temp, bool with_bbox, int flags, int precision, const 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 Well-Known Binary (WKB) representation of a temporal value. More... | |
Temporal * | temporal_at_max (const Temporal *temp) |
Return a temporal value restricted to its maximum base value. More... | |
Temporal * | temporal_at_min (const Temporal *temp) |
Return a temporal value restricted to its minimum base value. More... | |
Temporal * | temporal_at_timestamptz (const Temporal *temp, TimestampTz t) |
Return a temporal value restricted to a timestamptz. More... | |
Temporal * | temporal_at_tstzset (const Temporal *temp, const Set *s) |
Return a temporal value restricted to a timestamptz set. More... | |
Temporal * | temporal_at_tstzspan (const Temporal *temp, const Span *s) |
Return a temporal value restricted to a timestamptz span. More... | |
Temporal * | temporal_at_tstzspanset (const Temporal *temp, const SpanSet *ss) |
Return a temporal value restricted to a timestamptz span set. More... | |
Temporal * | temporal_at_values (const Temporal *temp, const Set *set) |
Return a temporal value restricted to a set of values. 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_timestamptz (const Temporal *temp, TimestampTz t, bool connect) |
Delete a timestamp from a temporal value. More... | |
Temporal * | temporal_delete_tstzset (const Temporal *temp, const Set *s, bool connect) |
Delete a timestamp set from a temporal value connecting the instants before and after the given timestamp, if any. More... | |
Temporal * | temporal_delete_tstzspan (const Temporal *temp, const Span *s, bool connect) |
Delete a timestamptz span from a temporal value. More... | |
Temporal * | temporal_delete_tstzspanset (const Temporal *temp, const SpanSet *ss, bool connect) |
Delete a timestamptz span set from a temporal value. 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) |
Return the Dynamic Time Warp distance between two temporal values. More... | |
Match * | temporal_dyntimewarp_path (const Temporal *temp1, const Temporal *temp2, int *count) |
Return the Dynamic Time Warp distance between two temporal values. More... | |
TInstant * | temporal_end_instant (const Temporal *temp) |
Return a copy of the end instant of a temporal value. More... | |
TSequence * | temporal_end_sequence (const Temporal *temp) |
Return a copy of the end sequence of a temporal sequence (set) More... | |
TimestampTz | temporal_end_timestamptz (const Temporal *temp) |
Return the end timestamptz of a temporal value. More... | |
bool | temporal_eq (const Temporal *temp1, const Temporal *temp2) |
Return true if two temporal values are equal. More... | |
Span * | temporal_extent_transfn (Span *s, const Temporal *temp) |
Transition function for temporal extent aggregate of temporal values. More... | |
double | temporal_frechet_distance (const Temporal *temp1, const Temporal *temp2) |
Return the Frechet distance between two temporal values. More... | |
Match * | temporal_frechet_path (const Temporal *temp1, const Temporal *temp2, int *count) |
Return the Frechet distance between two temporal values. More... | |
Temporal * | temporal_from_hexwkb (const char *hexwkb) |
Return a temporal value from its ASCII hex-encoded Extended Well-Known Binary (EWKB) representation. More... | |
Temporal * | temporal_from_wkb (const uint8_t *wkb, size_t 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... | |
double | temporal_hausdorff_distance (const Temporal *temp1, const Temporal *temp2) |
Return the Hausdorf distance between two temporal values. More... | |
Temporal * | temporal_insert (const Temporal *temp1, const Temporal *temp2, bool connect) |
Insert the second temporal value into the first one. More... | |
TInstant * | temporal_instant_n (const Temporal *temp, int n) |
Return a copy of the n-th instant of a temporal value. More... | |
TInstant ** | temporal_instants (const Temporal *temp, int *count) |
Return a copy of the distinct instants of a temporal value. More... | |
const char * | temporal_interp (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_lower_inc (const Temporal *temp) |
Return true if the start instant of a temporal value is inclusive. More... | |
bool | temporal_lt (const Temporal *temp1, const Temporal *temp2) |
Return true if the first temporal value is less than the second one. More... | |
TInstant * | temporal_max_instant (const Temporal *temp) |
Return a copy of the instant with maximum base value of a temporal value. More... | |
Temporal * | temporal_merge (const Temporal *temp1, const Temporal *temp2) |
Merge two temporal values. More... | |
Temporal * | temporal_merge_array (const Temporal **temparr, int count) |
Merge an array of temporal values. More... | |
TInstant * | temporal_min_instant (const Temporal *temp) |
Return a copy of the instant with minimum base value of a temporal value. More... | |
Temporal * | temporal_minus_max (const Temporal *temp) |
Return a temporal value restricted to the complement of its maximum base value. More... | |
Temporal * | temporal_minus_min (const Temporal *temp) |
Return a temporal value restricted to the complement of its minimum base value. More... | |
Temporal * | temporal_minus_timestamptz (const Temporal *temp, TimestampTz t) |
Return a temporal value restricted to the complement of a timestamptz. More... | |
Temporal * | temporal_minus_tstzset (const Temporal *temp, const Set *s) |
Return a temporal value restricted to the complement of a timestamptz set. More... | |
Temporal * | temporal_minus_tstzspan (const Temporal *temp, const Span *s) |
Return a temporal value restricted to the complement of a timestamptz span. More... | |
Temporal * | temporal_minus_tstzspanset (const Temporal *temp, const SpanSet *ss) |
Return a temporal value restricted to the complement of a timestamptz span set. More... | |
Temporal * | temporal_minus_values (const Temporal *temp, const Set *set) |
Return a temporal value restricted to the complement of a set of values. More... | |
bool | temporal_ne (const Temporal *temp1, const Temporal *temp2) |
Return true if two 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... | |
Temporal * | temporal_round (const Temporal *temp, int maxdd) |
Return a temporal value rounded to a given number of decimal places. More... | |
Temporal * | temporal_scale_time (const Temporal *temp, const Interval *duration) |
Return a temporal value scaled by an interval. 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 a copy of the n-th sequence of a temporal sequence (set) More... | |
TSequence ** | temporal_sequences (const Temporal *temp, int *count) |
Return an array of copies of the sequences of a temporal sequence (set) More... | |
Temporal * | temporal_set_interp (const Temporal *temp, interpType interp) |
Return a temporal value transformed to an interpolation. More... | |
Temporal * | temporal_shift_scale_time (const Temporal *temp, const Interval *shift, const Interval *duration) |
Return a temporal value shifted and/or scaled by two intervals. More... | |
Temporal * | temporal_shift_time (const Temporal *temp, const Interval *shift) |
Return a temporal value shifted by an interval. More... | |
Temporal * | temporal_simplify_dp (const Temporal *temp, double eps_dist, bool synchronized) |
Return a temporal float/point simplified using the Douglas-Peucker line simplification algorithm. More... | |
Temporal * | temporal_simplify_max_dist (const Temporal *temp, double eps_dist, bool synchronized) |
Return a temporal float/point simplified using a single-pass Douglas-Peucker line simplification algorithm. More... | |
Temporal * | temporal_simplify_min_dist (const Temporal *temp, double dist) |
Return a temporal float/point sequence simplified ensuring that consecutive values are at least a given distance apart. More... | |
Temporal * | temporal_simplify_min_tdelta (const Temporal *temp, const Interval *mint) |
Return a temporal float/point sequence simplified ensuring that consecutive values are at least a certain time interval apart. More... | |
Span * | temporal_spans (const Temporal *temp, int *count) |
Return an array of spans obtained from the instants or segments of a temporal value, where the choice between instants or segments depends, respectively, on whether the interpolation is discrete or continuous. More... | |
Span * | temporal_split_each_n_spans (const Temporal *temp, int elem_count, int *count) |
Return an array of spans obtained from the instants or segments of a temporal value, where the choice between instants or segments depends, respectively, on whether the interpolation is discrete or continuous. More... | |
Span * | temporal_split_n_spans (const Temporal *temp, int span_count, int *count) |
Return an array of N spans obtained from the instants or segments of a temporal value, where the choice between instants or segments depends, respectively, on whether the interpolation is discrete or continuous. More... | |
TInstant * | temporal_start_instant (const Temporal *temp) |
Return a copy of the start instant of a temporal value. More... | |
TSequence * | temporal_start_sequence (const Temporal *temp) |
Return a copy of the start sequence of a temporal sequence (set) More... | |
TimestampTz | temporal_start_timestamptz (const Temporal *temp) |
Return the start timestamptz of a temporal value. More... | |
TSequenceSet * | temporal_stops (const Temporal *temp, double maxdist, const Interval *minduration) |
Return the subsequences where a temporal value stays within a given distance for at least a given duration. More... | |
const 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) |
Transition function for temporal count aggregation. More... | |
SpanSet * | temporal_time (const Temporal *temp) |
Return the time frame of a temporal value as a span set. More... | |
Span * | temporal_time_bins (const Temporal *temp, const Interval *duration, TimestampTz origin, int *count) |
Return the time bins of a temporal value. More... | |
Temporal ** | temporal_time_split (const Temporal *temp, const Interval *duration, TimestampTz torigin, TimestampTz **time_bins, int *count) |
Return the fragments of a temporal value split according to time bins. More... | |
TimestampTz * | temporal_timestamps (const Temporal *temp, int *count) |
Return the array of distinct timestamps of a temporal value. More... | |
bool | temporal_timestamptz_n (const Temporal *temp, int n, TimestampTz *result) |
Return in last argument the n-th distinct timestamptz of a temporal value. More... | |
TInstant * | temporal_to_tinstant (const Temporal *temp) |
Return a temporal value transformed to a temporal instant. More... | |
TSequence * | temporal_to_tsequence (const Temporal *temp, interpType interp) |
Return a temporal value transformed to a temporal sequence. More... | |
TSequenceSet * | temporal_to_tsequenceset (const Temporal *temp, interpType interp) |
Return a temporal value transformed to a temporal sequence set. More... | |
Span * | temporal_to_tstzspan (const Temporal *temp) |
Return the bounding period of a temporal value. More... | |
Temporal * | temporal_tprecision (const Temporal *temp, const Interval *duration, TimestampTz origin) |
Return a temporal value with the precision set to time bins. More... | |
Temporal * | temporal_tsample (const Temporal *temp, const Interval *duration, TimestampTz origin, interpType interp) |
Return a temporal value sampled according to time bins. More... | |
Temporal * | temporal_update (const Temporal *temp1, const Temporal *temp2, bool connect) |
Update the first temporal value with the second one. More... | |
bool | temporal_upper_inc (const Temporal *temp) |
Return true if the end instant of a temporal value is inclusive. More... | |
Temporal * | teq_bool_tbool (bool b, const Temporal *temp) |
Return the temporal equality of a boolean and a temporal boolean. More... | |
Temporal * | teq_float_tfloat (double d, const Temporal *temp) |
Return the temporal equality of a float and a temporal float. More... | |
Temporal * | teq_int_tint (int i, const Temporal *temp) |
Return the temporal equality of an integer and a temporal integer. 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 two 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_tint_int (const Temporal *temp, int i) |
Return the temporal equality of a temporal integer and an integer. 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 *txt) |
Convert a text into a C string. More... | |
int | text_cmp (const text *txt1, const text *txt2) |
Comparison function for text values. More... | |
text * | text_copy (const text *txt) |
Copy a text value. More... | |
text * | text_initcap (const text *txt) |
Convert the text value to initcap. More... | |
text * | text_lower (const text *txt) |
Return the text value transformed to lowercase. More... | |
char * | text_out (const text *txt) |
Return the string representation of a text value. More... | |
Set * | text_to_set (const text *txt) |
Convert a text into a set. More... | |
Set * | text_union_transfn (Set *state, const text *txt) |
Transition function for set union aggregate of texts. More... | |
text * | text_upper (const text *txt) |
Return the text value transformed to uppercase. More... | |
text * | textcat_text_text (const text *txt1, const text *txt2) |
Return the concatenation of the two text values. More... | |
Set * | textcat_text_textset (const text *txt, const Set *s) |
Return the concatenation of a text and a text set. More... | |
Temporal * | textcat_text_ttext (const text *txt, const Temporal *temp) |
Return the concatenation of a text and a temporal text. More... | |
Set * | textcat_textset_text (const Set *s, const text *txt) |
Return the concatenation of a text set and a text. 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... | |
text * | textset_end_value (const Set *s) |
Return a copy of the end value of a text set. More... | |
Set * | textset_in (const char *str) |
Return a set from its Well-Known Text (WKT) representation. More... | |
Set * | textset_initcap (const Set *s) |
Return a text set transformed to initcap. More... | |
Set * | textset_lower (const Set *s) |
Return a text set transformed to lowercase. More... | |
Set * | textset_make (const text **values, int count) |
Return a text set from an array of values. More... | |
char * | textset_out (const Set *set) |
Return the string representation of a text set. More... | |
text * | textset_start_value (const Set *s) |
Return a copy of the start value of a text set. More... | |
Set * | textset_upper (const Set *s) |
Return a text set transformed to uppercase. More... | |
bool | textset_value_n (const Set *s, int n, text **result) |
Return in the last argument a copy of the n-th value of a text set. More... | |
text ** | textset_values (const Set *s) |
Return the array of copies of the values of a text set. More... | |
Temporal * | tfloat_at_value (const Temporal *temp, double d) |
Return a temporal float restricted to a float. More... | |
Temporal * | tfloat_ceil (const Temporal *temp) |
Return a temporal float rounded up to the nearest temporal integer. More... | |
Temporal * | tfloat_degrees (const Temporal *temp, bool normalize) |
Return a temporal float transformed 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... | |
Temporal * | tfloat_exp (const Temporal *temp) |
Return the exponential of a double. More... | |
Temporal * | tfloat_floor (const Temporal *temp) |
Return a temporal float rounded down to the nearest temporal integer. More... | |
Temporal * | tfloat_from_base_temp (double d, const Temporal *temp) |
Return a temporal float from a float and the time frame of another temporal value. More... | |
Temporal * | tfloat_from_mfjson (const char *str) |
Return a temporal float from its MF-JSON representation. More... | |
Temporal * | tfloat_in (const char *str) |
Return a temporal float from its Well-Known Text (WKT) representation. More... | |
Temporal * | tfloat_ln (const Temporal *temp) |
Return the natural logarithm of a double. More... | |
Temporal * | tfloat_log10 (const Temporal *temp) |
Return the natural logarithm of a double. 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) |
Return a temporal float restricted to the complement of a float. More... | |
char * | tfloat_out (const Temporal *temp, int maxdd) |
Return the Well-Known Text (WKT) representation of a temporal float. More... | |
Temporal * | tfloat_radians (const Temporal *temp) |
Return a temporal float transformed from degrees to radians. More... | |
Temporal * | tfloat_scale_value (const Temporal *temp, double width) |
Return a temporal float whose value dimension is scaled by a value. More... | |
Temporal * | tfloat_shift_scale_value (const Temporal *temp, double shift, double width) |
Return a temporal number whose value dimension is shifted and scaled by two values. More... | |
Temporal * | tfloat_shift_value (const Temporal *temp, double shift) |
Return a temporal integer whose value dimension is shifted by a value @csqlfn Tnumber_shift_value() More... | |
double | tfloat_start_value (const Temporal *temp) |
Return the start value of a temporal float. More... | |
TBox * | tfloat_time_boxes (const Temporal *temp, const Interval *duration, TimestampTz torigin, int *count) |
Return the temporal boxes of a temporal number split with respect to a value and possibly a time grid. More... | |
SkipList * | tfloat_tmax_transfn (SkipList *state, const Temporal *temp) |
Transition function for temporal maximum of temporal values. More... | |
SkipList * | tfloat_tmin_transfn (SkipList *state, const Temporal *temp) |
Transition function for temporal minimum of temporal values. More... | |
Temporal * | tfloat_to_tint (const Temporal *temp) |
Convert a temporal float into a temporal integer. More... | |
SkipList * | tfloat_tsum_transfn (SkipList *state, const Temporal *temp) |
Transition function for temporal sum of temporal values. More... | |
bool | tfloat_value_at_timestamptz (const Temporal *temp, TimestampTz t, bool strict, double *value) |
Return the value of a temporal integer at a timestamptz. More... | |
Span * | tfloat_value_bins (const Temporal *temp, double vsize, double vorigin, int *count) |
Return the bins of a float span. More... | |
TBox * | tfloat_value_boxes (const Temporal *temp, double vsize, double vorigin, int *count) |
Return the temporal boxes of a temporal number split with respect to a value grid. More... | |
bool | tfloat_value_n (const Temporal *temp, int n, double *result) |
Return the n-th value of a temporal float. More... | |
Temporal ** | tfloat_value_split (const Temporal *temp, double size, double origin, double **bins, int *count) |
Return the fragments of a temporal float split according to value bins. More... | |
TBox * | tfloat_value_time_boxes (const Temporal *temp, double vsize, const Interval *duration, double vorigin, TimestampTz torigin, int *count) |
Return the temporal boxes of a temporal number split with respect to a value and possibly a time grid. More... | |
Temporal ** | tfloat_value_time_split (const Temporal *temp, double vsize, const Interval *duration, double vorigin, TimestampTz torigin, double **value_bins, TimestampTz **time_bins, int *count) |
Return the fragments of a temporal integer split according to value and time bins. More... | |
double * | tfloat_values (const Temporal *temp, int *count) |
Return the array of base values of a temporal float. More... | |
SkipList * | tfloat_wmax_transfn (SkipList *state, const Temporal *temp, const Interval *interv) |
Transition function for temporal maximum of temporal values. More... | |
SkipList * | tfloat_wmin_transfn (SkipList *state, const Temporal *temp, const Interval *interv) |
Transition function for temporal minimum of temporal values. More... | |
SkipList * | tfloat_wsum_transfn (SkipList *state, const Temporal *temp, const Interval *interv) |
Transition function for temporal sum of temporal values. More... | |
TBox * | tfloatbox_time_tiles (const TBox *box, const Interval *duration, TimestampTz torigin, int *count) |
Return the time tiles of a temporal float box. More... | |
TBox * | tfloatbox_value_tiles (const TBox *box, double vsize, double vorigin, int *count) |
Return the value tiles of a temporal float box. More... | |
TBox * | tfloatbox_value_time_tiles (const TBox *box, double vsize, const Interval *duration, double vorigin, TimestampTz torigin, int *count) |
Return the tiles of a temporal float box. More... | |
TInstant * | tfloatinst_make (double d, TimestampTz t) |
Return a temporal float instant from a float and a timestamptz. More... | |
TSequence * | tfloatseq_from_base_tstzset (double d, const Set *s) |
Return a temporal float discrete sequence from a float and a timestamptz set. More... | |
TSequence * | tfloatseq_from_base_tstzspan (double d, const Span *s, interpType interp) |
Return a temporal float sequence from a float and a timestamptz span. More... | |
TSequenceSet * | tfloatseqset_from_base_tstzspanset (double d, const SpanSet *ss, interpType interp) |
Return a temporal float sequence set from a float and a timestamptz span 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 to of two 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... | |
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 two 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... | |
DateADT | timestamp_to_date (Timestamp t) |
Convert a timestamp into a date. More... | |
Span * | timestamptz_extent_transfn (Span *state, TimestampTz t) |
Transition function for span extent aggregate of timestamptz. More... | |
TimestampTz | timestamptz_get_bin (TimestampTz t, const Interval *duration, TimestampTz torigin) |
Return the initial timestamp of the bin that contains a timestamptz. More... | |
TimestampTz | timestamptz_shift (TimestampTz t, const Interval *interv) |
Return a timestamptz shifted by an interval. More... | |
SkipList * | timestamptz_tcount_transfn (SkipList *state, TimestampTz t) |
Transition function for temporal count aggregate of timestamps. More... | |
DateADT | timestamptz_to_date (TimestampTz t) |
Convert a timestamp with time zone into a date. More... | |
Set * | timestamptz_to_set (TimestampTz t) |
Convert a timestamptz into a set. More... | |
Span * | timestamptz_to_span (TimestampTz t) |
Convert a timestamptz into a span. More... | |
SpanSet * | timestamptz_to_spanset (TimestampTz t) |
Convert a timestamptz into a span set. More... | |
TBox * | timestamptz_to_tbox (TimestampTz t) |
Convert a timestamptz into a temporal box. More... | |
TimestampTz | timestamptz_tprecision (TimestampTz t, const Interval *duration, TimestampTz torigin) |
Return a timestamptz with the precision set to a time bin. More... | |
Set * | timestamptz_union_transfn (Set *state, TimestampTz t) |
Transition function for set union aggregate of timestamptz. More... | |
Temporal * | tint_at_value (const Temporal *temp, int i) |
Return a temporal integer restricted to an integer. More... | |
int | tint_end_value (const Temporal *temp) |
Return the end value of a temporal integer. More... | |
Temporal * | tint_from_base_temp (int i, const Temporal *temp) |
Return a temporal integer from an integer and the time frame of another temporal value. More... | |
Temporal * | tint_from_mfjson (const char *str) |
Return a temporal integer from its MF-JSON representation. 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) |
Return a temporal integer restricted to the complement of an integer. More... | |
char * | tint_out (const Temporal *temp) |
Return the Well-Known Text (WKT) representation of a temporal integer. More... | |
Temporal * | tint_scale_value (const Temporal *temp, int width) |
Return a temporal integer whose value dimension is scaled by a value. More... | |
Temporal * | tint_shift_scale_value (const Temporal *temp, int shift, int width) |
Return a temporal integer whose value dimension is shifted and scaled by two values. More... | |
Temporal * | tint_shift_value (const Temporal *temp, int shift) |
Return a temporal integer whose value dimension is shifted by a value @csqlfn Tnumber_shift_value() More... | |
int | tint_start_value (const Temporal *temp) |
Return the start value of a temporal integer. More... | |
TBox * | tint_time_boxes (const Temporal *temp, const Interval *duration, TimestampTz torigin, int *count) |
Return the temporal boxes of a temporal number split with respect to a time grid. More... | |
SkipList * | tint_tmax_transfn (SkipList *state, const Temporal *temp) |
Transition function for temporal maximum of temporal values. More... | |
SkipList * | tint_tmin_transfn (SkipList *state, const Temporal *temp) |
Transition function for temporal minimum of temporal values. More... | |
Temporal * | tint_to_tfloat (const Temporal *temp) |
Convert a temporal integer into a temporal float. More... | |
SkipList * | tint_tsum_transfn (SkipList *state, const Temporal *temp) |
Transition function for temporal sum of temporal values. More... | |
bool | tint_value_at_timestamptz (const Temporal *temp, TimestampTz t, bool strict, int *value) |
Return the value of a temporal integer at a timestamptz. More... | |
Span * | tint_value_bins (const Temporal *temp, int vsize, int vorigin, int *count) |
Return the bins of an integer span. More... | |
TBox * | tint_value_boxes (const Temporal *temp, int vsize, int vorigin, int *count) |
Return the temporal boxes of a temporal number split with respect to a value grid. More... | |
bool | tint_value_n (const Temporal *temp, int n, int *result) |
Return the n-th value of a temporal integer. More... | |
Temporal ** | tint_value_split (const Temporal *temp, int vsize, int vorigin, int **value_bins, int *count) |
Return the fragments of a temporal integer split according to value bins. More... | |
TBox * | tint_value_time_boxes (const Temporal *temp, int vsize, const Interval *duration, int vorigin, TimestampTz torigin, int *count) |
Return the temporal boxes of a temporal number split with respect to a value and possibly a time grid. More... | |
Temporal ** | tint_value_time_split (const Temporal *temp, int size, const Interval *duration, int vorigin, TimestampTz torigin, int **value_bins, TimestampTz **time_bins, int *count) |
Return the fragments of a temporal integer split according to value and time bins. More... | |
int * | tint_values (const Temporal *temp, int *count) |
Return the array of base values of a temporal integer. More... | |
SkipList * | tint_wmax_transfn (SkipList *state, const Temporal *temp, const Interval *interv) |
Transition function for temporal maximum of temporal values. More... | |
SkipList * | tint_wmin_transfn (SkipList *state, const Temporal *temp, const Interval *interv) |
Transition function for temporal minimum of temporal values. More... | |
SkipList * | tint_wsum_transfn (SkipList *state, const Temporal *temp, const Interval *interv) |
Transition function for temporal sum of temporal values. More... | |
TBox * | tintbox_time_tiles (const TBox *box, const Interval *duration, TimestampTz torigin, int *count) |
Return the time tiles of a temporal float box. More... | |
TBox * | tintbox_value_tiles (const TBox *box, int xsize, int xorigin, int *count) |
Return the value tiles of a temporal integer box. More... | |
TBox * | tintbox_value_time_tiles (const TBox *box, int xsize, const Interval *duration, int xorigin, TimestampTz torigin, int *count) |
Return the tiles of a temporal integer box. More... | |
TInstant * | tintinst_make (int i, TimestampTz t) |
Return a temporal integer instant from an integer and a timestamptz. More... | |
TSequence * | tintseq_from_base_tstzset (int i, const Set *s) |
Return a temporal integer discrete sequence from an integer and a timestamptz set. More... | |
TSequence * | tintseq_from_base_tstzspan (int i, const Span *s) |
Return a temporal integer sequence from an integer and a timestamptz span. More... | |
TSequenceSet * | tintseqset_from_base_tstzspanset (int i, const SpanSet *ss) |
Return a temporal integer sequence set from an integer and a timestamptz span 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 two 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 two 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_int_tint (int i, const Temporal *temp) |
Return the temporal inequality of an integer and a temporal integer. 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 two 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_tint_int (const Temporal *temp, int i) |
Return the temporal inequality of a temporal integer and an integer. 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) |
Return the absolute value of a temporal number. More... | |
Temporal * | tnumber_angular_difference (const Temporal *temp) |
Return the angular difference of a temporal number. More... | |
Temporal * | tnumber_at_span (const Temporal *temp, const Span *span) |
Return a temporal value restricted to a span of base values. More... | |
Temporal * | tnumber_at_spanset (const Temporal *temp, const SpanSet *ss) |
Return a temporal value restricted to an array of spans of base values. More... | |
Temporal * | tnumber_at_tbox (const Temporal *temp, const TBox *box) |
Return a temporal number restricted to a temporal box. More... | |
Temporal * | tnumber_delta_value (const Temporal *temp) |
Return the delta value of a temporal number. 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) |
Return a temporal value restricted to the complement of a span of base values. More... | |
Temporal * | tnumber_minus_spanset (const Temporal *temp, const SpanSet *ss) |
Return a temporal value restricted to the complement of an array of spans of base values. More... | |
Temporal * | tnumber_minus_tbox (const Temporal *temp, const TBox *box) |
Return a temporal number restricted to the complement of a temporal box. More... | |
TBox * | tnumber_split_each_n_tboxes (const Temporal *temp, int elem_count, int *count) |
Return an array of temporal boxes obtained from the instants or segments of a temporal number, where the choice between instants or segments depends, respectively, on whether the interpolation is discrete or continuous. More... | |
TBox * | tnumber_split_n_tboxes (const Temporal *temp, int box_count, int *count) |
Return an array of N temporal boxes obtained from the instants or segments of a temporal number, where the choice between instants or segments depends, respectively, on whether the interpolation is discrete or continuous. 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... | |
TBox * | tnumber_tboxes (const Temporal *temp, int *count) |
Return an array of temporal boxes obtained from the instants or segments of a temporal number, where the choice between instants or segments depends on whether the interpolation is discrete or continuous. More... | |
Span * | tnumber_to_span (const Temporal *temp) |
Return the value span of a temporal number. More... | |
TBox * | tnumber_to_tbox (const Temporal *temp) |
Convert a temporal number into a temporal box. More... | |
double | tnumber_twavg (const Temporal *temp) |
Return the time-weighted average of a temporal number. More... | |
SpanSet * | tnumber_valuespans (const Temporal *temp) |
Return the base values of a temporal number as a span set. More... | |
SkipList * | tnumber_wavg_transfn (SkipList *state, const Temporal *temp, const Interval *interv) |
Transition function for temporal average of temporal numbers. 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... | |
TSequence * | tsequence_make (const TInstant **instants, int count, bool lower_inc, bool upper_inc, interpType interp, bool normalize) |
Return a temporal sequence from an array of temporal instants. More... | |
TSequenceSet * | tsequenceset_make (const TSequence **sequences, int count, bool normalize) |
Return a temporal sequence set from an array of temporal sequences. More... | |
TSequenceSet * | tsequenceset_make_gaps (const TInstant **instants, int count, interpType interp, const Interval *maxt, double maxdist) |
Return 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 a distance or a time interval. More... | |
TimestampTz | tstzset_end_value (const Set *s) |
Return the end value of a timestamptz set. More... | |
Set * | tstzset_in (const char *str) |
Return a set from its Well-Known Text (WKT) representation. More... | |
Set * | tstzset_make (const TimestampTz *values, int count) |
Return a timestamptz set from an array of values. More... | |
char * | tstzset_out (const Set *set) |
Return the string representation of a timestamptz set. More... | |
Set * | tstzset_shift_scale (const Set *s, const Interval *shift, const Interval *duration) |
Return a timestamptz set shifted and/or scaled by two intervals. More... | |
TimestampTz | tstzset_start_value (const Set *s) |
Return the start value of a timestamptz set. More... | |
SkipList * | tstzset_tcount_transfn (SkipList *state, const Set *s) |
Transition function for temporal count aggregate of timestamp sets. More... | |
Set * | tstzset_to_dateset (const Set *s) |
Convert a timestamptz set into a date set. More... | |
Set * | tstzset_tprecision (const Set *s, const Interval *duration, TimestampTz torigin) |
Return a timestamptz set with the precision set to a time bin. More... | |
bool | tstzset_value_n (const Set *s, int n, TimestampTz *result) |
Return in the last argument the n-th value of a timestamptz set. More... | |
TimestampTz * | tstzset_values (const Set *s) |
Return the array of values of a timestamptz set. More... | |
Span * | tstzspan_bins (const Span *s, const Interval *duration, TimestampTz origin, int *count) |
Return the bins of a timestamptz span. More... | |
Interval * | tstzspan_duration (const Span *s) |
Return the duration of a timestamptz span as an interval. More... | |
Span * | tstzspan_expand (const Span *s, const Interval *interv) |
Return a timestamptz span with its bounds expanded/decreased by an interval. More... | |
Span * | tstzspan_in (const char *str) |
Return a timestamptz span from its Well-Known Text (WKT) representation. More... | |
TimestampTz | tstzspan_lower (const Span *s) |
Return the lower bound of a timestamptz span. More... | |
Span * | tstzspan_make (TimestampTz lower, TimestampTz upper, bool lower_inc, bool upper_inc) |
Return a timestamptz span from the bounds. More... | |
char * | tstzspan_out (const Span *s) |
Return the Well-Known Text (WKT) representation of a timestamtz span. More... | |
Span * | tstzspan_shift_scale (const Span *s, const Interval *shift, const Interval *duration) |
Return a timestamptz span shifted and/or scaled by two intervals. More... | |
SkipList * | tstzspan_tcount_transfn (SkipList *state, const Span *s) |
Transition function for temporal count aggregate of timestamptz spans. More... | |
Span * | tstzspan_to_datespan (const Span *s) |
Convert a timestamptz span into a date span. More... | |
Span * | tstzspan_tprecision (const Span *s, const Interval *duration, TimestampTz torigin) |
Return a timestamptz span with the precision set to a time bin. More... | |
TimestampTz | tstzspan_upper (const Span *s) |
Return the upper bound of a timestamptz span. More... | |
Span * | tstzspanset_bins (const SpanSet *ss, const Interval *duration, TimestampTz torigin, int *count) |
Return the bins of a timestamptz span set. More... | |
Interval * | tstzspanset_duration (const SpanSet *ss, bool boundspan) |
Return the duration of a timestamptz span set. More... | |
TimestampTz | tstzspanset_end_timestamptz (const SpanSet *ss) |
Return the end timestamptz of a span set. More... | |
SpanSet * | tstzspanset_in (const char *str) |
Return a timestamptz set from its Well-Known Text (WKT) representation. More... | |
TimestampTz | tstzspanset_lower (const SpanSet *ss) |
Return the lower bound of a timestamptz span set. More... | |
int | tstzspanset_num_timestamps (const SpanSet *ss) |
Return the number of timestamps of a span set. More... | |
char * | tstzspanset_out (const SpanSet *ss) |
Return the Well-Known Text (WKT) representation of a timpespantz span set. More... | |
SpanSet * | tstzspanset_shift_scale (const SpanSet *ss, const Interval *shift, const Interval *duration) |
Return a timestamptz span set shifted and/or scaled by two intervals. More... | |
TimestampTz | tstzspanset_start_timestamptz (const SpanSet *ss) |
Return the start timestamptz of a span set. More... | |
SkipList * | tstzspanset_tcount_transfn (SkipList *state, const SpanSet *ss) |
Transition function for temporal count aggregate of timestamptz span sets. More... | |
Set * | tstzspanset_timestamps (const SpanSet *ss) |
Return the set of timestamps of a span set. More... | |
bool | tstzspanset_timestamptz_n (const SpanSet *ss, int n, TimestampTz *result) |
Return in the last argument the n-th timestamptz of a span set. More... | |
SpanSet * | tstzspanset_to_datespanset (const SpanSet *ss) |
Convert a timestamptz span set into a date span set. More... | |
SpanSet * | tstzspanset_tprecision (const SpanSet *ss, const Interval *duration, TimestampTz torigin) |
Return a timestamptz span set with the precision set to a time bin. More... | |
TimestampTz | tstzspanset_upper (const SpanSet *ss) |
Return the upper bound of a timestamptz span set. More... | |
Temporal * | ttext_at_value (const Temporal *temp, text *txt) |
Return a temporal text restricted to a text. More... | |
text * | ttext_end_value (const Temporal *temp) |
Return a copy of the end value of a temporal text. More... | |
Temporal * | ttext_from_base_temp (const text *txt, const Temporal *temp) |
Return a temporal text from a text and the time frame of another temporal value. More... | |
Temporal * | ttext_from_mfjson (const char *str) |
Return a temporal text from its MF-JSON representation. More... | |
Temporal * | ttext_in (const char *str) |
Return a temporal text from its Well-Known Text (WKT) representation. More... | |
Temporal * | ttext_initcap (const Temporal *temp) |
Return a temporal text transformed to initcap. More... | |
Temporal * | ttext_lower (const Temporal *temp) |
Return a temporal text transformed to lowercase. More... | |
text * | ttext_max_value (const Temporal *temp) |
Return a copy of the maximum value of a temporal text. More... | |
text * | ttext_min_value (const Temporal *temp) |
Return a copy of the minimum value of a temporal text. More... | |
Temporal * | ttext_minus_value (const Temporal *temp, text *txt) |
Return a temporal text restricted to the complement of a text. More... | |
char * | ttext_out (const Temporal *temp) |
Return the Well-Known Text (WKT) representation of a temporal text. More... | |
text * | ttext_start_value (const Temporal *temp) |
Return a copy of the start value of a temporal text. More... | |
SkipList * | ttext_tmax_transfn (SkipList *state, const Temporal *temp) |
Transition function for temporal maximum of temporal text values. More... | |
SkipList * | ttext_tmin_transfn (SkipList *state, const Temporal *temp) |
Transition function for temporal minimum of temporal text values. More... | |
Temporal * | ttext_upper (const Temporal *temp) |
Return a temporal text transformed to uppercase. More... | |
bool | ttext_value_at_timestamptz (const Temporal *temp, TimestampTz t, bool strict, text **value) |
Return the value of a temporal integer at a timestamptz. More... | |
bool | ttext_value_n (const Temporal *temp, int n, text **result) |
Return a copy of the n-th value of a temporal text. More... | |
text ** | ttext_values (const Temporal *temp, int *count) |
Return the array of copies of base values of a temporal text. More... | |
TInstant * | ttextinst_make (const text *txt, TimestampTz t) |
Return a temporal text instant from a text and a timestamptz. More... | |
TSequence * | ttextseq_from_base_tstzset (const text *txt, const Set *s) |
Return a temporal text discrete sequence from a text and a timestamptz set. More... | |
TSequence * | ttextseq_from_base_tstzspan (const text *txt, const Span *s) |
Return a temporal text sequence from a text and a timestamptz span. More... | |
TSequenceSet * | ttextseqset_from_base_tstzspanset (const text *txt, const SpanSet *ss) |
Return a temporal text sequence set from a text and a timestamptz span set. More... | |
Set * | union_bigint_set (int64 i, const Set *s) |
Return the union of a big integer and a set. More... | |
SpanSet * | union_bigint_span (const Span *s, int64 i) |
Return the union of a big integer and a span. More... | |
SpanSet * | union_bigint_spanset (int64 i, SpanSet *ss) |
Return the union of a span set and a big integer. More... | |
Set * | union_date_set (DateADT d, const Set *s) |
Return the union of a date and a set. More... | |
SpanSet * | union_date_span (const Span *s, DateADT d) |
Return the union of a date and a span. More... | |
SpanSet * | union_date_spanset (DateADT d, SpanSet *ss) |
Return the union of a span set and a date. More... | |
Set * | union_float_set (double d, const Set *s) |
Return the union of a float and a set. More... | |
SpanSet * | union_float_span (const Span *s, double d) |
Return the union of a float and a span. More... | |
SpanSet * | union_float_spanset (double d, SpanSet *ss) |
Return the union of a span set and a float. More... | |
Set * | union_int_set (int i, const Set *s) |
Return the union of an integer and a set. More... | |
SpanSet * | union_int_span (int i, const Span *s) |
Return the union of an integer and a span. More... | |
SpanSet * | union_int_spanset (int i, SpanSet *ss) |
Return the union of a span set and an integer. More... | |
Set * | union_set_bigint (const Set *s, int64 i) |
Return the union of a set and a big integer. More... | |
Set * | union_set_date (const Set *s, DateADT d) |
Return the union of a set and a date. More... | |
Set * | union_set_float (const Set *s, double d) |
Return the union of a set and a float. More... | |
Set * | union_set_int (const Set *s, int i) |
Return the union of a set and an integer. More... | |
Set * | union_set_set (const Set *s1, const Set *s2) |
Return the union of two sets. More... | |
Set * | union_set_text (const Set *s, const text *txt) |
Return the union of a set and a text. More... | |
Set * | union_set_timestamptz (const Set *s, TimestampTz t) |
Return the union of a set and a timestamptz. More... | |
SpanSet * | union_span_bigint (const Span *s, int64 i) |
Return the union of a span and a big integer. More... | |
SpanSet * | union_span_date (const Span *s, DateADT d) |
Return the union of a span and a date. More... | |
SpanSet * | union_span_float (const Span *s, double d) |
Return the union of a span and a float. More... | |
SpanSet * | union_span_int (const Span *s, int i) |
Return the union of a span and an integer. More... | |
SpanSet * | union_span_span (const Span *s1, const Span *s2) |
Return the union of two spans. More... | |
SpanSet * | union_span_spanset (const Span *s, const SpanSet *ss) |
Return the union of a span and a span set. More... | |
SpanSet * | union_span_timestamptz (const Span *s, TimestampTz t) |
Return the union of a span and a timestamptz. More... | |
SpanSet * | union_spanset_bigint (const SpanSet *ss, int64 i) |
Return the union of a span set and a big integer. More... | |
SpanSet * | union_spanset_date (const SpanSet *ss, DateADT d) |
Return the union of a span set and a date. More... | |
SpanSet * | union_spanset_float (const SpanSet *ss, double d) |
Return the union of a span set and a float. More... | |
SpanSet * | union_spanset_int (const SpanSet *ss, int i) |
Return the union of a span set and an integer. More... | |
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... | |
SpanSet * | union_spanset_timestamptz (const SpanSet *ss, TimestampTz t) |
Return the union of a span set and a timestamptz. More... | |
TBox * | union_tbox_tbox (const TBox *box1, const TBox *box2, bool strict) |
Return the union of two temporal boxes. More... | |
Set * | union_text_set (const text *txt, const Set *s) |
Return the union of a text and a set. More... | |
Set * | union_timestamptz_set (TimestampTz t, const Set *s) |
Return the union of a timestamptz and a set. More... | |
SpanSet * | union_timestamptz_span (TimestampTz t, const Span *s) |
Return the union of a timestamptz and a span. More... | |
SpanSet * | union_timestamptz_spanset (TimestampTz t, SpanSet *ss) |
Return the union of a span set and a timestamptz. More... | |
External API of the Mobility Engine Open Source (MEOS) library.