MobilityDB 1.1
|
Go to the source code of this file.
Functions | |
Datum | basetype_in (const char *str, meosType type, bool end) |
Call input function of the base type. More... | |
char * | basetype_out (Datum value, meosType type, int maxdd) |
Call output function of the base type. More... | |
bytea * | bstring2bytea (const uint8_t *wkb, size_t size) |
Convert a C binary string into a bytea. More... | |
Datum | datum2_eq2 (Datum l, Datum r, meosType typel, meosType typer) |
Return a Datum true if the values are equal. More... | |
Datum | datum2_ge2 (Datum l, Datum r, meosType typel, meosType typer) |
Return a Datum true if the first value is greater than or equal to the second one. More... | |
Datum | datum2_gt2 (Datum l, Datum r, meosType typel, meosType typer) |
Return a Datum true if the first value is greater than the second one. More... | |
Datum | datum2_le2 (Datum l, Datum r, meosType typel, meosType typer) |
Return a Datum true if the first value is less than or equal to the second one. More... | |
Datum | datum2_lt2 (Datum l, Datum r, meosType typel, meosType typer) |
Return a Datum true if the first value is less than the second one. More... | |
Datum | datum2_ne2 (Datum l, Datum r, meosType typel, meosType typer) |
Return a Datum true if the values are different. More... | |
Datum | datum_add (Datum l, Datum r, meosType typel, meosType typer) |
Return the addition of the two numbers. More... | |
int | datum_cmp (Datum l, Datum r, meosType type) |
Return true if the first value is less than the second one. More... | |
int | datum_cmp2 (Datum l, Datum r, meosType typel, meosType typer) |
Return true if the first value is less than the second one. More... | |
Datum | datum_copy (Datum value, meosType typid) |
Copy a Datum if it is passed by reference. More... | |
Datum | datum_div (Datum l, Datum r, meosType typel, meosType typer) |
Return the division of the two numbers. More... | |
double | datum_double (Datum d, meosType basetype) |
Convert a number to a double. More... | |
bool | datum_eq (Datum l, Datum r, meosType type) |
Return true if the values are equal. More... | |
bool | datum_eq2 (Datum l, Datum r, meosType typel, meosType typer) |
Return true if the values are equal even if their type is not the same. More... | |
bool | datum_ge (Datum l, Datum r, meosType type) |
Return true if the first value is greater than or equal to the second one. More... | |
bool | datum_ge2 (Datum l, Datum r, meosType typel, meosType typer) |
Return true if the first value is greater than or equal to the second one. More... | |
bool | datum_gt (Datum l, Datum r, meosType type) |
Return true if the first value is greater than the second one. More... | |
bool | datum_gt2 (Datum l, Datum r, meosType typel, meosType typer) |
Return true if the first value is greater than the second one. More... | |
bool | datum_le (Datum l, Datum r, meosType type) |
Return true if the first value is less than or equal to the second one. More... | |
bool | datum_le2 (Datum l, Datum r, meosType typel, meosType typer) |
Return true if the first value is less than or equal to the second one. More... | |
bool | datum_lt (Datum l, Datum r, meosType type) |
Return true if the first value is less than the second one. More... | |
bool | datum_lt2 (Datum l, Datum r, meosType typel, meosType typer) |
Return true if the first value is less than the second one. More... | |
Datum | datum_mult (Datum l, Datum r, meosType typel, meosType typer) |
Return the multiplication of the two numbers. More... | |
bool | datum_ne (Datum l, Datum r, meosType type) |
Return true if the values are different. More... | |
bool | datum_ne2 (Datum l, Datum r, meosType typel, meosType typer) |
Return true if the values are different. More... | |
Datum | datum_sub (Datum l, Datum r, meosType typel, meosType typer) |
Return the subtraction of the two numbers. More... | |
int | datumarr_remove_duplicates (Datum *values, int count, meosType basetype) |
Remove duplicates from an array of datums. More... | |
void | datumarr_sort (Datum *values, int count, meosType basetype) |
Sort function for datums. More... | |
void | double2arr_sort (double2 *doubles, int count) |
void | double3arr_sort (double3 *triples, int count) |
Datum | double_datum (double d, meosType basetype) |
Convert a double to a datum. More... | |
size_t | double_pad (size_t size) |
Miscellaneous utility functions for temporal types. More... | |
double | hypot3d (double x, double y, double z) |
Determine the 3D hypotenuse. More... | |
void | pfree_array (void **array, int count) |
Free a C array of pointers. More... | |
void | pfree_datumarr (Datum *array, int count) |
Free a C array of Datum pointers. More... | |
void | spanarr_sort (Span **spans, int count) |
Sort function for spans. More... | |
char * | stringarr_to_string (char **strings, int count, int outlen, char *prefix, char open, char close, bool quotes, bool spaces) |
Return the string resulting from assembling the array of strings. More... | |
int | text_cmp (text *arg1, text *arg2, Oid collid) |
Comparison function for text values. More... | |
int | timestamparr_remove_duplicates (TimestampTz *values, int count) |
Remove duplicates from an array of timestamps. More... | |
void | timestamparr_sort (TimestampTz *times, int count) |
Sort function for timestamps. More... | |
int | tinstarr_remove_duplicates (const TInstant **instants, int count) |
Remove duplicates from an array of temporal instants. More... | |
void | tinstarr_sort (TInstant **instants, int count) |
Sort function for temporal instants. More... | |
void | tseqarr_sort (TSequence **sequences, int count) |
Sort function for temporal sequences. More... | |